paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 1 | ## Process this file with automake to produce Makefile.in. |
| 2 | |
David Lamparter | 237aac5 | 2014-06-28 22:23:10 +0200 | [diff] [blame] | 3 | AM_CPPFLAGS = -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib |
Donald Sharp | d183963 | 2015-12-09 08:24:44 -0500 | [diff] [blame^] | 4 | DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 5 | INSTALL_SDATA=@INSTALL@ -m 600 |
| 6 | |
Paul Jakma | 52c0bc7 | 2015-08-20 21:30:17 +0100 | [diff] [blame] | 7 | AM_CFLAGS = $(WERROR) |
Paul P Komkoff Jr | 46bc0e4 | 2008-08-13 16:17:04 +0100 | [diff] [blame] | 8 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 9 | noinst_LIBRARIES = libbgp.a |
| 10 | sbin_PROGRAMS = bgpd |
Donald Sharp | bf99b42 | 2015-10-21 10:00:47 -0400 | [diff] [blame] | 11 | bin_PROGRAMS = bgp_btoa |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 12 | |
| 13 | libbgp_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 Berger | c374178 | 2016-01-12 13:42:01 -0500 | [diff] [blame] | 18 | bgp_damp.c bgp_table.c bgp_advertise.c bgp_vty.c bgp_mpath.c \ |
Lou Berger | 298cc2f | 2016-01-12 13:42:02 -0500 | [diff] [blame] | 19 | bgp_encap.c bgp_encap_tlv.c |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 20 | |
| 21 | noinst_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 Berger | c374178 | 2016-01-12 13:42:01 -0500 | [diff] [blame] | 26 | bgp_advertise.h bgp_snmp.h bgp_vty.h bgp_mpath.h \ |
Lou Berger | 298cc2f | 2016-01-12 13:42:02 -0500 | [diff] [blame] | 27 | bgp_encap.h bgp_encap_tlv.h bgp_encap_types.h |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 28 | |
paul | fe69a50 | 2005-09-10 16:55:02 +0000 | [diff] [blame] | 29 | bgpd_SOURCES = bgp_main.c |
Paul Jakma | 6f0e3f6 | 2007-05-10 02:38:51 +0000 | [diff] [blame] | 30 | bgpd_LDADD = libbgp.a ../lib/libzebra.la @LIBCAP@ @LIBM@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 31 | |
Donald Sharp | bf99b42 | 2015-10-21 10:00:47 -0400 | [diff] [blame] | 32 | bgp_btoa_SOURCES = bgp_btoa.c |
| 33 | bgp_btoa_LDADD = libbgp.a ../lib/libzebra.la @LIBCAP@ @LIBM@ |
| 34 | |
gdt | d6b72f7 | 2003-12-03 17:24:27 +0000 | [diff] [blame] | 35 | examplesdir = $(exampledir) |
| 36 | dist_examples_DATA = bgpd.conf.sample bgpd.conf.sample2 |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 37 | |
paul | 04bd484 | 2003-10-24 04:24:39 +0000 | [diff] [blame] | 38 | EXTRA_DIST = BGP4-MIB.txt |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 39 | |