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_REGEX = @LIB_REGEX@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 73 | MAKEINFO = @MAKEINFO@ |
| 74 | MULTIPATH_NUM = @MULTIPATH_NUM@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 75 | OSPF6D = @OSPF6D@ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 76 | OSPFCLIENT = @OSPFCLIENT@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 77 | OSPFD = @OSPFD@ |
| 78 | OTHER_METHOD = @OTHER_METHOD@ |
| 79 | PACKAGE = @PACKAGE@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 80 | RANLIB = @RANLIB@ |
| 81 | RIPD = @RIPD@ |
| 82 | RIPNGD = @RIPNGD@ |
| 83 | RTREAD_METHOD = @RTREAD_METHOD@ |
| 84 | RT_METHOD = @RT_METHOD@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 85 | VERSION = @VERSION@ |
| 86 | VTYSH = @VTYSH@ |
| 87 | ZEBRA = @ZEBRA@ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 88 | |
| 89 | INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib |
| 90 | DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" -DMULTIPATH_NUM=@MULTIPATH_NUM@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 91 | INSTALL_SDATA = @INSTALL@ -m 600 |
| 92 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 93 | LIB_IPV6 = @LIB_IPV6@ |
| 94 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 95 | ipforward = @IPFORWARD@ |
| 96 | if_method = @IF_METHOD@ |
| 97 | if_proc = @IF_PROC@ |
| 98 | rt_method = @RT_METHOD@ |
| 99 | rtread_method = @RTREAD_METHOD@ |
| 100 | kernel_method = @KERNEL_METHOD@ |
| 101 | other_method = @OTHER_METHOD@ |
| 102 | |
| 103 | otherobj = $(ipforward) $(if_method) $(if_proc) $(rt_method) \ |
| 104 | $(rtread_method) $(kernel_method) $(other_method) |
| 105 | |
| 106 | |
| 107 | sbin_PROGRAMS = zebra |
| 108 | |
| 109 | zebra_SOURCES = \ |
| 110 | zserv.c main.c interface.c connected.c ioctl.c zebra_rib.c \ |
| 111 | redistribute.c debug.c rtadv.c zebra_snmp.c zebra_vty.c |
| 112 | |
| 113 | |
| 114 | noinst_HEADERS = \ |
| 115 | connected.h ioctl.h rib.h rt.h zserv.h redistribute.h debug.h rtadv.h \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 116 | interface.h ipforward.h |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 117 | |
| 118 | |
| 119 | zebra_LDADD = ../lib/libzebra.a $(otherobj) $(LIB_IPV6) |
| 120 | |
| 121 | zebra_DEPENDENCIES = $(otherobj) |
| 122 | |
| 123 | sysconf_DATA = zebra.conf.sample |
| 124 | |
| 125 | EXTRA_DIST = $(sysconf_DATA) if_ioctl.c if_netlink.c if_proc.c if_sysctl.c \ |
| 126 | ipforward_aix.c ipforward_ews.c ipforward_proc.c \ |
| 127 | ipforward_solaris.c ipforward_sysctl.c rt_ioctl.c rt_netlink.c \ |
| 128 | rt_socket.c rtread_netlink.c rtread_proc.c rtread_sysctl.c \ |
| 129 | rtread_getmsg.c kernel_socket.c kernel_netlink.c mtu_kvm.c \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 130 | GNOME-SMI GNOME-PRODUCT-ZEBRA-MIB |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 131 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 132 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 133 | CONFIG_HEADER = ../config.h |
| 134 | CONFIG_CLEAN_FILES = |
| 135 | PROGRAMS = $(sbin_PROGRAMS) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 136 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 137 | CPPFLAGS = @CPPFLAGS@ |
| 138 | LDFLAGS = @LDFLAGS@ |
| 139 | LIBS = @LIBS@ |
| 140 | zebra_OBJECTS = zserv.o main.o interface.o connected.o ioctl.o \ |
| 141 | zebra_rib.o redistribute.o debug.o rtadv.o zebra_snmp.o zebra_vty.o |
| 142 | zebra_LDFLAGS = |
| 143 | CFLAGS = @CFLAGS@ |
| 144 | COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 145 | CCLD = $(CC) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 146 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ |
| 147 | DATA = $(sysconf_DATA) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 148 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 149 | HEADERS = $(noinst_HEADERS) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 150 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 151 | DIST_COMMON = ChangeLog Makefile.am Makefile.in |
| 152 | |
| 153 | |
| 154 | DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) |
| 155 | |
| 156 | TAR = gtar |
| 157 | GZIP_ENV = --best |
| 158 | DEP_FILES = .deps/connected.P .deps/debug.P .deps/interface.P \ |
| 159 | .deps/ioctl.P .deps/main.P .deps/redistribute.P .deps/rtadv.P \ |
| 160 | .deps/zebra_rib.P .deps/zebra_snmp.P .deps/zebra_vty.P .deps/zserv.P |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 161 | SOURCES = $(zebra_SOURCES) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 162 | OBJECTS = $(zebra_OBJECTS) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 163 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 164 | all: all-redirect |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 165 | .SUFFIXES: |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 166 | .SUFFIXES: .S .c .o .s |
| 167 | $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) |
| 168 | cd $(top_srcdir) && $(AUTOMAKE) --foreign zebra/Makefile |
| 169 | |
| 170 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) |
| 171 | cd $(top_builddir) \ |
| 172 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
| 173 | |
| 174 | |
| 175 | mostlyclean-sbinPROGRAMS: |
| 176 | |
| 177 | clean-sbinPROGRAMS: |
| 178 | -test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS) |
| 179 | |
| 180 | distclean-sbinPROGRAMS: |
| 181 | |
| 182 | maintainer-clean-sbinPROGRAMS: |
| 183 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 184 | install-sbinPROGRAMS: $(sbin_PROGRAMS) |
| 185 | @$(NORMAL_INSTALL) |
| 186 | $(mkinstalldirs) $(DESTDIR)$(sbindir) |
| 187 | @list='$(sbin_PROGRAMS)'; for p in $$list; do \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 188 | if test -f $$p; then \ |
| 189 | echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ |
| 190 | $(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] | 191 | else :; fi; \ |
| 192 | done |
| 193 | |
| 194 | uninstall-sbinPROGRAMS: |
| 195 | @$(NORMAL_UNINSTALL) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 196 | list='$(sbin_PROGRAMS)'; for p in $$list; do \ |
| 197 | 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] | 198 | done |
| 199 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 200 | .s.o: |
| 201 | $(COMPILE) -c $< |
| 202 | |
| 203 | .S.o: |
| 204 | $(COMPILE) -c $< |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 205 | |
| 206 | mostlyclean-compile: |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 207 | -rm -f *.o core *.core |
| 208 | |
| 209 | clean-compile: |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 210 | |
| 211 | distclean-compile: |
| 212 | -rm -f *.tab.c |
| 213 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 214 | maintainer-clean-compile: |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 215 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 216 | zebra: $(zebra_OBJECTS) $(zebra_DEPENDENCIES) |
| 217 | @rm -f zebra |
| 218 | $(LINK) $(zebra_LDFLAGS) $(zebra_OBJECTS) $(zebra_LDADD) $(LIBS) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 219 | |
| 220 | uninstall-sysconfDATA: |
| 221 | @$(NORMAL_UNINSTALL) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 222 | list='$(sysconf_DATA)'; for p in $$list; do \ |
| 223 | rm -f $(DESTDIR)$(sysconfdir)/$$p; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 224 | done |
| 225 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 226 | tags: TAGS |
| 227 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 228 | ID: $(HEADERS) $(SOURCES) $(LISP) |
| 229 | list='$(SOURCES) $(HEADERS)'; \ |
| 230 | unique=`for i in $$list; do echo $$i; done | \ |
| 231 | awk ' { files[$$0] = 1; } \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 232 | END { for (i in files) print i; }'`; \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 233 | here=`pwd` && cd $(srcdir) \ |
| 234 | && mkid -f$$here/ID $$unique $(LISP) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 235 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 236 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 237 | tags=; \ |
| 238 | here=`pwd`; \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 239 | list='$(SOURCES) $(HEADERS)'; \ |
| 240 | unique=`for i in $$list; do echo $$i; done | \ |
| 241 | awk ' { files[$$0] = 1; } \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 242 | END { for (i in files) print i; }'`; \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 243 | test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ |
| 244 | || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 245 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 246 | mostlyclean-tags: |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 247 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 248 | clean-tags: |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 249 | |
| 250 | distclean-tags: |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 251 | -rm -f TAGS ID |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 252 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 253 | maintainer-clean-tags: |
| 254 | |
| 255 | distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) |
| 256 | |
| 257 | subdir = zebra |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 258 | |
| 259 | distdir: $(DISTFILES) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 260 | here=`cd $(top_builddir) && pwd`; \ |
| 261 | top_distdir=`cd $(top_distdir) && pwd`; \ |
| 262 | distdir=`cd $(distdir) && pwd`; \ |
| 263 | cd $(top_srcdir) \ |
| 264 | && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign zebra/Makefile |
| 265 | @for file in $(DISTFILES); do \ |
| 266 | d=$(srcdir); \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 267 | if test -d $$d/$$file; then \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 268 | cp -pr $$d/$$file $(distdir)/$$file; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 269 | else \ |
| 270 | test -f $(distdir)/$$file \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 271 | || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ |
| 272 | || cp -p $$d/$$file $(distdir)/$$file || :; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 273 | fi; \ |
| 274 | done |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 275 | |
| 276 | DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) |
| 277 | |
| 278 | -include $(DEP_FILES) |
| 279 | |
| 280 | mostlyclean-depend: |
| 281 | |
| 282 | clean-depend: |
| 283 | |
| 284 | distclean-depend: |
| 285 | -rm -rf .deps |
| 286 | |
| 287 | maintainer-clean-depend: |
| 288 | |
| 289 | %.o: %.c |
| 290 | @echo '$(COMPILE) -c $<'; \ |
| 291 | $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< |
| 292 | @-cp .deps/$(*F).pp .deps/$(*F).P; \ |
| 293 | tr ' ' '\012' < .deps/$(*F).pp \ |
| 294 | | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ |
| 295 | >> .deps/$(*F).P; \ |
| 296 | rm .deps/$(*F).pp |
| 297 | |
| 298 | %.lo: %.c |
| 299 | @echo '$(LTCOMPILE) -c $<'; \ |
| 300 | $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< |
| 301 | @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ |
| 302 | < .deps/$(*F).pp > .deps/$(*F).P; \ |
| 303 | tr ' ' '\012' < .deps/$(*F).pp \ |
| 304 | | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ |
| 305 | >> .deps/$(*F).P; \ |
| 306 | rm -f .deps/$(*F).pp |
| 307 | info-am: |
| 308 | info: info-am |
| 309 | dvi-am: |
| 310 | dvi: dvi-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 311 | check-am: all-am |
| 312 | check: check-am |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 313 | installcheck-am: |
| 314 | installcheck: installcheck-am |
| 315 | install-exec-am: install-sbinPROGRAMS install-sysconfDATA |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 316 | install-exec: install-exec-am |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 317 | |
| 318 | install-data-am: |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 319 | install-data: install-data-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 320 | |
| 321 | install-am: all-am |
| 322 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 323 | install: install-am |
| 324 | uninstall-am: uninstall-sbinPROGRAMS uninstall-sysconfDATA |
| 325 | uninstall: uninstall-am |
| 326 | all-am: Makefile $(PROGRAMS) $(DATA) $(HEADERS) |
| 327 | all-redirect: all-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 328 | install-strip: |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 329 | $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install |
| 330 | installdirs: |
| 331 | $(mkinstalldirs) $(DESTDIR)$(sbindir) $(DESTDIR)$(sysconfdir) |
| 332 | |
| 333 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 334 | mostlyclean-generic: |
| 335 | |
| 336 | clean-generic: |
| 337 | |
| 338 | distclean-generic: |
| 339 | -rm -f Makefile $(CONFIG_CLEAN_FILES) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 340 | -rm -f config.cache config.log stamp-h stamp-h[0-9]* |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 341 | |
| 342 | maintainer-clean-generic: |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 343 | mostlyclean-am: mostlyclean-sbinPROGRAMS mostlyclean-compile \ |
| 344 | mostlyclean-tags mostlyclean-depend mostlyclean-generic |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 345 | |
| 346 | mostlyclean: mostlyclean-am |
| 347 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 348 | clean-am: clean-sbinPROGRAMS clean-compile clean-tags clean-depend \ |
| 349 | clean-generic mostlyclean-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 350 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 351 | clean: clean-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 352 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 353 | distclean-am: distclean-sbinPROGRAMS distclean-compile distclean-tags \ |
| 354 | distclean-depend distclean-generic clean-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 355 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 356 | distclean: distclean-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 357 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 358 | maintainer-clean-am: maintainer-clean-sbinPROGRAMS \ |
| 359 | maintainer-clean-compile maintainer-clean-tags \ |
| 360 | maintainer-clean-depend maintainer-clean-generic \ |
| 361 | distclean-am |
| 362 | @echo "This command is intended for maintainers to use;" |
| 363 | @echo "it deletes files that may require special tools to rebuild." |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 364 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 365 | maintainer-clean: maintainer-clean-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 366 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 367 | .PHONY: mostlyclean-sbinPROGRAMS distclean-sbinPROGRAMS \ |
| 368 | clean-sbinPROGRAMS maintainer-clean-sbinPROGRAMS uninstall-sbinPROGRAMS \ |
| 369 | install-sbinPROGRAMS mostlyclean-compile distclean-compile \ |
| 370 | clean-compile maintainer-clean-compile uninstall-sysconfDATA \ |
| 371 | install-sysconfDATA tags mostlyclean-tags distclean-tags clean-tags \ |
| 372 | maintainer-clean-tags distdir mostlyclean-depend distclean-depend \ |
| 373 | clean-depend maintainer-clean-depend info-am info dvi-am dvi check \ |
| 374 | check-am installcheck-am installcheck install-exec-am install-exec \ |
| 375 | install-data-am install-data install-am install uninstall-am uninstall \ |
| 376 | all-redirect all-am all installdirs mostlyclean-generic \ |
| 377 | distclean-generic clean-generic maintainer-clean-generic clean \ |
| 378 | mostlyclean distclean maintainer-clean |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 379 | |
| 380 | |
| 381 | #client : client_main.o ../lib/libzebra.a |
| 382 | # $(CC) -g -o client client_main.o ../lib/libzebra.a $(LIBS) $(LIB_IPV6) |
| 383 | |
| 384 | install-sysconfDATA: $(sysconf_DATA) |
| 385 | @$(NORMAL_INSTALL) |
| 386 | $(mkinstalldirs) $(DESTDIR)$(sysconfdir) |
| 387 | @list='$(sysconf_DATA)'; for p in $$list; do \ |
| 388 | if test -f $(srcdir)/$$p; then \ |
| 389 | echo " $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p"; \ |
| 390 | $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p; \ |
| 391 | else if test -f $$p; then \ |
| 392 | echo " $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p"; \ |
| 393 | $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p; \ |
| 394 | fi; fi; \ |
| 395 | done |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 396 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 397 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
| 398 | # Otherwise a system limit (for SysV at least) may be exceeded. |
| 399 | .NOEXPORT: |