paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 1 | # Makefile.in generated automatically by automake 1.4-p5 from Makefile.am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 2 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 3 | # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 4 | # This Makefile.in is free software; the Free Software Foundation |
| 5 | # gives unlimited permission to copy and/or distribute it, |
| 6 | # with or without modifications, as long as this notice is preserved. |
| 7 | |
| 8 | # This program is distributed in the hope that it will be useful, |
| 9 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
| 10 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
| 11 | # PARTICULAR PURPOSE. |
| 12 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 13 | |
| 14 | SHELL = @SHELL@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 15 | |
| 16 | srcdir = @srcdir@ |
| 17 | top_srcdir = @top_srcdir@ |
| 18 | VPATH = @srcdir@ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 19 | prefix = @prefix@ |
| 20 | exec_prefix = @exec_prefix@ |
| 21 | |
| 22 | bindir = @bindir@ |
| 23 | sbindir = @sbindir@ |
| 24 | libexecdir = @libexecdir@ |
| 25 | datadir = @datadir@ |
| 26 | sysconfdir = @sysconfdir@ |
| 27 | sharedstatedir = @sharedstatedir@ |
| 28 | localstatedir = @localstatedir@ |
| 29 | libdir = @libdir@ |
| 30 | infodir = @infodir@ |
| 31 | mandir = @mandir@ |
| 32 | includedir = @includedir@ |
| 33 | oldincludedir = /usr/include |
| 34 | |
| 35 | DESTDIR = |
| 36 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 37 | pkgdatadir = $(datadir)/@PACKAGE@ |
| 38 | pkglibdir = $(libdir)/@PACKAGE@ |
| 39 | pkgincludedir = $(includedir)/@PACKAGE@ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 40 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 41 | top_builddir = .. |
| 42 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 43 | ACLOCAL = @ACLOCAL@ |
| 44 | AUTOCONF = @AUTOCONF@ |
| 45 | AUTOMAKE = @AUTOMAKE@ |
| 46 | AUTOHEADER = @AUTOHEADER@ |
| 47 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 48 | INSTALL = @INSTALL@ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 49 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) |
| 50 | INSTALL_DATA = @INSTALL_DATA@ |
| 51 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
| 52 | transform = @program_transform_name@ |
| 53 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 54 | NORMAL_INSTALL = : |
| 55 | PRE_INSTALL = : |
| 56 | POST_INSTALL = : |
| 57 | NORMAL_UNINSTALL = : |
| 58 | PRE_UNINSTALL = : |
| 59 | POST_UNINSTALL = : |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 60 | host_alias = @host_alias@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 61 | host_triplet = @host@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 62 | AR = @AR@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 63 | BGPD = @BGPD@ |
| 64 | CC = @CC@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 65 | CPP = @CPP@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 66 | CURSES = @CURSES@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 67 | IF_METHOD = @IF_METHOD@ |
| 68 | IF_PROC = @IF_PROC@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 69 | IPFORWARD = @IPFORWARD@ |
| 70 | KERNEL_METHOD = @KERNEL_METHOD@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 71 | LIBPAM = @LIBPAM@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 72 | LIB_IPV6 = @LIB_IPV6@ |
| 73 | LIB_REGEX = @LIB_REGEX@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 74 | MAKEINFO = @MAKEINFO@ |
| 75 | MULTIPATH_NUM = @MULTIPATH_NUM@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 76 | OSPF6D = @OSPF6D@ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 77 | OSPFCLIENT = @OSPFCLIENT@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 78 | OSPFD = @OSPFD@ |
| 79 | OTHER_METHOD = @OTHER_METHOD@ |
| 80 | PACKAGE = @PACKAGE@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 81 | RANLIB = @RANLIB@ |
| 82 | RIPD = @RIPD@ |
| 83 | RIPNGD = @RIPNGD@ |
| 84 | RTREAD_METHOD = @RTREAD_METHOD@ |
| 85 | RT_METHOD = @RT_METHOD@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 86 | VERSION = @VERSION@ |
| 87 | VTYSH = @VTYSH@ |
| 88 | ZEBRA = @ZEBRA@ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 89 | |
| 90 | INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib |
| 91 | DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 92 | INSTALL_SDATA = @INSTALL@ -m 600 |
| 93 | |
| 94 | noinst_LIBRARIES = libbgp.a |
| 95 | sbin_PROGRAMS = bgpd |
| 96 | |
| 97 | libbgp_a_SOURCES = \ |
| 98 | bgpd.c bgp_fsm.c bgp_aspath.c bgp_community.c bgp_attr.c \ |
| 99 | bgp_debug.c bgp_route.c bgp_zebra.c bgp_open.c bgp_routemap.c \ |
| 100 | bgp_packet.c bgp_network.c bgp_filter.c bgp_regex.c bgp_clist.c \ |
| 101 | bgp_dump.c bgp_snmp.c bgp_ecommunity.c bgp_mplsvpn.c bgp_nexthop.c \ |
| 102 | bgp_damp.c bgp_table.c bgp_advertise.c bgp_vty.c |
| 103 | |
| 104 | |
| 105 | noinst_HEADERS = \ |
| 106 | bgp_aspath.h bgp_attr.h bgp_community.h bgp_debug.h bgp_fsm.h \ |
| 107 | bgp_network.h bgp_open.h bgp_packet.h bgp_regex.h bgp_route.h \ |
| 108 | bgpd.h bgp_filter.h bgp_clist.h bgp_dump.h bgp_zebra.h \ |
| 109 | bgp_ecommunity.h bgp_mplsvpn.h bgp_nexthop.h bgp_damp.h bgp_table.h \ |
| 110 | bgp_advertise.h bgp_snmp.h bgp_vty.h |
| 111 | |
| 112 | |
| 113 | bgpd_SOURCES = \ |
| 114 | bgp_main.c $(libbgp_a_SOURCES) |
| 115 | |
| 116 | |
| 117 | bgpd_LDADD = ../lib/libzebra.a |
| 118 | |
| 119 | sysconf_DATA = bgpd.conf.sample bgpd.conf.sample2 |
| 120 | |
| 121 | EXTRA_DIST = $(sysconf_DATA) BGP4-MIB.txt |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 122 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 123 | CONFIG_HEADER = ../config.h |
| 124 | CONFIG_CLEAN_FILES = |
| 125 | LIBRARIES = $(noinst_LIBRARIES) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 126 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 127 | CPPFLAGS = @CPPFLAGS@ |
| 128 | LDFLAGS = @LDFLAGS@ |
| 129 | LIBS = @LIBS@ |
| 130 | libbgp_a_LIBADD = |
| 131 | libbgp_a_OBJECTS = bgpd.o bgp_fsm.o bgp_aspath.o bgp_community.o \ |
| 132 | bgp_attr.o bgp_debug.o bgp_route.o bgp_zebra.o bgp_open.o \ |
| 133 | bgp_routemap.o bgp_packet.o bgp_network.o bgp_filter.o bgp_regex.o \ |
| 134 | bgp_clist.o bgp_dump.o bgp_snmp.o bgp_ecommunity.o bgp_mplsvpn.o \ |
| 135 | bgp_nexthop.o bgp_damp.o bgp_table.o bgp_advertise.o bgp_vty.o |
| 136 | PROGRAMS = $(sbin_PROGRAMS) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 137 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 138 | bgpd_OBJECTS = bgp_main.o bgpd.o bgp_fsm.o bgp_aspath.o bgp_community.o \ |
| 139 | bgp_attr.o bgp_debug.o bgp_route.o bgp_zebra.o bgp_open.o \ |
| 140 | bgp_routemap.o bgp_packet.o bgp_network.o bgp_filter.o bgp_regex.o \ |
| 141 | bgp_clist.o bgp_dump.o bgp_snmp.o bgp_ecommunity.o bgp_mplsvpn.o \ |
| 142 | bgp_nexthop.o bgp_damp.o bgp_table.o bgp_advertise.o bgp_vty.o |
| 143 | bgpd_DEPENDENCIES = ../lib/libzebra.a |
| 144 | bgpd_LDFLAGS = |
| 145 | CFLAGS = @CFLAGS@ |
| 146 | COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 147 | CCLD = $(CC) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 148 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ |
| 149 | DATA = $(sysconf_DATA) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 150 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 151 | HEADERS = $(noinst_HEADERS) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 152 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 153 | DIST_COMMON = ChangeLog Makefile.am Makefile.in |
| 154 | |
| 155 | |
| 156 | DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) |
| 157 | |
| 158 | TAR = gtar |
| 159 | GZIP_ENV = --best |
| 160 | DEP_FILES = .deps/bgp_advertise.P .deps/bgp_aspath.P .deps/bgp_attr.P \ |
| 161 | .deps/bgp_clist.P .deps/bgp_community.P .deps/bgp_damp.P \ |
| 162 | .deps/bgp_debug.P .deps/bgp_dump.P .deps/bgp_ecommunity.P \ |
| 163 | .deps/bgp_filter.P .deps/bgp_fsm.P .deps/bgp_main.P .deps/bgp_mplsvpn.P \ |
| 164 | .deps/bgp_network.P .deps/bgp_nexthop.P .deps/bgp_open.P \ |
| 165 | .deps/bgp_packet.P .deps/bgp_regex.P .deps/bgp_route.P \ |
| 166 | .deps/bgp_routemap.P .deps/bgp_snmp.P .deps/bgp_table.P .deps/bgp_vty.P \ |
| 167 | .deps/bgp_zebra.P .deps/bgpd.P |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 168 | SOURCES = $(libbgp_a_SOURCES) $(bgpd_SOURCES) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 169 | OBJECTS = $(libbgp_a_OBJECTS) $(bgpd_OBJECTS) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 170 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 171 | all: all-redirect |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 172 | .SUFFIXES: |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 173 | .SUFFIXES: .S .c .o .s |
| 174 | $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) |
| 175 | cd $(top_srcdir) && $(AUTOMAKE) --foreign bgpd/Makefile |
| 176 | |
| 177 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) |
| 178 | cd $(top_builddir) \ |
| 179 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
| 180 | |
| 181 | |
| 182 | mostlyclean-noinstLIBRARIES: |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 183 | |
| 184 | clean-noinstLIBRARIES: |
| 185 | -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 186 | |
| 187 | distclean-noinstLIBRARIES: |
| 188 | |
| 189 | maintainer-clean-noinstLIBRARIES: |
| 190 | |
| 191 | .s.o: |
| 192 | $(COMPILE) -c $< |
| 193 | |
| 194 | .S.o: |
| 195 | $(COMPILE) -c $< |
| 196 | |
| 197 | mostlyclean-compile: |
| 198 | -rm -f *.o core *.core |
| 199 | |
| 200 | clean-compile: |
| 201 | |
| 202 | distclean-compile: |
| 203 | -rm -f *.tab.c |
| 204 | |
| 205 | maintainer-clean-compile: |
| 206 | |
| 207 | libbgp.a: $(libbgp_a_OBJECTS) $(libbgp_a_DEPENDENCIES) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 208 | -rm -f libbgp.a |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 209 | $(AR) cru libbgp.a $(libbgp_a_OBJECTS) $(libbgp_a_LIBADD) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 210 | $(RANLIB) libbgp.a |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 211 | |
| 212 | mostlyclean-sbinPROGRAMS: |
| 213 | |
| 214 | clean-sbinPROGRAMS: |
| 215 | -test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS) |
| 216 | |
| 217 | distclean-sbinPROGRAMS: |
| 218 | |
| 219 | maintainer-clean-sbinPROGRAMS: |
| 220 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 221 | install-sbinPROGRAMS: $(sbin_PROGRAMS) |
| 222 | @$(NORMAL_INSTALL) |
| 223 | $(mkinstalldirs) $(DESTDIR)$(sbindir) |
| 224 | @list='$(sbin_PROGRAMS)'; for p in $$list; do \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 225 | if test -f $$p; then \ |
| 226 | echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ |
| 227 | $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 228 | else :; fi; \ |
| 229 | done |
| 230 | |
| 231 | uninstall-sbinPROGRAMS: |
| 232 | @$(NORMAL_UNINSTALL) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 233 | list='$(sbin_PROGRAMS)'; for p in $$list; do \ |
| 234 | rm -f $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 235 | done |
| 236 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 237 | bgpd: $(bgpd_OBJECTS) $(bgpd_DEPENDENCIES) |
| 238 | @rm -f bgpd |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 239 | $(LINK) $(bgpd_LDFLAGS) $(bgpd_OBJECTS) $(bgpd_LDADD) $(LIBS) |
| 240 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 241 | uninstall-sysconfDATA: |
| 242 | @$(NORMAL_UNINSTALL) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 243 | list='$(sysconf_DATA)'; for p in $$list; do \ |
| 244 | rm -f $(DESTDIR)$(sysconfdir)/$$p; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 245 | done |
| 246 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 247 | tags: TAGS |
| 248 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 249 | ID: $(HEADERS) $(SOURCES) $(LISP) |
| 250 | list='$(SOURCES) $(HEADERS)'; \ |
| 251 | unique=`for i in $$list; do echo $$i; done | \ |
| 252 | awk ' { files[$$0] = 1; } \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 253 | END { for (i in files) print i; }'`; \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 254 | here=`pwd` && cd $(srcdir) \ |
| 255 | && mkid -f$$here/ID $$unique $(LISP) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 256 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 257 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 258 | tags=; \ |
| 259 | here=`pwd`; \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 260 | list='$(SOURCES) $(HEADERS)'; \ |
| 261 | unique=`for i in $$list; do echo $$i; done | \ |
| 262 | awk ' { files[$$0] = 1; } \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 263 | END { for (i in files) print i; }'`; \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 264 | test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ |
| 265 | || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 266 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 267 | mostlyclean-tags: |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 268 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 269 | clean-tags: |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 270 | |
| 271 | distclean-tags: |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 272 | -rm -f TAGS ID |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 273 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 274 | maintainer-clean-tags: |
| 275 | |
| 276 | distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) |
| 277 | |
| 278 | subdir = bgpd |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 279 | |
| 280 | distdir: $(DISTFILES) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 281 | here=`cd $(top_builddir) && pwd`; \ |
| 282 | top_distdir=`cd $(top_distdir) && pwd`; \ |
| 283 | distdir=`cd $(distdir) && pwd`; \ |
| 284 | cd $(top_srcdir) \ |
| 285 | && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign bgpd/Makefile |
| 286 | @for file in $(DISTFILES); do \ |
| 287 | d=$(srcdir); \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 288 | if test -d $$d/$$file; then \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 289 | cp -pr $$d/$$file $(distdir)/$$file; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 290 | else \ |
| 291 | test -f $(distdir)/$$file \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 292 | || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ |
| 293 | || cp -p $$d/$$file $(distdir)/$$file || :; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 294 | fi; \ |
| 295 | done |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 296 | |
| 297 | DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) |
| 298 | |
| 299 | -include $(DEP_FILES) |
| 300 | |
| 301 | mostlyclean-depend: |
| 302 | |
| 303 | clean-depend: |
| 304 | |
| 305 | distclean-depend: |
| 306 | -rm -rf .deps |
| 307 | |
| 308 | maintainer-clean-depend: |
| 309 | |
| 310 | %.o: %.c |
| 311 | @echo '$(COMPILE) -c $<'; \ |
| 312 | $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< |
| 313 | @-cp .deps/$(*F).pp .deps/$(*F).P; \ |
| 314 | tr ' ' '\012' < .deps/$(*F).pp \ |
| 315 | | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ |
| 316 | >> .deps/$(*F).P; \ |
| 317 | rm .deps/$(*F).pp |
| 318 | |
| 319 | %.lo: %.c |
| 320 | @echo '$(LTCOMPILE) -c $<'; \ |
| 321 | $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< |
| 322 | @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ |
| 323 | < .deps/$(*F).pp > .deps/$(*F).P; \ |
| 324 | tr ' ' '\012' < .deps/$(*F).pp \ |
| 325 | | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ |
| 326 | >> .deps/$(*F).P; \ |
| 327 | rm -f .deps/$(*F).pp |
| 328 | info-am: |
| 329 | info: info-am |
| 330 | dvi-am: |
| 331 | dvi: dvi-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 332 | check-am: all-am |
| 333 | check: check-am |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 334 | installcheck-am: |
| 335 | installcheck: installcheck-am |
| 336 | install-exec-am: install-sbinPROGRAMS install-sysconfDATA |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 337 | install-exec: install-exec-am |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 338 | |
| 339 | install-data-am: |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 340 | install-data: install-data-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 341 | |
| 342 | install-am: all-am |
| 343 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 344 | install: install-am |
| 345 | uninstall-am: uninstall-sbinPROGRAMS uninstall-sysconfDATA |
| 346 | uninstall: uninstall-am |
| 347 | all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(DATA) $(HEADERS) |
| 348 | all-redirect: all-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 349 | install-strip: |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 350 | $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install |
| 351 | installdirs: |
| 352 | $(mkinstalldirs) $(DESTDIR)$(sbindir) $(DESTDIR)$(sysconfdir) |
| 353 | |
| 354 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 355 | mostlyclean-generic: |
| 356 | |
| 357 | clean-generic: |
| 358 | |
| 359 | distclean-generic: |
| 360 | -rm -f Makefile $(CONFIG_CLEAN_FILES) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 361 | -rm -f config.cache config.log stamp-h stamp-h[0-9]* |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 362 | |
| 363 | maintainer-clean-generic: |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 364 | mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \ |
| 365 | mostlyclean-sbinPROGRAMS mostlyclean-tags \ |
| 366 | mostlyclean-depend mostlyclean-generic |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 367 | |
| 368 | mostlyclean: mostlyclean-am |
| 369 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 370 | clean-am: clean-noinstLIBRARIES clean-compile clean-sbinPROGRAMS \ |
| 371 | clean-tags clean-depend clean-generic mostlyclean-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 372 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 373 | clean: clean-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 374 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 375 | distclean-am: distclean-noinstLIBRARIES distclean-compile \ |
| 376 | distclean-sbinPROGRAMS distclean-tags distclean-depend \ |
| 377 | distclean-generic clean-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 378 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 379 | distclean: distclean-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 380 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 381 | maintainer-clean-am: maintainer-clean-noinstLIBRARIES \ |
| 382 | maintainer-clean-compile maintainer-clean-sbinPROGRAMS \ |
| 383 | maintainer-clean-tags maintainer-clean-depend \ |
| 384 | maintainer-clean-generic distclean-am |
| 385 | @echo "This command is intended for maintainers to use;" |
| 386 | @echo "it deletes files that may require special tools to rebuild." |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 387 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 388 | maintainer-clean: maintainer-clean-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 389 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 390 | .PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \ |
| 391 | clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \ |
| 392 | mostlyclean-compile distclean-compile clean-compile \ |
| 393 | maintainer-clean-compile mostlyclean-sbinPROGRAMS \ |
| 394 | distclean-sbinPROGRAMS clean-sbinPROGRAMS maintainer-clean-sbinPROGRAMS \ |
| 395 | uninstall-sbinPROGRAMS install-sbinPROGRAMS uninstall-sysconfDATA \ |
| 396 | install-sysconfDATA tags mostlyclean-tags distclean-tags clean-tags \ |
| 397 | maintainer-clean-tags distdir mostlyclean-depend distclean-depend \ |
| 398 | clean-depend maintainer-clean-depend info-am info dvi-am dvi check \ |
| 399 | check-am installcheck-am installcheck install-exec-am install-exec \ |
| 400 | install-data-am install-data install-am install uninstall-am uninstall \ |
| 401 | all-redirect all-am all installdirs mostlyclean-generic \ |
| 402 | distclean-generic clean-generic maintainer-clean-generic clean \ |
| 403 | mostlyclean distclean maintainer-clean |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 404 | |
| 405 | |
| 406 | install-sysconfDATA: $(sysconf_DATA) |
| 407 | @$(NORMAL_INSTALL) |
| 408 | $(mkinstalldirs) $(DESTDIR)$(sysconfdir) |
| 409 | @list='$(sysconf_DATA)'; for p in $$list; do \ |
| 410 | if test -f $(srcdir)/$$p; then \ |
| 411 | echo " $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p"; \ |
| 412 | $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p; \ |
| 413 | else if test -f $$p; then \ |
| 414 | echo " $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p"; \ |
| 415 | $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p; \ |
| 416 | fi; fi; \ |
| 417 | done |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 418 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 419 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
| 420 | # Otherwise a system limit (for SysV at least) may be exceeded. |
| 421 | .NOEXPORT: |