]> git.proxmox.com Git - mirror_frr.git/blame - Makefile.am
zebra: refactor zserv names, consolidate events
[mirror_frr.git] / Makefile.am
CommitLineData
718e3744 1## Process this file with automake to produce Makefile.in.
2
4a121f99
DL
3AUTOMAKE_OPTIONS = subdir-objects 1.12
4include common.am
5
ba777396
RW
6AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include -I$(top_srcdir)/lib \
7 -I$(top_builddir) -I$(top_builddir)/include -I$(top_builddir)/lib
4a121f99 8AM_CFLAGS = $(WERROR)
5483f100 9VERSION_TYPE := $(shell if echo $(VERSION) | grep -q '^[0-9\.]*$$'; then echo RELEASE ; else echo DEV ; fi)
1780ad33 10DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" -DCONFDATE=$(CONFDATE) -DVERSION_TYPE_$(VERSION_TYPE)
64d44794 11LIBCAP = @LIBCAP@
4a121f99
DL
12
13EXTRA_DIST =
14BUILT_SOURCES =
0f8b5fd5 15CLEANFILES =
4a121f99 16
64d44794
DL
17examplesdir = $(exampledir)
18
4a121f99
DL
19bin_PROGRAMS =
20sbin_PROGRAMS =
bd354725 21sbin_SCRIPTS =
4a121f99
DL
22noinst_PROGRAMS =
23noinst_HEADERS =
24noinst_LIBRARIES =
25lib_LTLIBRARIES =
64d44794 26module_LTLIBRARIES =
4a121f99 27pkginclude_HEADERS =
70d27c5b 28nodist_pkginclude_HEADERS =
64d44794 29dist_examples_DATA =
4a121f99 30
6a35bfba
DL
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
ba777396 39include include/subdir.am
4a121f99 40include lib/subdir.am
64d44794 41include zebra/subdir.am
bd354725 42include watchfrr/subdir.am
0f8b5fd5
DL
43include qpb/subdir.am
44include fpm/subdir.am
bd354725 45include tools/subdir.am
4a121f99 46
7f269117
DL
47include ripd/subdir.am
48include ripngd/subdir.am
afca0690
DL
49include ospfd/subdir.am
50include ospf6d/subdir.am
51include ospfclient/subdir.am
86e463cf 52include isisd/subdir.am
cde8cd9d 53include nhrpd/subdir.am
30237d29 54include ldpd/subdir.am
b6f5781c
DL
55include babeld/subdir.am
56include eigrpd/subdir.am
8a71d93d 57include sharpd/subdir.am
35a3c3c1 58include pimd/subdir.am
e5c83d9b 59include pbrd/subdir.am
7f269117 60
0f8b5fd5 61SUBDIRS = . @LIBRFP@ @RFPTEST@ \
30237d29 62 @BGPD@ \
bd354725
DL
63 @VTYSH@ @DOC@ \
64 @SOLARIS@ tests
0537f4e7 65
30237d29 66DIST_SUBDIRS = . bgpd \
bd354725 67 vtysh doc tests \
35a3c3c1 68 solaris bgpd/rfp-example/librfp \
bd354725 69 bgpd/rfp-example/rfptest \
4d867099 70 debianpkg \
5578a14d 71 # end
718e3744 72
53d93be1
DL
73if PKGSRC
74rcdir=@pkgsrcrcdir@
75rc_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
83endif
84
85EXTRA_DIST += \
53d93be1 86 aclocal.m4 \
53d93be1
DL
87 m4/README.txt \
88 \
89 python/clidef.py \
90 python/clippy/__init__.py \
91 \
92 redhat/frr.init \
93 redhat/frr.service \
94 redhat/daemons \
95 redhat/frr.logrotate \
96 redhat/frr.pam \
97 redhat/frr.spec \
98 redhat/README.rpm_build.md \
99 \
100 snapcraft/snapcraft.yaml \
101 snapcraft/README.snap_build.md \
102 snapcraft/README.usage.md \
103 snapcraft/extra_version_info.txt \
104 snapcraft/scripts \
105 snapcraft/defaults \
106 snapcraft/helpers \
107 snapcraft/snap \
108 \
53d93be1
DL
109 vtysh/Makefile.am \
110 vtysh/Makefile.in \
111 # end
0fc42949 112
72e2d828 113ACLOCAL_AMFLAGS = -I m4
8efe88ea 114
4a121f99 115noinst_HEADERS += defaults.h
da5a0d00
LB
116
117indent:
118 tools/indent.py `find sharpd bgpd eigrpd include isisd lib nhrpd ospf6d ospfd pimd qpb ripd vtysh zebra -name '*.[ch]' | grep -v include/linux`