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 |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 4 | DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" |
| 5 | INSTALL_SDATA=@INSTALL@ -m 600 |
| 6 | |
David Lamparter | c0bedeb | 2015-03-03 10:00:43 +0100 | [diff] [blame^] | 7 | AM_CFLAGS = $(PICFLAGS) $(WERROR) |
Paul P Komkoff Jr | 46bc0e4 | 2008-08-13 16:17:04 +0100 | [diff] [blame] | 8 | AM_LDFLAGS = $(PILDFLAGS) |
| 9 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 10 | noinst_LIBRARIES = libbgp.a |
| 11 | sbin_PROGRAMS = bgpd |
| 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 \ |
Josh Bailey | 165b5ff | 2011-07-20 20:43:22 -0700 | [diff] [blame] | 18 | bgp_damp.c bgp_table.c bgp_advertise.c bgp_vty.c bgp_mpath.c |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 19 | |
| 20 | noinst_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 Bailey | 165b5ff | 2011-07-20 20:43:22 -0700 | [diff] [blame] | 25 | bgp_advertise.h bgp_snmp.h bgp_vty.h bgp_mpath.h |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 26 | |
paul | fe69a50 | 2005-09-10 16:55:02 +0000 | [diff] [blame] | 27 | bgpd_SOURCES = bgp_main.c |
Paul Jakma | 6f0e3f6 | 2007-05-10 02:38:51 +0000 | [diff] [blame] | 28 | bgpd_LDADD = libbgp.a ../lib/libzebra.la @LIBCAP@ @LIBM@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 29 | |
gdt | d6b72f7 | 2003-12-03 17:24:27 +0000 | [diff] [blame] | 30 | examplesdir = $(exampledir) |
| 31 | dist_examples_DATA = bgpd.conf.sample bgpd.conf.sample2 |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 32 | |
paul | 04bd484 | 2003-10-24 04:24:39 +0000 | [diff] [blame] | 33 | EXTRA_DIST = BGP4-MIB.txt |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 34 | |