]>
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 |
62d21cc6 | 8 | DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" -DCONFDATE=$(CONFDATE) |
64d44794 | 9 | LIBCAP = @LIBCAP@ |
4a121f99 DL |
10 | |
11 | EXTRA_DIST = | |
12 | BUILT_SOURCES = | |
0f8b5fd5 | 13 | CLEANFILES = |
4a121f99 | 14 | |
64d44794 DL |
15 | examplesdir = $(exampledir) |
16 | ||
4a121f99 DL |
17 | bin_PROGRAMS = |
18 | sbin_PROGRAMS = | |
bd354725 | 19 | sbin_SCRIPTS = |
4a121f99 DL |
20 | noinst_PROGRAMS = |
21 | noinst_HEADERS = | |
22 | noinst_LIBRARIES = | |
23 | lib_LTLIBRARIES = | |
64d44794 | 24 | module_LTLIBRARIES = |
4a121f99 | 25 | pkginclude_HEADERS = |
70d27c5b | 26 | nodist_pkginclude_HEADERS = |
64d44794 | 27 | dist_examples_DATA = |
4a121f99 | 28 | |
6a35bfba DL |
29 | ## libtool, the self-made GNU scourge |
30 | ## ... this should fix relinking | |
31 | ## ... and AUTOMAKE_DUMMY is needed to prevent automake from treating this | |
32 | ## as overriding the normal targets... | |
33 | $(AUTOMAKE_DUMMY)install-moduleLTLIBRARIES: install-libLTLIBRARIES | |
34 | $(AUTOMAKE_DUMMY)install-binPROGRAMS: install-libLTLIBRARIES | |
35 | $(AUTOMAKE_DUMMY)install-sbinPROGRAMS: install-libLTLIBRARIES | |
36 | ||
ba777396 | 37 | include include/subdir.am |
4a121f99 | 38 | include lib/subdir.am |
64d44794 | 39 | include zebra/subdir.am |
bd354725 | 40 | include watchfrr/subdir.am |
0f8b5fd5 DL |
41 | include qpb/subdir.am |
42 | include fpm/subdir.am | |
bd354725 | 43 | include tools/subdir.am |
4a121f99 | 44 | |
7f269117 DL |
45 | include ripd/subdir.am |
46 | include ripngd/subdir.am | |
afca0690 DL |
47 | include ospfd/subdir.am |
48 | include ospf6d/subdir.am | |
49 | include ospfclient/subdir.am | |
86e463cf | 50 | include isisd/subdir.am |
cde8cd9d | 51 | include nhrpd/subdir.am |
30237d29 | 52 | include ldpd/subdir.am |
b6f5781c DL |
53 | include babeld/subdir.am |
54 | include eigrpd/subdir.am | |
8a71d93d | 55 | include sharpd/subdir.am |
35a3c3c1 | 56 | include pimd/subdir.am |
e5c83d9b | 57 | include pbrd/subdir.am |
7e24fdf3 | 58 | include staticd/subdir.am |
7134904b | 59 | include bfdd/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` | |
83284209 AJ |
119 | |
120 | if HAVE_GCOV | |
121 | ||
122 | coverage: check | |
123 | @ find . -name '*.o' -exec gcov {} \; | |
124 | ||
125 | yorn: | |
126 | @ echo "OK to upload coverage to https://coverage.io [y/N]:" | |
127 | @ read yn; test "$$yn" = "y" | |
128 | ||
129 | upload-check-coverage: | |
130 | @ if [ "x${COMMIT}" = "x" ]; then echo "COMMIT required"; exit 1; fi | |
131 | @ if [ "x${TOKEN}" = "x" ]; then echo "TOKEN required"; exit 1; fi | |
132 | curl -s https://codecov.io/bash | bash -s - -C ${COMMIT} -t ${TOKEN} | |
133 | ||
134 | force-check-coverage: coverage upload-check-coverage | |
135 | ||
136 | check-coverage: coverage yorn upload-check-coverage | |
137 | ||
138 | endif |