blob: 753b679f8627b545317623218ea871c04d8cf0a1 [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 Sharpd1839632015-12-09 08:24:44 -05004DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
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 \
Job Snijders3334bab2017-01-20 14:47:12 +000017 bgp_dump.c bgp_snmp.c bgp_ecommunity.c bgp_lcommunity.c \
18 bgp_mplsvpn.c bgp_nexthop.c \
Lou Bergerc3741782016-01-12 13:42:01 -050019 bgp_damp.c bgp_table.c bgp_advertise.c bgp_vty.c bgp_mpath.c \
Pradosh Mohapatra60cc9592015-11-09 20:21:41 -050020 bgp_encap.c bgp_encap_tlv.c bgp_nht.c
paul718e3742002-12-13 20:15:29 +000021
22noinst_HEADERS = \
23 bgp_aspath.h bgp_attr.h bgp_community.h bgp_debug.h bgp_fsm.h \
24 bgp_network.h bgp_open.h bgp_packet.h bgp_regex.h bgp_route.h \
25 bgpd.h bgp_filter.h bgp_clist.h bgp_dump.h bgp_zebra.h \
Job Snijders3334bab2017-01-20 14:47:12 +000026 bgp_ecommunity.h bgp_lcommunity.h \
27 bgp_mplsvpn.h bgp_nexthop.h bgp_damp.h bgp_table.h \
Lou Bergerc3741782016-01-12 13:42:01 -050028 bgp_advertise.h bgp_snmp.h bgp_vty.h bgp_mpath.h \
Pradosh Mohapatra60cc9592015-11-09 20:21:41 -050029 bgp_encap.h bgp_encap_tlv.h bgp_encap_types.h bgp_nht.h
paul718e3742002-12-13 20:15:29 +000030
paulfe69a502005-09-10 16:55:02 +000031bgpd_SOURCES = bgp_main.c
Paul Jakma6f0e3f62007-05-10 02:38:51 +000032bgpd_LDADD = libbgp.a ../lib/libzebra.la @LIBCAP@ @LIBM@
paul718e3742002-12-13 20:15:29 +000033
Donald Sharpbf99b422015-10-21 10:00:47 -040034bgp_btoa_SOURCES = bgp_btoa.c
35bgp_btoa_LDADD = libbgp.a ../lib/libzebra.la @LIBCAP@ @LIBM@
36
gdtd6b72f72003-12-03 17:24:27 +000037examplesdir = $(exampledir)
38dist_examples_DATA = bgpd.conf.sample bgpd.conf.sample2
paul718e3742002-12-13 20:15:29 +000039
paul04bd4842003-10-24 04:24:39 +000040EXTRA_DIST = BGP4-MIB.txt
paul718e3742002-12-13 20:15:29 +000041