]>
Commit | Line | Data |
---|---|---|
718e3744 | 1 | ## Process this file with automake to produce Makefile.in. |
2 | ||
4a121f99 DL |
3 | AUTOMAKE_OPTIONS = subdir-objects 1.12 |
4 | include common.am | |
5 | ||
ba777396 RW |
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 | |
4a121f99 | 8 | AM_CFLAGS = $(WERROR) |
5483f100 | 9 | VERSION_TYPE := $(shell if echo $(VERSION) | grep -q '^[0-9\.]*$$'; then echo RELEASE ; else echo DEV ; fi) |
1780ad33 | 10 | DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" -DCONFDATE=$(CONFDATE) -DVERSION_TYPE_$(VERSION_TYPE) |
64d44794 | 11 | LIBCAP = @LIBCAP@ |
4a121f99 DL |
12 | |
13 | EXTRA_DIST = | |
14 | BUILT_SOURCES = | |
0f8b5fd5 | 15 | CLEANFILES = |
4a121f99 | 16 | |
64d44794 DL |
17 | examplesdir = $(exampledir) |
18 | ||
4a121f99 DL |
19 | bin_PROGRAMS = |
20 | sbin_PROGRAMS = | |
bd354725 | 21 | sbin_SCRIPTS = |
4a121f99 DL |
22 | noinst_PROGRAMS = |
23 | noinst_HEADERS = | |
24 | noinst_LIBRARIES = | |
25 | lib_LTLIBRARIES = | |
64d44794 | 26 | module_LTLIBRARIES = |
4a121f99 | 27 | pkginclude_HEADERS = |
70d27c5b | 28 | nodist_pkginclude_HEADERS = |
64d44794 | 29 | dist_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 | 39 | include include/subdir.am |
4a121f99 | 40 | include lib/subdir.am |
64d44794 | 41 | include zebra/subdir.am |
bd354725 | 42 | include watchfrr/subdir.am |
0f8b5fd5 DL |
43 | include qpb/subdir.am |
44 | include fpm/subdir.am | |
bd354725 | 45 | include tools/subdir.am |
4a121f99 | 46 | |
7f269117 DL |
47 | include ripd/subdir.am |
48 | include ripngd/subdir.am | |
afca0690 DL |
49 | include ospfd/subdir.am |
50 | include ospf6d/subdir.am | |
51 | include ospfclient/subdir.am | |
86e463cf | 52 | include isisd/subdir.am |
cde8cd9d | 53 | include nhrpd/subdir.am |
30237d29 | 54 | include ldpd/subdir.am |
b6f5781c DL |
55 | include babeld/subdir.am |
56 | include eigrpd/subdir.am | |
8a71d93d | 57 | include sharpd/subdir.am |
35a3c3c1 | 58 | include pimd/subdir.am |
e5c83d9b | 59 | include pbrd/subdir.am |
7f269117 | 60 | |
0f8b5fd5 | 61 | SUBDIRS = . @LIBRFP@ @RFPTEST@ \ |
30237d29 | 62 | @BGPD@ \ |
bd354725 DL |
63 | @VTYSH@ @DOC@ \ |
64 | @SOLARIS@ tests | |
0537f4e7 | 65 | |
30237d29 | 66 | DIST_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 |
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 += \ | |
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 | 113 | ACLOCAL_AMFLAGS = -I m4 |
8efe88ea | 114 | |
4a121f99 | 115 | noinst_HEADERS += defaults.h |
da5a0d00 LB |
116 | |
117 | indent: | |
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` |