]>
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 | ||
e9f272a4 | 6 | AM_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 | 8 | VERSION_TYPE := $(shell if echo $(VERSION) | grep -q '^[0-9\.]*$$'; then echo RELEASE ; else echo DEV ; fi) |
1780ad33 | 9 | DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" -DCONFDATE=$(CONFDATE) -DVERSION_TYPE_$(VERSION_TYPE) |
64d44794 | 10 | LIBCAP = @LIBCAP@ |
4a121f99 DL |
11 | |
12 | EXTRA_DIST = | |
13 | BUILT_SOURCES = | |
0f8b5fd5 | 14 | CLEANFILES = |
4a121f99 | 15 | |
64d44794 DL |
16 | examplesdir = $(exampledir) |
17 | ||
4a121f99 DL |
18 | bin_PROGRAMS = |
19 | sbin_PROGRAMS = | |
bd354725 | 20 | sbin_SCRIPTS = |
4a121f99 DL |
21 | noinst_PROGRAMS = |
22 | noinst_HEADERS = | |
23 | noinst_LIBRARIES = | |
24 | lib_LTLIBRARIES = | |
64d44794 | 25 | module_LTLIBRARIES = |
4a121f99 | 26 | pkginclude_HEADERS = |
70d27c5b | 27 | nodist_pkginclude_HEADERS = |
64d44794 | 28 | dist_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 | 38 | include include/subdir.am |
4a121f99 | 39 | include lib/subdir.am |
64d44794 | 40 | include zebra/subdir.am |
bd354725 | 41 | include watchfrr/subdir.am |
0f8b5fd5 DL |
42 | include qpb/subdir.am |
43 | include fpm/subdir.am | |
bd354725 | 44 | include tools/subdir.am |
4a121f99 | 45 | |
7f269117 DL |
46 | include ripd/subdir.am |
47 | include ripngd/subdir.am | |
afca0690 DL |
48 | include ospfd/subdir.am |
49 | include ospf6d/subdir.am | |
50 | include ospfclient/subdir.am | |
86e463cf | 51 | include isisd/subdir.am |
cde8cd9d | 52 | include nhrpd/subdir.am |
30237d29 | 53 | include ldpd/subdir.am |
b6f5781c DL |
54 | include babeld/subdir.am |
55 | include eigrpd/subdir.am | |
8a71d93d | 56 | include sharpd/subdir.am |
35a3c3c1 | 57 | include pimd/subdir.am |
e5c83d9b | 58 | include pbrd/subdir.am |
7f269117 | 59 | |
0f8b5fd5 | 60 | SUBDIRS = . @LIBRFP@ @RFPTEST@ \ |
30237d29 | 61 | @BGPD@ \ |
bd354725 DL |
62 | @VTYSH@ @DOC@ \ |
63 | @SOLARIS@ tests | |
0537f4e7 | 64 | |
30237d29 | 65 | DIST_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 |
72 | if PKGSRC |
73 | rcdir=@pkgsrcrcdir@ | |
74 | rc_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 | |
82 | endif | |
83 | ||
84 | EXTRA_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 | 112 | ACLOCAL_AMFLAGS = -I m4 |
8efe88ea | 113 | |
4a121f99 | 114 | noinst_HEADERS += defaults.h |
da5a0d00 LB |
115 | |
116 | indent: | |
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` |