]> git.proxmox.com Git - mirror_frr.git/blame - Makefile.am
Merge pull request #2758 from donaldsharp/pim_join
[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
62d21cc6 8DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" -DCONFDATE=$(CONFDATE)
64d44794 9LIBCAP = @LIBCAP@
4a121f99
DL
10
11EXTRA_DIST =
12BUILT_SOURCES =
0f8b5fd5 13CLEANFILES =
4a121f99 14
64d44794
DL
15examplesdir = $(exampledir)
16
4a121f99
DL
17bin_PROGRAMS =
18sbin_PROGRAMS =
bd354725 19sbin_SCRIPTS =
4a121f99
DL
20noinst_PROGRAMS =
21noinst_HEADERS =
22noinst_LIBRARIES =
23lib_LTLIBRARIES =
64d44794 24module_LTLIBRARIES =
4a121f99 25pkginclude_HEADERS =
70d27c5b 26nodist_pkginclude_HEADERS =
64d44794 27dist_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 37include include/subdir.am
4a121f99 38include lib/subdir.am
64d44794 39include zebra/subdir.am
bd354725 40include watchfrr/subdir.am
0f8b5fd5
DL
41include qpb/subdir.am
42include fpm/subdir.am
bd354725 43include tools/subdir.am
4a121f99 44
7f269117
DL
45include ripd/subdir.am
46include ripngd/subdir.am
afca0690
DL
47include ospfd/subdir.am
48include ospf6d/subdir.am
49include ospfclient/subdir.am
86e463cf 50include isisd/subdir.am
cde8cd9d 51include nhrpd/subdir.am
30237d29 52include ldpd/subdir.am
b6f5781c
DL
53include babeld/subdir.am
54include eigrpd/subdir.am
8a71d93d 55include sharpd/subdir.am
35a3c3c1 56include pimd/subdir.am
e5c83d9b 57include pbrd/subdir.am
7f269117 58
0f8b5fd5 59SUBDIRS = . @LIBRFP@ @RFPTEST@ \
30237d29 60 @BGPD@ \
bd354725
DL
61 @VTYSH@ @DOC@ \
62 @SOLARIS@ tests
0537f4e7 63
30237d29 64DIST_SUBDIRS = . bgpd \
bd354725 65 vtysh doc tests \
35a3c3c1 66 solaris bgpd/rfp-example/librfp \
bd354725 67 bgpd/rfp-example/rfptest \
4d867099 68 debianpkg \
5578a14d 69 # end
718e3744 70
53d93be1
DL
71if PKGSRC
72rcdir=@pkgsrcrcdir@
73rc_SCRIPTS = \
74 pkgsrc/bgpd.sh \
75 pkgsrc/ospf6d.sh \
76 pkgsrc/ospfd.sh \
77 pkgsrc/ripd.sh \
78 pkgsrc/ripngd.sh \
79 pkgsrc/zebra.sh \
80 # end
81endif
82
83EXTRA_DIST += \
53d93be1 84 aclocal.m4 \
53d93be1
DL
85 m4/README.txt \
86 \
87 python/clidef.py \
88 python/clippy/__init__.py \
89 \
90 redhat/frr.init \
91 redhat/frr.service \
92 redhat/daemons \
93 redhat/frr.logrotate \
94 redhat/frr.pam \
95 redhat/frr.spec \
96 redhat/README.rpm_build.md \
97 \
98 snapcraft/snapcraft.yaml \
99 snapcraft/README.snap_build.md \
100 snapcraft/README.usage.md \
101 snapcraft/extra_version_info.txt \
102 snapcraft/scripts \
103 snapcraft/defaults \
104 snapcraft/helpers \
105 snapcraft/snap \
106 \
53d93be1
DL
107 vtysh/Makefile.am \
108 vtysh/Makefile.in \
109 # end
0fc42949 110
72e2d828 111ACLOCAL_AMFLAGS = -I m4
8efe88ea 112
4a121f99 113noinst_HEADERS += defaults.h
da5a0d00
LB
114
115indent:
116 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
117
118if HAVE_GCOV
119
120coverage: check
121 @ find . -name '*.o' -exec gcov {} \;
122
123yorn:
124 @ echo "OK to upload coverage to https://coverage.io [y/N]:"
125 @ read yn; test "$$yn" = "y"
126
127upload-check-coverage:
128 @ if [ "x${COMMIT}" = "x" ]; then echo "COMMIT required"; exit 1; fi
129 @ if [ "x${TOKEN}" = "x" ]; then echo "TOKEN required"; exit 1; fi
130 curl -s https://codecov.io/bash | bash -s - -C ${COMMIT} -t ${TOKEN}
131
132force-check-coverage: coverage upload-check-coverage
133
134check-coverage: coverage yorn upload-check-coverage
135
136endif