blob: 528c994d2a550dc318a934eda7897550ef7e8dc5 [file] [log] [blame]
paul68980082003-03-25 05:07:42 +00001# Makefile.in generated automatically by automake 1.5 from Makefile.am.
paul718e3742002-12-13 20:15:29 +00002
paul68980082003-03-25 05:07:42 +00003# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
4# Free Software Foundation, Inc.
paul718e3742002-12-13 20:15:29 +00005# This Makefile.in is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved.
8
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12# PARTICULAR PURPOSE.
13
paul68980082003-03-25 05:07:42 +000014@SET_MAKE@
paul1bb066b2003-03-17 01:18:55 +000015
16SHELL = @SHELL@
paul718e3742002-12-13 20:15:29 +000017
18srcdir = @srcdir@
19top_srcdir = @top_srcdir@
20VPATH = @srcdir@
paul1bb066b2003-03-17 01:18:55 +000021prefix = @prefix@
22exec_prefix = @exec_prefix@
23
24bindir = @bindir@
25sbindir = @sbindir@
26libexecdir = @libexecdir@
27datadir = @datadir@
28sysconfdir = @sysconfdir@
29sharedstatedir = @sharedstatedir@
30localstatedir = @localstatedir@
31libdir = @libdir@
32infodir = @infodir@
33mandir = @mandir@
34includedir = @includedir@
35oldincludedir = /usr/include
paul718e3742002-12-13 20:15:29 +000036pkgdatadir = $(datadir)/@PACKAGE@
37pkglibdir = $(libdir)/@PACKAGE@
38pkgincludedir = $(includedir)/@PACKAGE@
39top_builddir = ..
40
paul1bb066b2003-03-17 01:18:55 +000041ACLOCAL = @ACLOCAL@
42AUTOCONF = @AUTOCONF@
43AUTOMAKE = @AUTOMAKE@
44AUTOHEADER = @AUTOHEADER@
45
paul718e3742002-12-13 20:15:29 +000046INSTALL = @INSTALL@
paul68980082003-03-25 05:07:42 +000047INSTALL_PROGRAM = @INSTALL_PROGRAM@
paul1bb066b2003-03-17 01:18:55 +000048INSTALL_DATA = @INSTALL_DATA@
49INSTALL_SCRIPT = @INSTALL_SCRIPT@
paul68980082003-03-25 05:07:42 +000050INSTALL_HEADER = $(INSTALL_DATA)
paul1bb066b2003-03-17 01:18:55 +000051transform = @program_transform_name@
paul718e3742002-12-13 20:15:29 +000052NORMAL_INSTALL = :
53PRE_INSTALL = :
54POST_INSTALL = :
55NORMAL_UNINSTALL = :
56PRE_UNINSTALL = :
57POST_UNINSTALL = :
paul1bb066b2003-03-17 01:18:55 +000058host_alias = @host_alias@
paul718e3742002-12-13 20:15:29 +000059host_triplet = @host@
paul68980082003-03-25 05:07:42 +000060AMTAR = @AMTAR@
paul718e3742002-12-13 20:15:29 +000061AR = @AR@
paul68980082003-03-25 05:07:42 +000062AWK = @AWK@
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@
paul68980082003-03-25 05:07:42 +000067DEPDIR = @DEPDIR@
68EXEEXT = @EXEEXT@
paul718e3742002-12-13 20:15:29 +000069IF_METHOD = @IF_METHOD@
70IF_PROC = @IF_PROC@
paul68980082003-03-25 05:07:42 +000071INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
paul718e3742002-12-13 20:15:29 +000072IPFORWARD = @IPFORWARD@
73KERNEL_METHOD = @KERNEL_METHOD@
paul718e3742002-12-13 20:15:29 +000074LIBPAM = @LIBPAM@
paul718e3742002-12-13 20:15:29 +000075LIB_IPV6 = @LIB_IPV6@
76LIB_REGEX = @LIB_REGEX@
paul718e3742002-12-13 20:15:29 +000077MULTIPATH_NUM = @MULTIPATH_NUM@
paul68980082003-03-25 05:07:42 +000078OBJEXT = @OBJEXT@
paul718e3742002-12-13 20:15:29 +000079OSPF6D = @OSPF6D@
paul68980082003-03-25 05:07:42 +000080OSPFAPI = @OSPFAPI@
paul1bb066b2003-03-17 01:18:55 +000081OSPFCLIENT = @OSPFCLIENT@
paul718e3742002-12-13 20:15:29 +000082OSPFD = @OSPFD@
83OTHER_METHOD = @OTHER_METHOD@
84PACKAGE = @PACKAGE@
paul718e3742002-12-13 20:15:29 +000085RANLIB = @RANLIB@
86RIPD = @RIPD@
87RIPNGD = @RIPNGD@
88RTREAD_METHOD = @RTREAD_METHOD@
89RT_METHOD = @RT_METHOD@
paul718e3742002-12-13 20:15:29 +000090VERSION = @VERSION@
91VTYSH = @VTYSH@
92ZEBRA = @ZEBRA@
paul68980082003-03-25 05:07:42 +000093am__include = @am__include@
94am__quote = @am__quote@
95install_sh = @install_sh@
paul1bb066b2003-03-17 01:18:55 +000096
97INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib
98DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
99
100LIBS = @LIBS@ @CURSES@ @LIBPAM@
paul718e3742002-12-13 20:15:29 +0000101
102bin_PROGRAMS = vtysh
103
104vtysh_SOURCES = vtysh_main.c vtysh.c vtysh_cmd.c vtysh_user.c vtysh_config.c
105noinst_HEADERS = vtysh.h vtysh_user.h
106vtysh_LDADD = ../lib/libzebra.a
107
108sysconf_DATA = vtysh.conf.sample
109
110EXTRA_DIST = extract.pl vtysh.conf.sample
paul68980082003-03-25 05:07:42 +0000111subdir = vtysh
paul718e3742002-12-13 20:15:29 +0000112mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
paul68980082003-03-25 05:07:42 +0000113CONFIG_HEADER = $(top_builddir)/config.h
114CONFIG_CLEAN_FILES =
115bin_PROGRAMS = vtysh$(EXEEXT)
116PROGRAMS = $(bin_PROGRAMS)
paul718e3742002-12-13 20:15:29 +0000117
paul68980082003-03-25 05:07:42 +0000118am_vtysh_OBJECTS = vtysh_main.$(OBJEXT) vtysh.$(OBJEXT) \
119 vtysh_cmd.$(OBJEXT) vtysh_user.$(OBJEXT) vtysh_config.$(OBJEXT)
120vtysh_OBJECTS = $(am_vtysh_OBJECTS)
121vtysh_DEPENDENCIES = ../lib/libzebra.a
122vtysh_LDFLAGS =
123DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
paul1bb066b2003-03-17 01:18:55 +0000124CPPFLAGS = @CPPFLAGS@
125LDFLAGS = @LDFLAGS@
paul68980082003-03-25 05:07:42 +0000126depcomp = $(SHELL) $(top_srcdir)/depcomp
127@AMDEP_TRUE@DEP_FILES = $(DEPDIR)/vtysh.Po $(DEPDIR)/vtysh_cmd.Po \
128@AMDEP_TRUE@ $(DEPDIR)/vtysh_config.Po $(DEPDIR)/vtysh_main.Po \
129@AMDEP_TRUE@ $(DEPDIR)/vtysh_user.Po
130COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
131 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
paul718e3742002-12-13 20:15:29 +0000132CCLD = $(CC)
paul68980082003-03-25 05:07:42 +0000133LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
134CFLAGS = @CFLAGS@
135DIST_SOURCES = $(vtysh_SOURCES)
136DATA = $(sysconf_DATA)
paul718e3742002-12-13 20:15:29 +0000137
paul68980082003-03-25 05:07:42 +0000138HEADERS = $(noinst_HEADERS)
paul718e3742002-12-13 20:15:29 +0000139
paul68980082003-03-25 05:07:42 +0000140DIST_COMMON = $(noinst_HEADERS) ChangeLog Makefile.am Makefile.in
paul718e3742002-12-13 20:15:29 +0000141SOURCES = $(vtysh_SOURCES)
142
paul68980082003-03-25 05:07:42 +0000143all: all-am
144
paul718e3742002-12-13 20:15:29 +0000145.SUFFIXES:
paul68980082003-03-25 05:07:42 +0000146.SUFFIXES: .c .o .obj
147$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
148 cd $(top_srcdir) && \
149 $(AUTOMAKE) --foreign vtysh/Makefile
150Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
151 cd $(top_builddir) && \
152 CONFIG_HEADERS= CONFIG_LINKS= \
153 CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
paul718e3742002-12-13 20:15:29 +0000154install-binPROGRAMS: $(bin_PROGRAMS)
155 @$(NORMAL_INSTALL)
156 $(mkinstalldirs) $(DESTDIR)$(bindir)
157 @list='$(bin_PROGRAMS)'; for p in $$list; do \
paul68980082003-03-25 05:07:42 +0000158 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
159 if test -f $$p \
160 ; then \
161 f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
162 echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
163 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
paul718e3742002-12-13 20:15:29 +0000164 else :; fi; \
165 done
166
167uninstall-binPROGRAMS:
168 @$(NORMAL_UNINSTALL)
paul68980082003-03-25 05:07:42 +0000169 @list='$(bin_PROGRAMS)'; for p in $$list; do \
170 f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
171 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
172 rm -f $(DESTDIR)$(bindir)/$$f; \
paul718e3742002-12-13 20:15:29 +0000173 done
174
paul68980082003-03-25 05:07:42 +0000175clean-binPROGRAMS:
176 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
177vtysh$(EXEEXT): $(vtysh_OBJECTS) $(vtysh_DEPENDENCIES)
178 @rm -f vtysh$(EXEEXT)
179 $(LINK) $(vtysh_LDFLAGS) $(vtysh_OBJECTS) $(vtysh_LDADD) $(LIBS)
paul718e3742002-12-13 20:15:29 +0000180
181mostlyclean-compile:
paul68980082003-03-25 05:07:42 +0000182 -rm -f *.$(OBJEXT) core *.core
paul718e3742002-12-13 20:15:29 +0000183
184distclean-compile:
185 -rm -f *.tab.c
186
paul68980082003-03-25 05:07:42 +0000187@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/vtysh.Po@am__quote@
188@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/vtysh_cmd.Po@am__quote@
189@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/vtysh_config.Po@am__quote@
190@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/vtysh_main.Po@am__quote@
191@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/vtysh_user.Po@am__quote@
paul718e3742002-12-13 20:15:29 +0000192
paul68980082003-03-25 05:07:42 +0000193distclean-depend:
194 -rm -rf $(DEPDIR)
paul718e3742002-12-13 20:15:29 +0000195
paul68980082003-03-25 05:07:42 +0000196.c.o:
197@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
198@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
199@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
200 $(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
201
202.c.obj:
203@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
204@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
205@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
206 $(COMPILE) -c `cygpath -w $<`
207CCDEPMODE = @CCDEPMODE@
208uninstall-info-am:
paul718e3742002-12-13 20:15:29 +0000209install-sysconfDATA: $(sysconf_DATA)
210 @$(NORMAL_INSTALL)
211 $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
212 @list='$(sysconf_DATA)'; for p in $$list; do \
paul68980082003-03-25 05:07:42 +0000213 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
214 f="`echo $$p | sed -e 's|^.*/||'`"; \
215 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(sysconfdir)/$$f"; \
216 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(sysconfdir)/$$f; \
paul718e3742002-12-13 20:15:29 +0000217 done
218
219uninstall-sysconfDATA:
220 @$(NORMAL_UNINSTALL)
paul68980082003-03-25 05:07:42 +0000221 @list='$(sysconf_DATA)'; for p in $$list; do \
222 f="`echo $$p | sed -e 's|^.*/||'`"; \
223 echo " rm -f $(DESTDIR)$(sysconfdir)/$$f"; \
224 rm -f $(DESTDIR)$(sysconfdir)/$$f; \
paul718e3742002-12-13 20:15:29 +0000225 done
226
paul718e3742002-12-13 20:15:29 +0000227tags: TAGS
228
paul68980082003-03-25 05:07:42 +0000229ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
230 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
231 unique=`for i in $$list; do \
232 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
233 done | \
234 $(AWK) ' { files[$$0] = 1; } \
paul718e3742002-12-13 20:15:29 +0000235 END { for (i in files) print i; }'`; \
paul68980082003-03-25 05:07:42 +0000236 mkid -fID $$unique $(LISP)
paul718e3742002-12-13 20:15:29 +0000237
paul68980082003-03-25 05:07:42 +0000238TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
239 $(TAGS_FILES) $(LISP)
paul718e3742002-12-13 20:15:29 +0000240 tags=; \
241 here=`pwd`; \
paul68980082003-03-25 05:07:42 +0000242 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
243 unique=`for i in $$list; do \
244 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
245 done | \
246 $(AWK) ' { files[$$0] = 1; } \
paul718e3742002-12-13 20:15:29 +0000247 END { for (i in files) print i; }'`; \
paul1bb066b2003-03-17 01:18:55 +0000248 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
paul68980082003-03-25 05:07:42 +0000249 || etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
paul718e3742002-12-13 20:15:29 +0000250
paul68980082003-03-25 05:07:42 +0000251GTAGS:
252 here=`CDPATH=: && cd $(top_builddir) && pwd` \
253 && cd $(top_srcdir) \
254 && gtags -i $(GTAGS_ARGS) $$here
paul718e3742002-12-13 20:15:29 +0000255
256distclean-tags:
paul68980082003-03-25 05:07:42 +0000257 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
paul718e3742002-12-13 20:15:29 +0000258
paul68980082003-03-25 05:07:42 +0000259DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
paul1bb066b2003-03-17 01:18:55 +0000260
paul68980082003-03-25 05:07:42 +0000261top_distdir = ..
262distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
paul718e3742002-12-13 20:15:29 +0000263
264distdir: $(DISTFILES)
paul1bb066b2003-03-17 01:18:55 +0000265 @for file in $(DISTFILES); do \
paul68980082003-03-25 05:07:42 +0000266 if test -f $$file; then d=.; else d=$(srcdir); fi; \
267 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
268 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
269 $(mkinstalldirs) "$(distdir)/$$dir"; \
270 fi; \
paul718e3742002-12-13 20:15:29 +0000271 if test -d $$d/$$file; then \
paul68980082003-03-25 05:07:42 +0000272 cp -pR $$d/$$file $(distdir) \
273 || exit 1; \
paul718e3742002-12-13 20:15:29 +0000274 else \
275 test -f $(distdir)/$$file \
paul68980082003-03-25 05:07:42 +0000276 || cp -p $$d/$$file $(distdir)/$$file \
277 || exit 1; \
paul718e3742002-12-13 20:15:29 +0000278 fi; \
279 done
280check-am: all-am
281check: check-am
paul68980082003-03-25 05:07:42 +0000282all-am: Makefile $(PROGRAMS) $(DATA) $(HEADERS)
paul1bb066b2003-03-17 01:18:55 +0000283
paul68980082003-03-25 05:07:42 +0000284installdirs:
285 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(sysconfdir)
286
287install: install-am
288install-exec: install-exec-am
paul718e3742002-12-13 20:15:29 +0000289install-data: install-data-am
paul68980082003-03-25 05:07:42 +0000290uninstall: uninstall-am
paul718e3742002-12-13 20:15:29 +0000291
292install-am: all-am
293 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
paul68980082003-03-25 05:07:42 +0000294
295installcheck: installcheck-am
paul718e3742002-12-13 20:15:29 +0000296install-strip:
paul68980082003-03-25 05:07:42 +0000297 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
298 `test -z '$(STRIP)' || \
299 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
paul718e3742002-12-13 20:15:29 +0000300mostlyclean-generic:
301
302clean-generic:
303
304distclean-generic:
paul68980082003-03-25 05:07:42 +0000305 -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
paul718e3742002-12-13 20:15:29 +0000306
307maintainer-clean-generic:
paul68980082003-03-25 05:07:42 +0000308 @echo "This command is intended for maintainers to use"
309 @echo "it deletes files that may require special tools to rebuild."
paul1bb066b2003-03-17 01:18:55 +0000310clean: clean-am
paul718e3742002-12-13 20:15:29 +0000311
paul68980082003-03-25 05:07:42 +0000312clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
paul718e3742002-12-13 20:15:29 +0000313
paul1bb066b2003-03-17 01:18:55 +0000314distclean: distclean-am
paul718e3742002-12-13 20:15:29 +0000315
paul68980082003-03-25 05:07:42 +0000316distclean-am: clean-am distclean-compile distclean-depend \
317 distclean-generic distclean-tags
318
319dvi: dvi-am
320
321dvi-am:
322
323info: info-am
324
325info-am:
326
327install-data-am:
328
329install-exec-am: install-binPROGRAMS install-sysconfDATA
330
331install-info: install-info-am
332
333install-man:
334
335installcheck-am:
paul718e3742002-12-13 20:15:29 +0000336
paul1bb066b2003-03-17 01:18:55 +0000337maintainer-clean: maintainer-clean-am
paul718e3742002-12-13 20:15:29 +0000338
paul68980082003-03-25 05:07:42 +0000339maintainer-clean-am: distclean-am maintainer-clean-generic
340
341mostlyclean: mostlyclean-am
342
343mostlyclean-am: mostlyclean-compile mostlyclean-generic
344
345uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
346 uninstall-sysconfDATA
347
348.PHONY: GTAGS all all-am check check-am clean clean-binPROGRAMS \
349 clean-generic distclean distclean-compile distclean-depend \
350 distclean-generic distclean-tags distdir dvi dvi-am info \
351 info-am install install-am install-binPROGRAMS install-data \
352 install-data-am install-exec install-exec-am install-info \
353 install-info-am install-man install-strip install-sysconfDATA \
354 installcheck installcheck-am installdirs maintainer-clean \
355 maintainer-clean-generic mostlyclean mostlyclean-compile \
356 mostlyclean-generic tags uninstall uninstall-am \
357 uninstall-binPROGRAMS uninstall-info-am uninstall-sysconfDATA
paul718e3742002-12-13 20:15:29 +0000358
359
360rebuild4:
361 ./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
362
363rebuild:
364 ./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
paul718e3742002-12-13 20:15:29 +0000365# Tell versions [3.59,3.63) of GNU make to not export all variables.
366# Otherwise a system limit (for SysV at least) may be exceeded.
367.NOEXPORT: