Import Upstream version 1.2.2
[quagga-debian.git] / bgpd / Makefile.am
1 ## Process this file with automake to produce Makefile.in.
2
3 AM_CPPFLAGS = -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib
4 DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
5 INSTALL_SDATA=@INSTALL@ -m 600
6
7 AM_CFLAGS = $(WERROR)
8
9 noinst_LIBRARIES = libbgp.a
10 sbin_PROGRAMS = bgpd
11 bin_PROGRAMS = bgp_btoa
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_lcommunity.c \
18         bgp_mplsvpn.c bgp_nexthop.c \
19         bgp_damp.c bgp_table.c bgp_advertise.c bgp_vty.c bgp_mpath.c \
20         bgp_encap.c bgp_encap_tlv.c bgp_nht.c
21
22 noinst_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 \
26         bgp_ecommunity.h bgp_lcommunity.h \
27         bgp_mplsvpn.h bgp_nexthop.h bgp_damp.h bgp_table.h \
28         bgp_advertise.h bgp_snmp.h bgp_vty.h bgp_mpath.h \
29         bgp_encap.h bgp_encap_tlv.h bgp_encap_types.h bgp_nht.h
30
31 bgpd_SOURCES = bgp_main.c
32 bgpd_LDADD = libbgp.a ../lib/libzebra.la @LIBCAP@ @LIBM@
33
34 bgp_btoa_SOURCES = bgp_btoa.c
35 bgp_btoa_LDADD = libbgp.a ../lib/libzebra.la @LIBCAP@ @LIBM@
36
37 examplesdir = $(exampledir)
38 dist_examples_DATA = bgpd.conf.sample bgpd.conf.sample2
39
40 EXTRA_DIST = BGP4-MIB.txt
41