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