blob: fe1be32edb377f4b7461754999b0fdbf2a8cbe0d [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 \
17 bgp_dump.c bgp_snmp.c bgp_ecommunity.c bgp_mplsvpn.c bgp_nexthop.c \
Lou Bergerc3741782016-01-12 13:42:01 -050018 bgp_damp.c bgp_table.c bgp_advertise.c bgp_vty.c bgp_mpath.c \
Pradosh Mohapatra60cc9592015-11-09 20:21:41 -050019 bgp_encap.c bgp_encap_tlv.c bgp_nht.c
paul718e3742002-12-13 20:15:29 +000020
21noinst_HEADERS = \
22 bgp_aspath.h bgp_attr.h bgp_community.h bgp_debug.h bgp_fsm.h \
23 bgp_network.h bgp_open.h bgp_packet.h bgp_regex.h bgp_route.h \
24 bgpd.h bgp_filter.h bgp_clist.h bgp_dump.h bgp_zebra.h \
25 bgp_ecommunity.h bgp_mplsvpn.h bgp_nexthop.h bgp_damp.h bgp_table.h \
Lou Bergerc3741782016-01-12 13:42:01 -050026 bgp_advertise.h bgp_snmp.h bgp_vty.h bgp_mpath.h \
Pradosh Mohapatra60cc9592015-11-09 20:21:41 -050027 bgp_encap.h bgp_encap_tlv.h bgp_encap_types.h bgp_nht.h
paul718e3742002-12-13 20:15:29 +000028
paulfe69a502005-09-10 16:55:02 +000029bgpd_SOURCES = bgp_main.c
Paul Jakma6f0e3f62007-05-10 02:38:51 +000030bgpd_LDADD = libbgp.a ../lib/libzebra.la @LIBCAP@ @LIBM@
paul718e3742002-12-13 20:15:29 +000031
Donald Sharpbf99b422015-10-21 10:00:47 -040032bgp_btoa_SOURCES = bgp_btoa.c
33bgp_btoa_LDADD = libbgp.a ../lib/libzebra.la @LIBCAP@ @LIBM@
34
gdtd6b72f72003-12-03 17:24:27 +000035examplesdir = $(exampledir)
36dist_examples_DATA = bgpd.conf.sample bgpd.conf.sample2
paul718e3742002-12-13 20:15:29 +000037
paul04bd4842003-10-24 04:24:39 +000038EXTRA_DIST = BGP4-MIB.txt
paul718e3742002-12-13 20:15:29 +000039