blob: 3c9ccbafd6b795efafc79185bd9e94c2abec1acf [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_IPV6 = @LIB_IPV6@
73LIB_REGEX = @LIB_REGEX@
paul718e3742002-12-13 20:15:29 +000074MAKEINFO = @MAKEINFO@
75MULTIPATH_NUM = @MULTIPATH_NUM@
paul718e3742002-12-13 20:15:29 +000076OSPF6D = @OSPF6D@
paul1bb066b2003-03-17 01:18:55 +000077OSPFCLIENT = @OSPFCLIENT@
paul718e3742002-12-13 20:15:29 +000078OSPFD = @OSPFD@
79OTHER_METHOD = @OTHER_METHOD@
80PACKAGE = @PACKAGE@
paul718e3742002-12-13 20:15:29 +000081RANLIB = @RANLIB@
82RIPD = @RIPD@
83RIPNGD = @RIPNGD@
84RTREAD_METHOD = @RTREAD_METHOD@
85RT_METHOD = @RT_METHOD@
paul718e3742002-12-13 20:15:29 +000086VERSION = @VERSION@
87VTYSH = @VTYSH@
88ZEBRA = @ZEBRA@
paul1bb066b2003-03-17 01:18:55 +000089
90INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib
91DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
92
93LIBS = @LIBS@ @CURSES@ @LIBPAM@
paul718e3742002-12-13 20:15:29 +000094
95bin_PROGRAMS = vtysh
96
97vtysh_SOURCES = vtysh_main.c vtysh.c vtysh_cmd.c vtysh_user.c vtysh_config.c
98noinst_HEADERS = vtysh.h vtysh_user.h
99vtysh_LDADD = ../lib/libzebra.a
100
101sysconf_DATA = vtysh.conf.sample
102
103EXTRA_DIST = extract.pl vtysh.conf.sample
paul718e3742002-12-13 20:15:29 +0000104mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
paul1bb066b2003-03-17 01:18:55 +0000105CONFIG_HEADER = ../config.h
106CONFIG_CLEAN_FILES =
107PROGRAMS = $(bin_PROGRAMS)
paul718e3742002-12-13 20:15:29 +0000108
paul1bb066b2003-03-17 01:18:55 +0000109CPPFLAGS = @CPPFLAGS@
110LDFLAGS = @LDFLAGS@
111vtysh_OBJECTS = vtysh_main.o vtysh.o vtysh_cmd.o vtysh_user.o \
112vtysh_config.o
113vtysh_DEPENDENCIES = ../lib/libzebra.a
114vtysh_LDFLAGS =
115CFLAGS = @CFLAGS@
116COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
paul718e3742002-12-13 20:15:29 +0000117CCLD = $(CC)
paul1bb066b2003-03-17 01:18:55 +0000118LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
119DATA = $(sysconf_DATA)
paul718e3742002-12-13 20:15:29 +0000120
paul1bb066b2003-03-17 01:18:55 +0000121HEADERS = $(noinst_HEADERS)
paul718e3742002-12-13 20:15:29 +0000122
paul1bb066b2003-03-17 01:18:55 +0000123DIST_COMMON = ChangeLog Makefile.am Makefile.in
124
125
126DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
127
128TAR = gtar
129GZIP_ENV = --best
130DEP_FILES = .deps/vtysh.P .deps/vtysh_cmd.P .deps/vtysh_config.P \
131.deps/vtysh_main.P .deps/vtysh_user.P
paul718e3742002-12-13 20:15:29 +0000132SOURCES = $(vtysh_SOURCES)
paul1bb066b2003-03-17 01:18:55 +0000133OBJECTS = $(vtysh_OBJECTS)
paul718e3742002-12-13 20:15:29 +0000134
paul1bb066b2003-03-17 01:18:55 +0000135all: all-redirect
paul718e3742002-12-13 20:15:29 +0000136.SUFFIXES:
paul1bb066b2003-03-17 01:18:55 +0000137.SUFFIXES: .S .c .o .s
138$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
139 cd $(top_srcdir) && $(AUTOMAKE) --foreign vtysh/Makefile
140
141Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
142 cd $(top_builddir) \
143 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
144
145
146mostlyclean-binPROGRAMS:
147
148clean-binPROGRAMS:
149 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
150
151distclean-binPROGRAMS:
152
153maintainer-clean-binPROGRAMS:
154
paul718e3742002-12-13 20:15:29 +0000155install-binPROGRAMS: $(bin_PROGRAMS)
156 @$(NORMAL_INSTALL)
157 $(mkinstalldirs) $(DESTDIR)$(bindir)
158 @list='$(bin_PROGRAMS)'; for p in $$list; do \
paul1bb066b2003-03-17 01:18:55 +0000159 if test -f $$p; then \
160 echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
161 $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
paul718e3742002-12-13 20:15:29 +0000162 else :; fi; \
163 done
164
165uninstall-binPROGRAMS:
166 @$(NORMAL_UNINSTALL)
paul1bb066b2003-03-17 01:18:55 +0000167 list='$(bin_PROGRAMS)'; for p in $$list; do \
168 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
paul718e3742002-12-13 20:15:29 +0000169 done
170
paul1bb066b2003-03-17 01:18:55 +0000171.s.o:
172 $(COMPILE) -c $<
173
174.S.o:
175 $(COMPILE) -c $<
paul718e3742002-12-13 20:15:29 +0000176
177mostlyclean-compile:
paul1bb066b2003-03-17 01:18:55 +0000178 -rm -f *.o core *.core
179
180clean-compile:
paul718e3742002-12-13 20:15:29 +0000181
182distclean-compile:
183 -rm -f *.tab.c
184
paul1bb066b2003-03-17 01:18:55 +0000185maintainer-clean-compile:
paul718e3742002-12-13 20:15:29 +0000186
paul1bb066b2003-03-17 01:18:55 +0000187vtysh: $(vtysh_OBJECTS) $(vtysh_DEPENDENCIES)
188 @rm -f vtysh
189 $(LINK) $(vtysh_LDFLAGS) $(vtysh_OBJECTS) $(vtysh_LDADD) $(LIBS)
paul718e3742002-12-13 20:15:29 +0000190
paul718e3742002-12-13 20:15:29 +0000191install-sysconfDATA: $(sysconf_DATA)
192 @$(NORMAL_INSTALL)
193 $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
194 @list='$(sysconf_DATA)'; for p in $$list; do \
paul1bb066b2003-03-17 01:18:55 +0000195 if test -f $(srcdir)/$$p; then \
196 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p"; \
197 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p; \
198 else if test -f $$p; then \
199 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$p"; \
200 $(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$p; \
201 fi; fi; \
paul718e3742002-12-13 20:15:29 +0000202 done
203
204uninstall-sysconfDATA:
205 @$(NORMAL_UNINSTALL)
paul1bb066b2003-03-17 01:18:55 +0000206 list='$(sysconf_DATA)'; for p in $$list; do \
207 rm -f $(DESTDIR)$(sysconfdir)/$$p; \
paul718e3742002-12-13 20:15:29 +0000208 done
209
paul718e3742002-12-13 20:15:29 +0000210tags: TAGS
211
paul1bb066b2003-03-17 01:18:55 +0000212ID: $(HEADERS) $(SOURCES) $(LISP)
213 list='$(SOURCES) $(HEADERS)'; \
214 unique=`for i in $$list; do echo $$i; done | \
215 awk ' { files[$$0] = 1; } \
paul718e3742002-12-13 20:15:29 +0000216 END { for (i in files) print i; }'`; \
paul1bb066b2003-03-17 01:18:55 +0000217 here=`pwd` && cd $(srcdir) \
218 && mkid -f$$here/ID $$unique $(LISP)
paul718e3742002-12-13 20:15:29 +0000219
paul1bb066b2003-03-17 01:18:55 +0000220TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
paul718e3742002-12-13 20:15:29 +0000221 tags=; \
222 here=`pwd`; \
paul1bb066b2003-03-17 01:18:55 +0000223 list='$(SOURCES) $(HEADERS)'; \
224 unique=`for i in $$list; do echo $$i; done | \
225 awk ' { files[$$0] = 1; } \
paul718e3742002-12-13 20:15:29 +0000226 END { for (i in files) print i; }'`; \
paul1bb066b2003-03-17 01:18:55 +0000227 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
228 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
paul718e3742002-12-13 20:15:29 +0000229
paul1bb066b2003-03-17 01:18:55 +0000230mostlyclean-tags:
paul718e3742002-12-13 20:15:29 +0000231
paul1bb066b2003-03-17 01:18:55 +0000232clean-tags:
paul718e3742002-12-13 20:15:29 +0000233
234distclean-tags:
paul1bb066b2003-03-17 01:18:55 +0000235 -rm -f TAGS ID
paul718e3742002-12-13 20:15:29 +0000236
paul1bb066b2003-03-17 01:18:55 +0000237maintainer-clean-tags:
238
239distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
240
241subdir = vtysh
paul718e3742002-12-13 20:15:29 +0000242
243distdir: $(DISTFILES)
paul1bb066b2003-03-17 01:18:55 +0000244 here=`cd $(top_builddir) && pwd`; \
245 top_distdir=`cd $(top_distdir) && pwd`; \
246 distdir=`cd $(distdir) && pwd`; \
247 cd $(top_srcdir) \
248 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign vtysh/Makefile
249 @for file in $(DISTFILES); do \
250 d=$(srcdir); \
paul718e3742002-12-13 20:15:29 +0000251 if test -d $$d/$$file; then \
paul1bb066b2003-03-17 01:18:55 +0000252 cp -pr $$d/$$file $(distdir)/$$file; \
paul718e3742002-12-13 20:15:29 +0000253 else \
254 test -f $(distdir)/$$file \
paul1bb066b2003-03-17 01:18:55 +0000255 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
256 || cp -p $$d/$$file $(distdir)/$$file || :; \
paul718e3742002-12-13 20:15:29 +0000257 fi; \
258 done
paul1bb066b2003-03-17 01:18:55 +0000259
260DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
261
262-include $(DEP_FILES)
263
264mostlyclean-depend:
265
266clean-depend:
267
268distclean-depend:
269 -rm -rf .deps
270
271maintainer-clean-depend:
272
273%.o: %.c
274 @echo '$(COMPILE) -c $<'; \
275 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
276 @-cp .deps/$(*F).pp .deps/$(*F).P; \
277 tr ' ' '\012' < .deps/$(*F).pp \
278 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
279 >> .deps/$(*F).P; \
280 rm .deps/$(*F).pp
281
282%.lo: %.c
283 @echo '$(LTCOMPILE) -c $<'; \
284 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
285 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
286 < .deps/$(*F).pp > .deps/$(*F).P; \
287 tr ' ' '\012' < .deps/$(*F).pp \
288 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
289 >> .deps/$(*F).P; \
290 rm -f .deps/$(*F).pp
291info-am:
292info: info-am
293dvi-am:
294dvi: dvi-am
paul718e3742002-12-13 20:15:29 +0000295check-am: all-am
296check: check-am
paul1bb066b2003-03-17 01:18:55 +0000297installcheck-am:
298installcheck: installcheck-am
299install-exec-am: install-binPROGRAMS install-sysconfDATA
paul718e3742002-12-13 20:15:29 +0000300install-exec: install-exec-am
paul1bb066b2003-03-17 01:18:55 +0000301
302install-data-am:
paul718e3742002-12-13 20:15:29 +0000303install-data: install-data-am
paul718e3742002-12-13 20:15:29 +0000304
305install-am: all-am
306 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
paul1bb066b2003-03-17 01:18:55 +0000307install: install-am
308uninstall-am: uninstall-binPROGRAMS uninstall-sysconfDATA
309uninstall: uninstall-am
310all-am: Makefile $(PROGRAMS) $(DATA) $(HEADERS)
311all-redirect: all-am
paul718e3742002-12-13 20:15:29 +0000312install-strip:
paul1bb066b2003-03-17 01:18:55 +0000313 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
314installdirs:
315 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(sysconfdir)
316
317
paul718e3742002-12-13 20:15:29 +0000318mostlyclean-generic:
319
320clean-generic:
321
322distclean-generic:
323 -rm -f Makefile $(CONFIG_CLEAN_FILES)
paul1bb066b2003-03-17 01:18:55 +0000324 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
paul718e3742002-12-13 20:15:29 +0000325
326maintainer-clean-generic:
paul1bb066b2003-03-17 01:18:55 +0000327mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
328 mostlyclean-tags mostlyclean-depend mostlyclean-generic
paul718e3742002-12-13 20:15:29 +0000329
330mostlyclean: mostlyclean-am
331
paul1bb066b2003-03-17 01:18:55 +0000332clean-am: clean-binPROGRAMS clean-compile clean-tags clean-depend \
333 clean-generic mostlyclean-am
paul718e3742002-12-13 20:15:29 +0000334
paul1bb066b2003-03-17 01:18:55 +0000335clean: clean-am
paul718e3742002-12-13 20:15:29 +0000336
paul1bb066b2003-03-17 01:18:55 +0000337distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \
338 distclean-depend distclean-generic clean-am
paul718e3742002-12-13 20:15:29 +0000339
paul1bb066b2003-03-17 01:18:55 +0000340distclean: distclean-am
paul718e3742002-12-13 20:15:29 +0000341
paul1bb066b2003-03-17 01:18:55 +0000342maintainer-clean-am: maintainer-clean-binPROGRAMS \
343 maintainer-clean-compile maintainer-clean-tags \
344 maintainer-clean-depend maintainer-clean-generic \
345 distclean-am
346 @echo "This command is intended for maintainers to use;"
347 @echo "it deletes files that may require special tools to rebuild."
paul718e3742002-12-13 20:15:29 +0000348
paul1bb066b2003-03-17 01:18:55 +0000349maintainer-clean: maintainer-clean-am
paul718e3742002-12-13 20:15:29 +0000350
paul1bb066b2003-03-17 01:18:55 +0000351.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
352maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
353mostlyclean-compile distclean-compile clean-compile \
354maintainer-clean-compile uninstall-sysconfDATA install-sysconfDATA tags \
355mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
356distdir mostlyclean-depend distclean-depend clean-depend \
357maintainer-clean-depend info-am info dvi-am dvi check check-am \
358installcheck-am installcheck install-exec-am install-exec \
359install-data-am install-data install-am install uninstall-am uninstall \
360all-redirect all-am all installdirs mostlyclean-generic \
361distclean-generic clean-generic maintainer-clean-generic clean \
362mostlyclean distclean maintainer-clean
paul718e3742002-12-13 20:15:29 +0000363
364
365rebuild4:
366 ./extract.pl ../zebra/*.c ../ripd/*.c ../ospfd/*.c ../bgpd/*.c ../lib/keychain.c ../lib/routemap.c ../lib/filter.c ../lib/plist.c >vtysh_cmd.c
367
368rebuild:
369 ./extract.pl ../zebra/*.c ../ripd/*.c ../ripngd/*.c ../ospfd/*.c ../ospf6d/*.c ../bgpd/*.c ../lib/keychain.c ../lib/routemap.c ../lib/filter.c ../lib/plist.c >vtysh_cmd.c
paul1bb066b2003-03-17 01:18:55 +0000370
paul718e3742002-12-13 20:15:29 +0000371# Tell versions [3.59,3.63) of GNU make to not export all variables.
372# Otherwise a system limit (for SysV at least) may be exceeded.
373.NOEXPORT: