blob: f44d1a61c339806d3ce0be2230058e33b8503a7e [file] [log] [blame]
paul1bb066b2003-03-17 01:18:55 +00001# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
paul718e3742002-12-13 20:15:29 +00002
paul1bb066b2003-03-17 01:18:55 +00003# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
paul718e3742002-12-13 20:15:29 +00004# 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
paul1bb066b2003-03-17 01:18:55 +000013
14SHELL = @SHELL@
paul718e3742002-12-13 20:15:29 +000015
16srcdir = @srcdir@
17top_srcdir = @top_srcdir@
18VPATH = @srcdir@
paul1bb066b2003-03-17 01:18:55 +000019prefix = @prefix@
20exec_prefix = @exec_prefix@
21
22bindir = @bindir@
23sbindir = @sbindir@
24libexecdir = @libexecdir@
25datadir = @datadir@
26sysconfdir = @sysconfdir@
27sharedstatedir = @sharedstatedir@
28localstatedir = @localstatedir@
29libdir = @libdir@
30infodir = @infodir@
31mandir = @mandir@
32includedir = @includedir@
33oldincludedir = /usr/include
34
35DESTDIR =
36
paul718e3742002-12-13 20:15:29 +000037pkgdatadir = $(datadir)/@PACKAGE@
38pkglibdir = $(libdir)/@PACKAGE@
39pkgincludedir = $(includedir)/@PACKAGE@
paul1bb066b2003-03-17 01:18:55 +000040
paul718e3742002-12-13 20:15:29 +000041top_builddir = ..
42
paul1bb066b2003-03-17 01:18:55 +000043ACLOCAL = @ACLOCAL@
44AUTOCONF = @AUTOCONF@
45AUTOMAKE = @AUTOMAKE@
46AUTOHEADER = @AUTOHEADER@
47
paul718e3742002-12-13 20:15:29 +000048INSTALL = @INSTALL@
paul1bb066b2003-03-17 01:18:55 +000049INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50INSTALL_DATA = @INSTALL_DATA@
51INSTALL_SCRIPT = @INSTALL_SCRIPT@
52transform = @program_transform_name@
53
paul718e3742002-12-13 20:15:29 +000054NORMAL_INSTALL = :
55PRE_INSTALL = :
56POST_INSTALL = :
57NORMAL_UNINSTALL = :
58PRE_UNINSTALL = :
59POST_UNINSTALL = :
paul1bb066b2003-03-17 01:18:55 +000060host_alias = @host_alias@
paul718e3742002-12-13 20:15:29 +000061host_triplet = @host@
paul718e3742002-12-13 20:15:29 +000062AR = @AR@
paul718e3742002-12-13 20:15:29 +000063BGPD = @BGPD@
64CC = @CC@
paul718e3742002-12-13 20:15:29 +000065CPP = @CPP@
paul718e3742002-12-13 20:15:29 +000066CURSES = @CURSES@
paul718e3742002-12-13 20:15:29 +000067IF_METHOD = @IF_METHOD@
68IF_PROC = @IF_PROC@
paul718e3742002-12-13 20:15:29 +000069IPFORWARD = @IPFORWARD@
70KERNEL_METHOD = @KERNEL_METHOD@
paul718e3742002-12-13 20:15:29 +000071LIBPAM = @LIBPAM@
paul718e3742002-12-13 20:15:29 +000072LIB_REGEX = @LIB_REGEX@
paul718e3742002-12-13 20:15:29 +000073MAKEINFO = @MAKEINFO@
74MULTIPATH_NUM = @MULTIPATH_NUM@
paul718e3742002-12-13 20:15:29 +000075OSPF6D = @OSPF6D@
paul1bb066b2003-03-17 01:18:55 +000076OSPFCLIENT = @OSPFCLIENT@
paul718e3742002-12-13 20:15:29 +000077OSPFD = @OSPFD@
78OTHER_METHOD = @OTHER_METHOD@
79PACKAGE = @PACKAGE@
paul718e3742002-12-13 20:15:29 +000080RANLIB = @RANLIB@
81RIPD = @RIPD@
82RIPNGD = @RIPNGD@
83RTREAD_METHOD = @RTREAD_METHOD@
84RT_METHOD = @RT_METHOD@
paul718e3742002-12-13 20:15:29 +000085VERSION = @VERSION@
86VTYSH = @VTYSH@
87ZEBRA = @ZEBRA@
paul1bb066b2003-03-17 01:18:55 +000088
89INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib
90DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" -DMULTIPATH_NUM=@MULTIPATH_NUM@
paul718e3742002-12-13 20:15:29 +000091INSTALL_SDATA = @INSTALL@ -m 600
92
paul1bb066b2003-03-17 01:18:55 +000093LIB_IPV6 = @LIB_IPV6@
94
paul718e3742002-12-13 20:15:29 +000095ipforward = @IPFORWARD@
96if_method = @IF_METHOD@
97if_proc = @IF_PROC@
98rt_method = @RT_METHOD@
99rtread_method = @RTREAD_METHOD@
100kernel_method = @KERNEL_METHOD@
101other_method = @OTHER_METHOD@
102
103otherobj = $(ipforward) $(if_method) $(if_proc) $(rt_method) \
104 $(rtread_method) $(kernel_method) $(other_method)
105
106
107sbin_PROGRAMS = zebra
108
109zebra_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
114noinst_HEADERS = \
115 connected.h ioctl.h rib.h rt.h zserv.h redistribute.h debug.h rtadv.h \
paul1bb066b2003-03-17 01:18:55 +0000116 interface.h ipforward.h
paul718e3742002-12-13 20:15:29 +0000117
118
119zebra_LDADD = ../lib/libzebra.a $(otherobj) $(LIB_IPV6)
120
121zebra_DEPENDENCIES = $(otherobj)
122
123sysconf_DATA = zebra.conf.sample
124
125EXTRA_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 \
paul1bb066b2003-03-17 01:18:55 +0000130 GNOME-SMI GNOME-PRODUCT-ZEBRA-MIB
paul718e3742002-12-13 20:15:29 +0000131
paul718e3742002-12-13 20:15:29 +0000132mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
paul1bb066b2003-03-17 01:18:55 +0000133CONFIG_HEADER = ../config.h
134CONFIG_CLEAN_FILES =
135PROGRAMS = $(sbin_PROGRAMS)
paul718e3742002-12-13 20:15:29 +0000136
paul1bb066b2003-03-17 01:18:55 +0000137CPPFLAGS = @CPPFLAGS@
138LDFLAGS = @LDFLAGS@
139LIBS = @LIBS@
140zebra_OBJECTS = zserv.o main.o interface.o connected.o ioctl.o \
141zebra_rib.o redistribute.o debug.o rtadv.o zebra_snmp.o zebra_vty.o
142zebra_LDFLAGS =
143CFLAGS = @CFLAGS@
144COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
paul718e3742002-12-13 20:15:29 +0000145CCLD = $(CC)
paul1bb066b2003-03-17 01:18:55 +0000146LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
147DATA = $(sysconf_DATA)
paul718e3742002-12-13 20:15:29 +0000148
paul1bb066b2003-03-17 01:18:55 +0000149HEADERS = $(noinst_HEADERS)
paul718e3742002-12-13 20:15:29 +0000150
paul1bb066b2003-03-17 01:18:55 +0000151DIST_COMMON = ChangeLog Makefile.am Makefile.in
152
153
154DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
155
156TAR = gtar
157GZIP_ENV = --best
158DEP_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
paul718e3742002-12-13 20:15:29 +0000161SOURCES = $(zebra_SOURCES)
paul1bb066b2003-03-17 01:18:55 +0000162OBJECTS = $(zebra_OBJECTS)
paul718e3742002-12-13 20:15:29 +0000163
paul1bb066b2003-03-17 01:18:55 +0000164all: all-redirect
paul718e3742002-12-13 20:15:29 +0000165.SUFFIXES:
paul1bb066b2003-03-17 01:18:55 +0000166.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
170Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
171 cd $(top_builddir) \
172 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
173
174
175mostlyclean-sbinPROGRAMS:
176
177clean-sbinPROGRAMS:
178 -test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
179
180distclean-sbinPROGRAMS:
181
182maintainer-clean-sbinPROGRAMS:
183
paul718e3742002-12-13 20:15:29 +0000184install-sbinPROGRAMS: $(sbin_PROGRAMS)
185 @$(NORMAL_INSTALL)
186 $(mkinstalldirs) $(DESTDIR)$(sbindir)
187 @list='$(sbin_PROGRAMS)'; for p in $$list; do \
paul1bb066b2003-03-17 01:18:55 +0000188 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)/'`; \
paul718e3742002-12-13 20:15:29 +0000191 else :; fi; \
192 done
193
194uninstall-sbinPROGRAMS:
195 @$(NORMAL_UNINSTALL)
paul1bb066b2003-03-17 01:18:55 +0000196 list='$(sbin_PROGRAMS)'; for p in $$list; do \
197 rm -f $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
paul718e3742002-12-13 20:15:29 +0000198 done
199
paul1bb066b2003-03-17 01:18:55 +0000200.s.o:
201 $(COMPILE) -c $<
202
203.S.o:
204 $(COMPILE) -c $<
paul718e3742002-12-13 20:15:29 +0000205
206mostlyclean-compile:
paul1bb066b2003-03-17 01:18:55 +0000207 -rm -f *.o core *.core
208
209clean-compile:
paul718e3742002-12-13 20:15:29 +0000210
211distclean-compile:
212 -rm -f *.tab.c
213
paul1bb066b2003-03-17 01:18:55 +0000214maintainer-clean-compile:
paul718e3742002-12-13 20:15:29 +0000215
paul1bb066b2003-03-17 01:18:55 +0000216zebra: $(zebra_OBJECTS) $(zebra_DEPENDENCIES)
217 @rm -f zebra
218 $(LINK) $(zebra_LDFLAGS) $(zebra_OBJECTS) $(zebra_LDADD) $(LIBS)
paul718e3742002-12-13 20:15:29 +0000219
220uninstall-sysconfDATA:
221 @$(NORMAL_UNINSTALL)
paul1bb066b2003-03-17 01:18:55 +0000222 list='$(sysconf_DATA)'; for p in $$list; do \
223 rm -f $(DESTDIR)$(sysconfdir)/$$p; \
paul718e3742002-12-13 20:15:29 +0000224 done
225
paul718e3742002-12-13 20:15:29 +0000226tags: TAGS
227
paul1bb066b2003-03-17 01:18:55 +0000228ID: $(HEADERS) $(SOURCES) $(LISP)
229 list='$(SOURCES) $(HEADERS)'; \
230 unique=`for i in $$list; do echo $$i; done | \
231 awk ' { files[$$0] = 1; } \
paul718e3742002-12-13 20:15:29 +0000232 END { for (i in files) print i; }'`; \
paul1bb066b2003-03-17 01:18:55 +0000233 here=`pwd` && cd $(srcdir) \
234 && mkid -f$$here/ID $$unique $(LISP)
paul718e3742002-12-13 20:15:29 +0000235
paul1bb066b2003-03-17 01:18:55 +0000236TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
paul718e3742002-12-13 20:15:29 +0000237 tags=; \
238 here=`pwd`; \
paul1bb066b2003-03-17 01:18:55 +0000239 list='$(SOURCES) $(HEADERS)'; \
240 unique=`for i in $$list; do echo $$i; done | \
241 awk ' { files[$$0] = 1; } \
paul718e3742002-12-13 20:15:29 +0000242 END { for (i in files) print i; }'`; \
paul1bb066b2003-03-17 01:18:55 +0000243 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
244 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
paul718e3742002-12-13 20:15:29 +0000245
paul1bb066b2003-03-17 01:18:55 +0000246mostlyclean-tags:
paul718e3742002-12-13 20:15:29 +0000247
paul1bb066b2003-03-17 01:18:55 +0000248clean-tags:
paul718e3742002-12-13 20:15:29 +0000249
250distclean-tags:
paul1bb066b2003-03-17 01:18:55 +0000251 -rm -f TAGS ID
paul718e3742002-12-13 20:15:29 +0000252
paul1bb066b2003-03-17 01:18:55 +0000253maintainer-clean-tags:
254
255distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
256
257subdir = zebra
paul718e3742002-12-13 20:15:29 +0000258
259distdir: $(DISTFILES)
paul1bb066b2003-03-17 01:18:55 +0000260 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); \
paul718e3742002-12-13 20:15:29 +0000267 if test -d $$d/$$file; then \
paul1bb066b2003-03-17 01:18:55 +0000268 cp -pr $$d/$$file $(distdir)/$$file; \
paul718e3742002-12-13 20:15:29 +0000269 else \
270 test -f $(distdir)/$$file \
paul1bb066b2003-03-17 01:18:55 +0000271 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
272 || cp -p $$d/$$file $(distdir)/$$file || :; \
paul718e3742002-12-13 20:15:29 +0000273 fi; \
274 done
paul1bb066b2003-03-17 01:18:55 +0000275
276DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
277
278-include $(DEP_FILES)
279
280mostlyclean-depend:
281
282clean-depend:
283
284distclean-depend:
285 -rm -rf .deps
286
287maintainer-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
307info-am:
308info: info-am
309dvi-am:
310dvi: dvi-am
paul718e3742002-12-13 20:15:29 +0000311check-am: all-am
312check: check-am
paul1bb066b2003-03-17 01:18:55 +0000313installcheck-am:
314installcheck: installcheck-am
315install-exec-am: install-sbinPROGRAMS install-sysconfDATA
paul718e3742002-12-13 20:15:29 +0000316install-exec: install-exec-am
paul1bb066b2003-03-17 01:18:55 +0000317
318install-data-am:
paul718e3742002-12-13 20:15:29 +0000319install-data: install-data-am
paul718e3742002-12-13 20:15:29 +0000320
321install-am: all-am
322 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
paul1bb066b2003-03-17 01:18:55 +0000323install: install-am
324uninstall-am: uninstall-sbinPROGRAMS uninstall-sysconfDATA
325uninstall: uninstall-am
326all-am: Makefile $(PROGRAMS) $(DATA) $(HEADERS)
327all-redirect: all-am
paul718e3742002-12-13 20:15:29 +0000328install-strip:
paul1bb066b2003-03-17 01:18:55 +0000329 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
330installdirs:
331 $(mkinstalldirs) $(DESTDIR)$(sbindir) $(DESTDIR)$(sysconfdir)
332
333
paul718e3742002-12-13 20:15:29 +0000334mostlyclean-generic:
335
336clean-generic:
337
338distclean-generic:
339 -rm -f Makefile $(CONFIG_CLEAN_FILES)
paul1bb066b2003-03-17 01:18:55 +0000340 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
paul718e3742002-12-13 20:15:29 +0000341
342maintainer-clean-generic:
paul1bb066b2003-03-17 01:18:55 +0000343mostlyclean-am: mostlyclean-sbinPROGRAMS mostlyclean-compile \
344 mostlyclean-tags mostlyclean-depend mostlyclean-generic
paul718e3742002-12-13 20:15:29 +0000345
346mostlyclean: mostlyclean-am
347
paul1bb066b2003-03-17 01:18:55 +0000348clean-am: clean-sbinPROGRAMS clean-compile clean-tags clean-depend \
349 clean-generic mostlyclean-am
paul718e3742002-12-13 20:15:29 +0000350
paul1bb066b2003-03-17 01:18:55 +0000351clean: clean-am
paul718e3742002-12-13 20:15:29 +0000352
paul1bb066b2003-03-17 01:18:55 +0000353distclean-am: distclean-sbinPROGRAMS distclean-compile distclean-tags \
354 distclean-depend distclean-generic clean-am
paul718e3742002-12-13 20:15:29 +0000355
paul1bb066b2003-03-17 01:18:55 +0000356distclean: distclean-am
paul718e3742002-12-13 20:15:29 +0000357
paul1bb066b2003-03-17 01:18:55 +0000358maintainer-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."
paul718e3742002-12-13 20:15:29 +0000364
paul1bb066b2003-03-17 01:18:55 +0000365maintainer-clean: maintainer-clean-am
paul718e3742002-12-13 20:15:29 +0000366
paul1bb066b2003-03-17 01:18:55 +0000367.PHONY: mostlyclean-sbinPROGRAMS distclean-sbinPROGRAMS \
368clean-sbinPROGRAMS maintainer-clean-sbinPROGRAMS uninstall-sbinPROGRAMS \
369install-sbinPROGRAMS mostlyclean-compile distclean-compile \
370clean-compile maintainer-clean-compile uninstall-sysconfDATA \
371install-sysconfDATA tags mostlyclean-tags distclean-tags clean-tags \
372maintainer-clean-tags distdir mostlyclean-depend distclean-depend \
373clean-depend maintainer-clean-depend info-am info dvi-am dvi check \
374check-am installcheck-am installcheck install-exec-am install-exec \
375install-data-am install-data install-am install uninstall-am uninstall \
376all-redirect all-am all installdirs mostlyclean-generic \
377distclean-generic clean-generic maintainer-clean-generic clean \
378mostlyclean distclean maintainer-clean
paul718e3742002-12-13 20:15:29 +0000379
380
381#client : client_main.o ../lib/libzebra.a
382# $(CC) -g -o client client_main.o ../lib/libzebra.a $(LIBS) $(LIB_IPV6)
383
384install-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
paul1bb066b2003-03-17 01:18:55 +0000396
paul718e3742002-12-13 20:15:29 +0000397# 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: