]> git.proxmox.com Git - mirror_frr.git/blob - Makefile.am
build: non-recursive solaris
[mirror_frr.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in.
2
3 AUTOMAKE_OPTIONS = subdir-objects 1.12
4 include common.am
5
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
8 DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" -DCONFDATE=$(CONFDATE)
9 LIBCAP = @LIBCAP@
10
11 EXTRA_DIST =
12 BUILT_SOURCES =
13 CLEANFILES =
14
15 examplesdir = $(exampledir)
16
17 bin_PROGRAMS =
18 sbin_PROGRAMS =
19 sbin_SCRIPTS =
20 noinst_PROGRAMS =
21 noinst_HEADERS =
22 noinst_LIBRARIES =
23 nodist_noinst_DATA =
24 lib_LTLIBRARIES =
25 module_LTLIBRARIES =
26 pkginclude_HEADERS =
27 nodist_pkginclude_HEADERS =
28 dist_examples_DATA =
29 man_MANS =
30
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
39 include doc/subdir.am
40 include doc/user/subdir.am
41 include doc/manpages/subdir.am
42 include doc/developer/subdir.am
43 include include/subdir.am
44 include lib/subdir.am
45 include zebra/subdir.am
46 include watchfrr/subdir.am
47 include qpb/subdir.am
48 include fpm/subdir.am
49 include tools/subdir.am
50 include debianpkg/subdir.am
51 include solaris/subdir.am
52
53 include ripd/subdir.am
54 include ripngd/subdir.am
55 include ospfd/subdir.am
56 include ospf6d/subdir.am
57 include ospfclient/subdir.am
58 include isisd/subdir.am
59 include nhrpd/subdir.am
60 include ldpd/subdir.am
61 include babeld/subdir.am
62 include eigrpd/subdir.am
63 include sharpd/subdir.am
64 include pimd/subdir.am
65 include pbrd/subdir.am
66 include staticd/subdir.am
67 include bfdd/subdir.am
68
69 SUBDIRS = . @LIBRFP@ @RFPTEST@ \
70 @BGPD@ \
71 @VTYSH@ \
72 tests
73
74 DIST_SUBDIRS = . bgpd \
75 vtysh tests \
76 bgpd/rfp-example/librfp \
77 bgpd/rfp-example/rfptest \
78 # end
79
80 if PKGSRC
81 rcdir=@pkgsrcrcdir@
82 rc_SCRIPTS = \
83 pkgsrc/bgpd.sh \
84 pkgsrc/ospf6d.sh \
85 pkgsrc/ospfd.sh \
86 pkgsrc/ripd.sh \
87 pkgsrc/ripngd.sh \
88 pkgsrc/zebra.sh \
89 # end
90 endif
91
92 EXTRA_DIST += \
93 aclocal.m4 \
94 m4/README.txt \
95 \
96 python/clidef.py \
97 python/clippy/__init__.py \
98 \
99 redhat/frr.init \
100 redhat/frr.service \
101 redhat/daemons \
102 redhat/frr.logrotate \
103 redhat/frr.pam \
104 redhat/frr.spec \
105 redhat/README.rpm_build.md \
106 \
107 snapcraft/snapcraft.yaml \
108 snapcraft/README.snap_build.md \
109 snapcraft/README.usage.md \
110 snapcraft/extra_version_info.txt \
111 snapcraft/scripts \
112 snapcraft/defaults \
113 snapcraft/helpers \
114 snapcraft/snap \
115 \
116 vtysh/Makefile.am \
117 vtysh/Makefile.in \
118 \
119 doc/Makefile \
120 doc/developer/Makefile \
121 doc/manpages/Makefile \
122 doc/user/Makefile \
123 # end
124
125 ACLOCAL_AMFLAGS = -I m4
126
127 noinst_HEADERS += defaults.h
128
129 indent:
130 tools/indent.py `find sharpd bgpd eigrpd include isisd lib nhrpd ospf6d ospfd pimd qpb ripd vtysh zebra -name '*.[ch]' | grep -v include/linux`
131
132 if HAVE_GCOV
133
134 coverage: check
135 @ find . -name '*.o' -exec gcov {} \;
136
137 yorn:
138 @ echo "OK to upload coverage to https://coverage.io [y/N]:"
139 @ read yn; test "$$yn" = "y"
140
141 upload-check-coverage:
142 @ if [ "x${COMMIT}" = "x" ]; then echo "COMMIT required"; exit 1; fi
143 @ if [ "x${TOKEN}" = "x" ]; then echo "TOKEN required"; exit 1; fi
144 curl -s https://codecov.io/bash | bash -s - -C ${COMMIT} -t ${TOKEN}
145
146 force-check-coverage: coverage upload-check-coverage
147
148 check-coverage: coverage yorn upload-check-coverage
149
150 endif