]> git.proxmox.com Git - mirror_frr.git/blob - Makefile.am
Merge pull request #2357 from opensourcerouting/pbrd-ubuntu-fix
[mirror_frr.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in.
2
3 AUTOMAKE_OPTIONS = subdir-objects 1.12
4 include common.am
5
6 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include -I$(top_srcdir)/lib \
7 -I$(top_builddir) -I$(top_builddir)/include -I$(top_builddir)/lib
8 AM_CFLAGS = $(WERROR)
9 VERSION_TYPE := $(shell if echo $(VERSION) | grep -q '^[0-9\.]*$$'; then echo RELEASE ; else echo DEV ; fi)
10 DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" -DCONFDATE=$(CONFDATE) -DVERSION_TYPE_$(VERSION_TYPE)
11 LIBCAP = @LIBCAP@
12
13 EXTRA_DIST =
14 BUILT_SOURCES =
15 CLEANFILES =
16
17 examplesdir = $(exampledir)
18
19 bin_PROGRAMS =
20 sbin_PROGRAMS =
21 sbin_SCRIPTS =
22 noinst_PROGRAMS =
23 noinst_HEADERS =
24 noinst_LIBRARIES =
25 lib_LTLIBRARIES =
26 module_LTLIBRARIES =
27 pkginclude_HEADERS =
28 nodist_pkginclude_HEADERS =
29 dist_examples_DATA =
30
31 ## libtool, the self-made GNU scourge
32 ## ... this should fix relinking
33 ## ... and AUTOMAKE_DUMMY is needed to prevent automake from treating this
34 ## as overriding the normal targets...
35 $(AUTOMAKE_DUMMY)install-moduleLTLIBRARIES: install-libLTLIBRARIES
36 $(AUTOMAKE_DUMMY)install-binPROGRAMS: install-libLTLIBRARIES
37 $(AUTOMAKE_DUMMY)install-sbinPROGRAMS: install-libLTLIBRARIES
38
39 include include/subdir.am
40 include lib/subdir.am
41 include zebra/subdir.am
42 include watchfrr/subdir.am
43 include qpb/subdir.am
44 include fpm/subdir.am
45 include tools/subdir.am
46
47 include ripd/subdir.am
48 include ripngd/subdir.am
49 include ospfd/subdir.am
50 include ospf6d/subdir.am
51 include ospfclient/subdir.am
52 include isisd/subdir.am
53 include nhrpd/subdir.am
54 include ldpd/subdir.am
55 include babeld/subdir.am
56 include eigrpd/subdir.am
57 include sharpd/subdir.am
58 include pimd/subdir.am
59 include pbrd/subdir.am
60
61 SUBDIRS = . @LIBRFP@ @RFPTEST@ \
62 @BGPD@ \
63 @VTYSH@ @DOC@ \
64 @SOLARIS@ tests
65
66 DIST_SUBDIRS = . bgpd \
67 vtysh doc tests \
68 solaris bgpd/rfp-example/librfp \
69 bgpd/rfp-example/rfptest \
70 debianpkg \
71 # end
72
73 if PKGSRC
74 rcdir=@pkgsrcrcdir@
75 rc_SCRIPTS = \
76 pkgsrc/bgpd.sh \
77 pkgsrc/ospf6d.sh \
78 pkgsrc/ospfd.sh \
79 pkgsrc/ripd.sh \
80 pkgsrc/ripngd.sh \
81 pkgsrc/zebra.sh \
82 # end
83 endif
84
85 EXTRA_DIST += \
86 REPORTING-BUGS \
87 SERVICES \
88 aclocal.m4 \
89 update-autotools \
90 m4/README.txt \
91 \
92 python/clidef.py \
93 python/clippy/__init__.py \
94 \
95 redhat/frr.init \
96 redhat/frr.service \
97 redhat/daemons \
98 redhat/frr.logrotate \
99 redhat/frr.pam \
100 redhat/frr.spec \
101 redhat/README.rpm_build.md \
102 \
103 snapcraft/snapcraft.yaml \
104 snapcraft/README.snap_build.md \
105 snapcraft/README.usage.md \
106 snapcraft/extra_version_info.txt \
107 snapcraft/scripts \
108 snapcraft/defaults \
109 snapcraft/helpers \
110 snapcraft/snap \
111 \
112 vtysh/Makefile.am \
113 vtysh/Makefile.in \
114 # end
115
116 ACLOCAL_AMFLAGS = -I m4
117
118 noinst_HEADERS += defaults.h
119
120 indent:
121 tools/indent.py `find sharpd bgpd eigrpd include isisd lib nhrpd ospf6d ospfd pimd qpb ripd vtysh zebra -name '*.[ch]' | grep -v include/linux`