Tomato 1.28
[tomato.git] / release / src / router / zebra / bgpd / Makefile.am
blob32573e2c051ce1be5704d3a1097b63acb304f7af
1 ## Process this file with automake to produce Makefile.in.
3 INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib
4 DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
5 INSTALL_SDATA=@INSTALL@ -m 600
7 noinst_LIBRARIES = libbgp.a
8 sbin_PROGRAMS = bgpd
9 #noinst_PROGRAMS = bgp_btoa
11 libbgp_a_SOURCES = \
12         bgpd.c bgp_fsm.c bgp_aspath.c bgp_community.c bgp_attr.c \
13         bgp_debug.c bgp_route.c bgp_zebra.c bgp_open.c bgp_routemap.c \
14         bgp_packet.c bgp_network.c bgp_filter.c bgp_regex.c bgp_clist.c \
15         bgp_dump.c bgp_snmp.c bgp_ecommunity.c bgp_mplsvpn.c bgp_nexthop.c \
16         bgp_damp.c
18 noinst_HEADERS = \
19         bgp_aspath.h bgp_attr.h bgp_community.h bgp_debug.h bgp_fsm.h \
20         bgp_network.h bgp_open.h bgp_packet.h bgp_regex.h bgp_route.h \
21         bgpd.h bgp_filter.h bgp_clist.h bgp_dump.h bgp_zebra.h \
22         bgp_ecommunity.h bgp_mplsvpn.h bgp_nexthop.h bgp_damp.h
24 bgpd_SOURCES = \
25         bgp_main.c $(libbgp_a_SOURCES)
27 bgpd_LDADD = ../lib/libzebra.a
29 #bgp_btoa_SOURCES = \
30 #       bgp_btoa.c
32 #bgp_btoa_LDADD = libbgp.a ../lib/libzebra.a
34 sysconf_DATA = bgpd.conf.sample bgpd.conf.sample2
36 EXTRA_DIST = $(sysconf_DATA) BGP4-MIB.txt
38 install-sysconfDATA: $(sysconf_DATA)
39         @$(NORMAL_INSTALL)
40         $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
41         @list='$(sysconf_DATA)'; for p in $$list; do \
42           if test -f $(srcdir)/$$p; then \
43             echo " $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p"; \
44             $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p; \
45           else if test -f $$p; then \
46             echo " $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p"; \
47             $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p; \
48           fi; fi; \
49         done
51 depend:
52         @$(CPP) -MM $(INCLUDES) $(LDFLAGS) *.c
54 ## File dependency.
55 bgp_aspath.o: bgp_aspath.c ../lib/hash.h ../lib/memory.h \
56  ../lib/vector.h ../lib/vty.h ../lib/str.h ../lib/log.h ../bgpd/bgpd.h \
57  ../lib/sockunion.h ../bgpd/bgp_aspath.h
58 bgp_attr.o: bgp_attr.c ../lib/linklist.h ../lib/prefix.h \
59  ../lib/memory.h ../lib/vector.h ../lib/vty.h ../lib/stream.h \
60  ../lib/log.h ../lib/hash.h ../bgpd/bgpd.h ../lib/sockunion.h \
61  ../bgpd/bgp_attr.h ../bgpd/bgp_route.h ../bgpd/bgp_aspath.h \
62  ../bgpd/bgp_community.h ../bgpd/bgp_debug.h ../bgpd/bgp_packet.h \
63  ../bgpd/bgp_ecommunity.h
64 bgp_btoa.o: bgp_btoa.c ../lib/stream.h ../lib/log.h ../lib/prefix.h \
65  ../lib/command.h ../lib/vector.h ../lib/vty.h ../bgpd/bgpd.h \
66  ../lib/sockunion.h ../bgpd/bgp_dump.h ../bgpd/bgp_attr.h \
67  ../bgpd/bgp_aspath.h
68 bgp_clist.o: bgp_clist.c ../lib/command.h ../lib/vector.h ../lib/vty.h \
69  ../lib/memory.h ../lib/log.h ../lib/buffer.h ../bgpd/bgpd.h \
70  ../lib/sockunion.h ../bgpd/bgp_community.h ../bgpd/bgp_clist.h \
71  ../bgpd/bgp_aspath.h ../bgpd/bgp_regex.h ../lib/regex-gnu.h
72 bgp_community.o: bgp_community.c ../lib/hash.h ../lib/memory.h \
73  ../lib/vector.h ../lib/vty.h ../lib/str.h ../bgpd/bgp_community.h
74 bgp_damp.o: bgp_damp.c ../lib/prefix.h ../lib/table.h \
75  ../lib/linklist.h ../lib/memory.h ../lib/command.h ../lib/vector.h \
76  ../lib/vty.h ../lib/stream.h ../lib/filter.h ../lib/if.h ../lib/str.h \
77  ../lib/log.h ../lib/routemap.h ../lib/buffer.h ../lib/sockunion.h \
78  ../lib/plist.h ../lib/thread.h ../bgpd/bgp_damp.h ../bgpd/bgpd.h \
79  ../bgpd/bgp_route.h
80 bgp_debug.o: bgp_debug.c ../lib/version.h ../lib/prefix.h \
81  ../lib/linklist.h ../lib/stream.h ../lib/command.h ../lib/vector.h \
82  ../lib/vty.h ../lib/str.h ../lib/log.h ../lib/sockunion.h \
83  ../bgpd/bgpd.h ../bgpd/bgp_aspath.h ../bgpd/bgp_route.h \
84  ../bgpd/bgp_attr.h ../bgpd/bgp_debug.h ../bgpd/bgp_community.h
85 bgp_dump.o: bgp_dump.c ../lib/log.h ../lib/stream.h ../lib/sockunion.h \
86  ../lib/command.h ../lib/vector.h ../lib/vty.h ../lib/prefix.h \
87  ../lib/thread.h ../lib/table.h ../bgpd/bgpd.h ../bgpd/bgp_route.h \
88  ../bgpd/bgp_attr.h ../bgpd/bgp_dump.h
89 bgp_ecommunity.o: bgp_ecommunity.c ../lib/hash.h ../lib/memory.h \
90  ../lib/prefix.h ../lib/command.h ../lib/vector.h ../lib/vty.h \
91  ../bgpd/bgpd.h ../lib/sockunion.h ../bgpd/bgp_ecommunity.h
92 bgp_filter.o: bgp_filter.c ../lib/command.h ../lib/vector.h \
93  ../lib/vty.h ../lib/log.h ../lib/memory.h ../lib/buffer.h \
94  ../bgpd/bgpd.h ../lib/sockunion.h ../bgpd/bgp_aspath.h \
95  ../bgpd/bgp_regex.h ../lib/regex-gnu.h ../bgpd/bgp_filter.h
96 bgp_fsm.o: bgp_fsm.c ../lib/linklist.h ../lib/prefix.h ../lib/vty.h \
97  ../lib/sockunion.h ../lib/thread.h ../lib/log.h ../lib/stream.h \
98  ../lib/memory.h ../bgpd/bgpd.h ../bgpd/bgp_attr.h ../bgpd/bgp_debug.h \
99  ../bgpd/bgp_fsm.h ../bgpd/bgp_packet.h ../bgpd/bgp_network.h \
100  ../bgpd/bgp_route.h ../bgpd/bgp_dump.h
101 bgp_main.o: bgp_main.c ../lib/vector.h ../lib/vty.h ../lib/command.h \
102  ../lib/thread.h ../lib/version.h ../lib/memory.h ../lib/prefix.h \
103  ../lib/log.h ../bgpd/bgpd.h ../lib/sockunion.h ../bgpd/bgp_network.h \
104  ../bgpd/bgp_attr.h ../bgpd/bgp_mplsvpn.h
105 bgp_mplsvpn.o: bgp_mplsvpn.c ../lib/command.h ../lib/vector.h \
106  ../lib/vty.h ../lib/prefix.h ../lib/table.h ../lib/log.h \
107  ../lib/memory.h ../lib/stream.h ../bgpd/bgpd.h ../lib/sockunion.h \
108  ../bgpd/bgp_route.h ../bgpd/bgp_attr.h ../bgpd/bgp_mplsvpn.h
109 bgp_network.o: bgp_network.c ../lib/thread.h ../lib/sockunion.h \
110  ../lib/memory.h ../lib/log.h ../lib/if.h ../lib/linklist.h \
111  ../lib/prefix.h ../bgpd/bgpd.h ../bgpd/bgp_fsm.h ../bgpd/bgp_attr.h \
112  ../bgpd/bgp_debug.h
113 bgp_nexthop.o: bgp_nexthop.c ../lib/command.h ../lib/vector.h \
114  ../lib/vty.h ../lib/thread.h ../lib/prefix.h ../lib/table.h \
115  ../lib/zclient.h ../lib/if.h ../lib/linklist.h ../lib/stream.h \
116  ../lib/network.h ../lib/log.h ../lib/memory.h ../bgpd/bgpd.h \
117  ../lib/sockunion.h ../bgpd/bgp_route.h ../bgpd/bgp_attr.h \
118  ../bgpd/bgp_nexthop.h ../zebra/rib.h ../zebra/zserv.h
119 bgp_open.o: bgp_open.c ../lib/linklist.h ../lib/prefix.h \
120  ../lib/stream.h ../lib/thread.h ../lib/log.h ../lib/command.h \
121  ../lib/vector.h ../lib/vty.h ../bgpd/bgpd.h ../lib/sockunion.h \
122  ../bgpd/bgp_attr.h ../bgpd/bgp_debug.h ../bgpd/bgp_fsm.h \
123  ../bgpd/bgp_packet.h ../bgpd/bgp_open.h
124 bgp_packet.o: bgp_packet.c ../lib/thread.h ../lib/stream.h \
125  ../lib/network.h ../lib/prefix.h ../lib/command.h ../lib/vector.h \
126  ../lib/vty.h ../lib/log.h ../lib/memory.h ../lib/sockunion.h \
127  ../lib/linklist.h ../bgpd/bgpd.h ../bgpd/bgp_dump.h \
128  ../bgpd/bgp_attr.h ../bgpd/bgp_debug.h ../bgpd/bgp_fsm.h \
129  ../bgpd/bgp_route.h ../bgpd/bgp_packet.h ../bgpd/bgp_open.h \
130  ../bgpd/bgp_aspath.h ../bgpd/bgp_community.h ../bgpd/bgp_network.h \
131  ../bgpd/bgp_mplsvpn.h
132 bgp_regex.o: bgp_regex.c ../lib/log.h ../lib/command.h ../lib/vector.h \
133  ../lib/vty.h ../lib/memory.h bgpd.h ../lib/sockunion.h bgp_aspath.h \
134  bgp_regex.h ../lib/regex-gnu.h
135 bgp_route.o: bgp_route.c ../lib/prefix.h ../lib/table.h \
136  ../lib/linklist.h ../lib/memory.h ../lib/command.h ../lib/vector.h \
137  ../lib/vty.h ../lib/stream.h ../lib/filter.h ../lib/if.h ../lib/str.h \
138  ../lib/log.h ../lib/routemap.h ../lib/buffer.h ../lib/sockunion.h \
139  ../lib/plist.h ../lib/thread.h ../bgpd/bgpd.h ../bgpd/bgp_route.h \
140  ../bgpd/bgp_attr.h ../bgpd/bgp_debug.h ../bgpd/bgp_aspath.h \
141  ../bgpd/bgp_clist.h ../bgpd/bgp_community.h ../bgpd/bgp_ecommunity.h \
142  ../bgpd/bgp_packet.h ../bgpd/bgp_regex.h ../lib/regex-gnu.h \
143  ../bgpd/bgp_filter.h ../bgpd/bgp_fsm.h ../bgpd/bgp_mplsvpn.h \
144  ../bgpd/bgp_nexthop.h ../bgpd/bgp_damp.h
145 bgp_routemap.o: bgp_routemap.c ../lib/memory.h ../lib/prefix.h \
146  ../lib/filter.h ../lib/if.h ../lib/linklist.h ../lib/routemap.h \
147  ../lib/command.h ../lib/vector.h ../lib/vty.h ../lib/log.h \
148  ../lib/plist.h ../lib/regex-gnu.h ../lib/buffer.h ../lib/table.h \
149  ../lib/sockunion.h ../bgpd/bgpd.h ../bgpd/bgp_attr.h \
150  ../bgpd/bgp_aspath.h ../bgpd/bgp_route.h ../bgpd/bgp_regex.h \
151  ../bgpd/bgp_community.h ../bgpd/bgp_clist.h ../bgpd/bgp_filter.h \
152  ../bgpd/bgp_mplsvpn.h ../bgpd/bgp_ecommunity.h
153 bgp_snmp.o: bgp_snmp.c
154 bgp_zebra.o: bgp_zebra.c ../lib/command.h ../lib/vector.h ../lib/vty.h \
155  ../lib/stream.h ../lib/network.h ../lib/prefix.h ../lib/log.h \
156  ../lib/sockunion.h ../lib/zclient.h ../lib/if.h ../lib/linklist.h \
157  ../lib/routemap.h ../bgpd/bgpd.h ../bgpd/bgp_route.h \
158  ../bgpd/bgp_attr.h ../bgpd/bgp_nexthop.h
159 bgpd.o: bgpd.c ../lib/prefix.h ../lib/thread.h ../lib/buffer.h \
160  ../lib/stream.h ../lib/table.h ../lib/command.h ../lib/vector.h \
161  ../lib/vty.h ../lib/sockunion.h ../lib/network.h ../lib/memory.h \
162  ../lib/filter.h ../lib/if.h ../lib/linklist.h ../lib/routemap.h \
163  ../lib/str.h ../lib/log.h ../lib/plist.h ../bgpd/bgpd.h \
164  ../bgpd/bgp_aspath.h ../bgpd/bgp_route.h ../bgpd/bgp_dump.h \
165  ../bgpd/bgp_debug.h ../bgpd/bgp_attr.h ../bgpd/bgp_community.h \
166  ../bgpd/bgp_clist.h ../bgpd/bgp_fsm.h ../bgpd/bgp_packet.h \
167  ../bgpd/bgp_zebra.h ../bgpd/bgp_open.h ../bgpd/bgp_filter.h \
168  ../bgpd/bgp_nexthop.h ../bgpd/bgp_damp.h