]> git.proxmox.com Git - mirror_frr.git/blame - Makefile.am
lib: Fix Spelling mistake
[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
7e24fdf3 58include staticd/subdir.am
7134904b 59include bfdd/subdir.am
7f269117 60
0f8b5fd5 61SUBDIRS = . @LIBRFP@ @RFPTEST@ \
30237d29 62 @BGPD@ \
bd354725
DL
63 @VTYSH@ @DOC@ \
64 @SOLARIS@ tests
0537f4e7 65
30237d29 66DIST_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
73if PKGSRC
74rcdir=@pkgsrcrcdir@
75rc_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
83endif
84
85EXTRA_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 113ACLOCAL_AMFLAGS = -I m4
8efe88ea 114
4a121f99 115noinst_HEADERS += defaults.h
da5a0d00
LB
116
117indent:
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
120if HAVE_GCOV
121
122coverage: check
123 @ find . -name '*.o' -exec gcov {} \;
124
125yorn:
126 @ echo "OK to upload coverage to https://coverage.io [y/N]:"
127 @ read yn; test "$$yn" = "y"
128
129upload-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
134force-check-coverage: coverage upload-check-coverage
135
136check-coverage: coverage yorn upload-check-coverage
137
138endif