blob: a35ad870f2a2e4183e56e0ce04dffeaf7b6c816a [file] [log] [blame]
paul718e3742002-12-13 20:15:29 +00001## Process this file with automake to produce Makefile.in.
2
David Lamparter237aac52014-06-28 22:23:10 +02003AM_CPPFLAGS = -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib
Donald Sharp58a83f22015-09-11 10:11:42 -04004DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" -DMULTIPATH_NUM=@MULTIPATH_NUM@
paul718e3742002-12-13 20:15:29 +00005INSTALL_SDATA=@INSTALL@ -m 600
6
Paul Jakma52c0bc72015-08-20 21:30:17 +01007AM_CFLAGS = $(WERROR)
Paul P Komkoff Jr46bc0e42008-08-13 16:17:04 +01008
paul718e3742002-12-13 20:15:29 +00009noinst_LIBRARIES = libbgp.a
10sbin_PROGRAMS = bgpd
Donald Sharpbf99b422015-10-21 10:00:47 -040011bin_PROGRAMS = bgp_btoa
paul718e3742002-12-13 20:15:29 +000012
13libbgp_a_SOURCES = \
14 bgpd.c bgp_fsm.c bgp_aspath.c bgp_community.c bgp_attr.c \
15 bgp_debug.c bgp_route.c bgp_zebra.c bgp_open.c bgp_routemap.c \
16 bgp_packet.c bgp_network.c bgp_filter.c bgp_regex.c bgp_clist.c \
17 bgp_dump.c bgp_snmp.c bgp_ecommunity.c bgp_mplsvpn.c bgp_nexthop.c \
Josh Bailey165b5ff2011-07-20 20:43:22 -070018 bgp_damp.c bgp_table.c bgp_advertise.c bgp_vty.c bgp_mpath.c
paul718e3742002-12-13 20:15:29 +000019
20noinst_HEADERS = \
21 bgp_aspath.h bgp_attr.h bgp_community.h bgp_debug.h bgp_fsm.h \
22 bgp_network.h bgp_open.h bgp_packet.h bgp_regex.h bgp_route.h \
23 bgpd.h bgp_filter.h bgp_clist.h bgp_dump.h bgp_zebra.h \
24 bgp_ecommunity.h bgp_mplsvpn.h bgp_nexthop.h bgp_damp.h bgp_table.h \
Josh Bailey165b5ff2011-07-20 20:43:22 -070025 bgp_advertise.h bgp_snmp.h bgp_vty.h bgp_mpath.h
paul718e3742002-12-13 20:15:29 +000026
paulfe69a502005-09-10 16:55:02 +000027bgpd_SOURCES = bgp_main.c
Paul Jakma6f0e3f62007-05-10 02:38:51 +000028bgpd_LDADD = libbgp.a ../lib/libzebra.la @LIBCAP@ @LIBM@
paul718e3742002-12-13 20:15:29 +000029
Donald Sharpbf99b422015-10-21 10:00:47 -040030bgp_btoa_SOURCES = bgp_btoa.c
31bgp_btoa_LDADD = libbgp.a ../lib/libzebra.la @LIBCAP@ @LIBM@
32
gdtd6b72f72003-12-03 17:24:27 +000033examplesdir = $(exampledir)
34dist_examples_DATA = bgpd.conf.sample bgpd.conf.sample2
paul718e3742002-12-13 20:15:29 +000035
paul04bd4842003-10-24 04:24:39 +000036EXTRA_DIST = BGP4-MIB.txt
paul718e3742002-12-13 20:15:29 +000037