Tomato 1.28
[tomato.git] / release / src / router / zebra / vtysh / Makefile
blobb8e06840b2238e3f21182cae0957f75471c3b615
1 # Generated automatically from Makefile.in by configure.
2 # Makefile.in generated automatically by automake 1.4 from Makefile.am
4 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
5 # 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.
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.
15 SHELL = /bin/sh
17 srcdir = .
18 top_srcdir = ..
19 prefix = /usr/local/zebra
20 exec_prefix = ${prefix}
22 bindir = ${exec_prefix}/bin
23 sbindir = ${exec_prefix}/sbin
24 libexecdir = ${exec_prefix}/libexec
25 datadir = ${prefix}/share
26 sysconfdir = ${prefix}/etc
27 sharedstatedir = ${prefix}/com
28 localstatedir = ${prefix}/var
29 libdir = ${exec_prefix}/lib
30 infodir = ${prefix}/info
31 mandir = ${prefix}/man
32 includedir = ${prefix}/include
33 oldincludedir = /usr/include
35 DESTDIR =
37 pkgdatadir = $(datadir)/zebra
38 pkglibdir = $(libdir)/zebra
39 pkgincludedir = $(includedir)/zebra
41 top_builddir = ..
43 ACLOCAL = aclocal
44 AUTOCONF = autoconf
45 AUTOMAKE = automake
46 AUTOHEADER = autoheader
48 INSTALL = /usr/bin/install -c
49 INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = ${INSTALL} -m 644
51 INSTALL_SCRIPT = ${INSTALL_PROGRAM}
52 transform = s,x,x,
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
60 host_alias = i686-pc-linux-gnu
61 host_triplet = i686-pc-linux-gnu
62 AR = ar
63 BGPD =
64 CC = gcc
65 CPP = gcc -E
66 CURSES =
67 IF_METHOD = if_netlink.o
68 IF_PROC = if_proc.o
69 IPFORWARD = ipforward_proc.o
70 KERNEL_METHOD =
71 LIBPAM =
72 LIB_IPV6 =
73 LIB_REGEX =
74 MAKEINFO = makeinfo
75 MULTIPATH_NUM = 1
76 OSPF6D =
77 OSPFD =
78 OTHER_METHOD =
79 PACKAGE = zebra
80 RANLIB = ranlib
81 RIPD = ripd
82 RIPNGD =
83 RTREAD_METHOD = rtread_netlink.o
84 RT_METHOD = rt_netlink.o
85 VERSION = 0.92a
86 VTYSH =
87 ZEBRA = zebra
89 INCLUDES = -I.. -I$(top_srcdir) -I$(top_srcdir)/lib
90 DEFS = -DHAVE_CONFIG_H -DSYSCONFDIR=\"$(sysconfdir)/\"
92 LIBS = -lm -lcrypt
94 bin_PROGRAMS = vtysh
96 vtysh_SOURCES = vtysh_main.c vtysh.c vtysh_cmd.c vtysh_user.c vtysh_config.c
97 noinst_HEADERS = vtysh.h vtysh_user.h
98 vtysh_LDADD = ../lib/libzebra.a
100 sysconf_DATA = vtysh.conf.sample
102 EXTRA_DIST = extract.pl vtysh.conf.sample
103 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
104 CONFIG_HEADER = ../config.h
105 CONFIG_CLEAN_FILES =
106 PROGRAMS = $(bin_PROGRAMS)
108 CPPFLAGS =
109 LDFLAGS =
110 vtysh_OBJECTS = vtysh_main.o vtysh.o vtysh_cmd.o vtysh_user.o \
111 vtysh_config.o
112 vtysh_DEPENDENCIES = ../lib/libzebra.a
113 vtysh_LDFLAGS =
114 CFLAGS = -g -O2 -Wall
115 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
116 CCLD = $(CC)
117 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
118 DATA = $(sysconf_DATA)
120 HEADERS = $(noinst_HEADERS)
122 DIST_COMMON = ChangeLog Makefile.am Makefile.in
125 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
127 TAR = tar
128 GZIP_ENV = --best
129 SOURCES = $(vtysh_SOURCES)
130 OBJECTS = $(vtysh_OBJECTS)
132 all: all-redirect
133 .SUFFIXES:
134 .SUFFIXES: .S .c .o .s
135 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
136 cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps vtysh/Makefile
138 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
139 cd $(top_builddir) \
140 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
143 mostlyclean-binPROGRAMS:
145 clean-binPROGRAMS:
146 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
148 distclean-binPROGRAMS:
150 maintainer-clean-binPROGRAMS:
152 install-binPROGRAMS: $(bin_PROGRAMS)
153 @$(NORMAL_INSTALL)
154 $(mkinstalldirs) $(DESTDIR)$(bindir)
155 @list='$(bin_PROGRAMS)'; for p in $$list; do \
156 if test -f $$p; then \
157 echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
158 $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
159 else :; fi; \
160 done
162 uninstall-binPROGRAMS:
163 @$(NORMAL_UNINSTALL)
164 list='$(bin_PROGRAMS)'; for p in $$list; do \
165 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
166 done
168 .c.o:
169 $(COMPILE) -c $<
171 .s.o:
172 $(COMPILE) -c $<
174 .S.o:
175 $(COMPILE) -c $<
177 mostlyclean-compile:
178 -rm -f *.o core *.core
180 clean-compile:
182 distclean-compile:
183 -rm -f *.tab.c
185 maintainer-clean-compile:
187 vtysh: $(vtysh_OBJECTS) $(vtysh_DEPENDENCIES)
188 @rm -f vtysh
189 $(LINK) $(vtysh_LDFLAGS) $(vtysh_OBJECTS) $(vtysh_LDADD) $(LIBS)
191 install-sysconfDATA: $(sysconf_DATA)
192 @$(NORMAL_INSTALL)
193 $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
194 @list='$(sysconf_DATA)'; for p in $$list; do \
195 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; \
202 done
204 uninstall-sysconfDATA:
205 @$(NORMAL_UNINSTALL)
206 list='$(sysconf_DATA)'; for p in $$list; do \
207 rm -f $(DESTDIR)$(sysconfdir)/$$p; \
208 done
210 tags: TAGS
212 ID: $(HEADERS) $(SOURCES) $(LISP)
213 list='$(SOURCES) $(HEADERS)'; \
214 unique=`for i in $$list; do echo $$i; done | \
215 awk ' { files[$$0] = 1; } \
216 END { for (i in files) print i; }'`; \
217 here=`pwd` && cd $(srcdir) \
218 && mkid -f$$here/ID $$unique $(LISP)
220 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
221 tags=; \
222 here=`pwd`; \
223 list='$(SOURCES) $(HEADERS)'; \
224 unique=`for i in $$list; do echo $$i; done | \
225 awk ' { files[$$0] = 1; } \
226 END { for (i in files) print i; }'`; \
227 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
228 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
230 mostlyclean-tags:
232 clean-tags:
234 distclean-tags:
235 -rm -f TAGS ID
237 maintainer-clean-tags:
239 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
241 subdir = vtysh
243 distdir: $(DISTFILES)
244 @for file in $(DISTFILES); do \
245 d=$(srcdir); \
246 if test -d $$d/$$file; then \
247 cp -pr $$/$$file $(distdir)/$$file; \
248 else \
249 test -f $(distdir)/$$file \
250 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
251 || cp -p $$d/$$file $(distdir)/$$file || :; \
252 fi; \
253 done
254 info-am:
255 info: info-am
256 dvi-am:
257 dvi: dvi-am
258 check-am: all-am
259 check: check-am
260 installcheck-am:
261 installcheck: installcheck-am
262 install-exec-am: install-binPROGRAMS install-sysconfDATA
263 install-exec: install-exec-am
265 install-data-am:
266 install-data: install-data-am
268 install-am: all-am
269 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
270 install: install-am
271 uninstall-am: uninstall-binPROGRAMS uninstall-sysconfDATA
272 uninstall: uninstall-am
273 all-am: Makefile $(PROGRAMS) $(DATA) $(HEADERS)
274 all-redirect: all-am
275 install-strip:
276 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
277 installdirs:
278 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(sysconfdir)
281 mostlyclean-generic:
283 clean-generic:
285 distclean-generic:
286 -rm -f Makefile $(CONFIG_CLEAN_FILES)
287 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
289 maintainer-clean-generic:
290 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
291 mostlyclean-tags mostlyclean-generic
293 mostlyclean: mostlyclean-am
295 clean-am: clean-binPROGRAMS clean-compile clean-tags clean-generic \
296 mostlyclean-am
298 clean: clean-am
300 distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \
301 distclean-generic clean-am
303 distclean: distclean-am
305 maintainer-clean-am: maintainer-clean-binPROGRAMS \
306 maintainer-clean-compile maintainer-clean-tags \
307 maintainer-clean-generic distclean-am
308 @echo "This command is intended for maintainers to use;"
309 @echo "it deletes files that may require special tools to rebuild."
311 maintainer-clean: maintainer-clean-am
313 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
314 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
315 mostlyclean-compile distclean-compile clean-compile \
316 maintainer-clean-compile uninstall-sysconfDATA install-sysconfDATA tags \
317 mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
318 distdir info-am info dvi-am dvi check check-am installcheck-am \
319 installcheck install-exec-am install-exec install-data-am install-data \
320 install-am install uninstall-am uninstall all-redirect all-am all \
321 installdirs mostlyclean-generic distclean-generic clean-generic \
322 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
325 rebuild4:
326 ./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
328 rebuild:
329 ./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
331 depend:
332 @$(CPP) -MM $(INCLUDES) $(LDFLAGS) *.c
334 vtysh.o: vtysh.c ../lib/command.h ../lib/vector.h ../lib/vty.h \
335 ../vtysh/vtysh.h
336 vtysh_cmd.o: vtysh_cmd.c ../lib/command.h ../lib/vector.h ../lib/vty.h \
337 vtysh.h
338 vtysh_config.o: vtysh_config.c ../lib/command.h ../lib/vector.h \
339 ../lib/vty.h ../lib/linklist.h ../lib/memory.h ../vtysh/vtysh.h
340 vtysh_main.o: vtysh_main.c ../lib/version.h ../lib/command.h \
341 ../lib/vector.h ../lib/vty.h ../vtysh/vtysh.h ../vtysh/vtysh_user.h
342 vtysh_user.o: vtysh_user.c ../lib/memory.h ../lib/linklist.h \
343 ../lib/command.h ../lib/vector.h ../lib/vty.h
345 # Tell versions [3.59,3.63) of GNU make to not export all variables.
346 # Otherwise a system limit (for SysV at least) may be exceeded.
347 .NOEXPORT: