1 # Generated automatically from Makefile.in by configure.
2 # Makefile.in generated automatically by automake 1.4-p4 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
15 # Automake file for Wiretap
17 # $Id: Makefile,v 1.13 2002/05/09 23:50:34 gram Exp $
19 # Ethereal - Network traffic analyzer
20 # By Gerald Combs <gerald@zing.org>
21 # Copyright 1998 Gerald Combs
24 # This program is free software; you can redistribute it and/or
25 # modify it under the terms of the GNU General Public License
26 # as published by the Free Software Foundation; either version 2
27 # of the License, or (at your option) any later version.
29 # This program is distributed in the hope that it will be useful,
30 # but WITHOUT ANY WARRANTY; without even the implied warranty of
31 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32 # GNU General Public License for more details.
34 # You should have received a copy of the GNU General Public License
35 # along with this program; if not, write to the Free Software
36 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
44 exec_prefix = ${prefix}
46 bindir = ${exec_prefix}/bin
47 sbindir = ${exec_prefix}/sbin
48 libexecdir = ${exec_prefix}/libexec
49 datadir = ${prefix}/share
50 sysconfdir = ${prefix}/etc
51 sharedstatedir = ${prefix}/com
52 localstatedir = ${prefix}/var
53 libdir = ${exec_prefix}/lib
54 infodir = ${prefix}/info
55 mandir = ${prefix}/man
56 includedir = ${prefix}/include
57 oldincludedir = /usr/include
61 pkgdatadir = $(datadir)/libwtap.a
62 pkglibdir = $(libdir)/libwtap.a
63 pkgincludedir = $(includedir)/libwtap.a
70 AUTOHEADER = autoheader
72 INSTALL = /usr/bin/install -c
73 INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
74 INSTALL_DATA = ${INSTALL} -m 644
75 INSTALL_SCRIPT = ${INSTALL_PROGRAM}
84 host_alias = i686-pc-linux-gnu
85 host_triplet = i686-pc-linux-gnu
89 GLIB_CFLAGS = -I/usr/include/glib-1.2 -I/usr/lib/glib/include
90 GLIB_CONFIG = /usr/bin/glib-config
91 GLIB_LIBS = -L/usr/lib -lglib
99 ACLOCAL_AMFLAGS = `../aclocal-flags`
101 noinst_LIBRARIES = libwiretap.a
103 #EXTRA_LIBRARIES = libwiretap.a
105 CLEANFILES = libwiretap.a *~
108 libwiretap_a_SOURCES = ascend-grammar.y ascend-scanner.l ascend.c ascend.h ascend-int.h atm.c atm.h buffer.c buffer.h csids.c csids.h dbs-etherwatch.c dbs-etherwatch.h etherpeek.c etherpeek.h file.c file_wrappers.c file_wrappers.h i4btrace.c i4btrace.h i4b_trace.h iptrace.c iptrace.h lanalyzer.c lanalyzer.h libpcap.c libpcap.h netmon.c netmon.h nettl.c nettl.h netxray.c netxray.h ngsniffer.c ngsniffer.h pppdump.c pppdump.h radcom.c radcom.h snoop.c snoop.h toshiba.c toshiba.h visual.c visual.h vms.c vms.h wtap.c wtap.h wtap-int.h
111 EXTRA_DIST = ascend-grammar.c ascend-grammar.h ascend-scanner.c config.h.win32 Makefile.nmake wtap.def
114 # Any POSIX-compatible YACC should honor the -p flag
115 YFLAGS = -d -p ascend
116 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
117 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
118 CONFIG_HEADER = config.h
120 LIBRARIES = $(noinst_LIBRARIES)
123 DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I.
124 CPPFLAGS = -I/usr/local/include
125 LDFLAGS = -L/usr/local/lib
126 LIBS = -lz -L/usr/lib -lglib
127 libwiretap_a_LIBADD =
128 libwiretap_a_OBJECTS = ascend-grammar.o ascend-scanner.o ascend.o atm.o \
129 buffer.o csids.o dbs-etherwatch.o etherpeek.o file.o file_wrappers.o \
130 i4btrace.o iptrace.o lanalyzer.o libpcap.o netmon.o nettl.o netxray.o \
131 ngsniffer.o pppdump.o radcom.o snoop.o toshiba.o visual.o vms.o wtap.o
133 LEX_OUTPUT_ROOT = lex.yy
135 CFLAGS = -D_U_="__attribute__((unused))" -Wall -W -g -O2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include
136 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
138 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
139 DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
140 Makefile.am Makefile.in NEWS acconfig.h acinclude.m4 aclocal.m4 \
141 ascend-grammar.c ascend-scanner.c config.h.in configure configure.in
144 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
148 DEP_FILES = .deps/ascend-grammar.P .deps/ascend-scanner.P \
149 .deps/ascend.P .deps/atm.P .deps/buffer.P .deps/csids.P \
150 .deps/dbs-etherwatch.P .deps/etherpeek.P .deps/file.P \
151 .deps/file_wrappers.P .deps/i4btrace.P .deps/iptrace.P \
152 .deps/lanalyzer.P .deps/libpcap.P .deps/netmon.P .deps/nettl.P \
153 .deps/netxray.P .deps/ngsniffer.P .deps/pppdump.P .deps/radcom.P \
154 .deps/snoop.P .deps/toshiba.P .deps/visual.P .deps/vms.P .deps/wtap.P
155 SOURCES = $(libwiretap_a_SOURCES)
156 OBJECTS = $(libwiretap_a_OBJECTS)
160 .SUFFIXES: .S .c .l .o .s .y
161 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
162 cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
164 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
166 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
168 $(ACLOCAL_M4): configure.in acinclude.m4
169 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
171 config.status: $(srcdir)/configure.in $(CONFIG_STATUS_DEPENDENCIES)
172 $(SHELL) ./config.status --recheck
173 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
174 cd $(srcdir) && $(AUTOCONF)
177 @if test ! -f $@; then \
181 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
183 && CONFIG_FILES= CONFIG_HEADERS=config.h \
184 $(SHELL) ./config.status
185 @echo timestamp > stamp-h 2> /dev/null
186 $(srcdir)/config.h.in: $(srcdir)/stamp-h.in
187 @if test ! -f $@; then \
188 rm -f $(srcdir)/stamp-h.in; \
189 $(MAKE) $(srcdir)/stamp-h.in; \
191 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
192 cd $(top_srcdir) && $(AUTOHEADER)
193 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
202 maintainer-clean-hdr:
204 mostlyclean-noinstLIBRARIES:
206 clean-noinstLIBRARIES:
207 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
209 distclean-noinstLIBRARIES:
211 maintainer-clean-noinstLIBRARIES:
220 -rm -f *.o core *.core
227 maintainer-clean-compile:
229 libwiretap.a: $(libwiretap_a_OBJECTS) $(libwiretap_a_DEPENDENCIES)
231 $(AR) cru libwiretap.a $(libwiretap_a_OBJECTS) $(libwiretap_a_LIBADD)
232 $(RANLIB) libwiretap.a
234 $(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
236 $(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.c
237 if test -f y.tab.h; then \
238 if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
240 ascend-grammar.h: ascend-grammar.c
245 ID: $(HEADERS) $(SOURCES) $(LISP)
246 list='$(SOURCES) $(HEADERS)'; \
247 unique=`for i in $$list; do echo $$i; done | \
248 awk ' { files[$$0] = 1; } \
249 END { for (i in files) print i; }'`; \
250 here=`pwd` && cd $(srcdir) \
251 && mkid -f$$here/ID $$unique $(LISP)
253 TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
256 list='$(SOURCES) $(HEADERS)'; \
257 unique=`for i in $$list; do echo $$i; done | \
258 awk ' { files[$$0] = 1; } \
259 END { for (i in files) print i; }'`; \
260 test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
261 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
270 maintainer-clean-tags:
272 distdir = $(PACKAGE)-$(VERSION)
273 top_distdir = $(distdir)
275 # This target untars the dist file and tries a VPATH configuration. Then
276 # it guarantees that the distribution is self-contained by making another
280 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
281 mkdir $(distdir)/=build
282 mkdir $(distdir)/=inst
283 dc_install_base=`cd $(distdir)/=inst && pwd`; \
284 cd $(distdir)/=build \
285 && ../configure --srcdir=.. --prefix=$$dc_install_base \
286 && $(MAKE) $(AM_MAKEFLAGS) \
287 && $(MAKE) $(AM_MAKEFLAGS) dvi \
288 && $(MAKE) $(AM_MAKEFLAGS) check \
289 && $(MAKE) $(AM_MAKEFLAGS) install \
290 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
291 && $(MAKE) $(AM_MAKEFLAGS) dist
293 @banner="$(distdir).tar.gz is ready for distribution"; \
294 dashes=`echo "$$banner" | sed s/./=/g`; \
299 -chmod -R a+r $(distdir)
300 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
303 -chmod -R a+r $(distdir)
304 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
306 distdir: $(DISTFILES)
309 -chmod 777 $(distdir)
310 here=`cd $(top_builddir) && pwd`; \
311 top_distdir=`cd $(distdir) && pwd`; \
312 distdir=`cd $(distdir) && pwd`; \
314 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
315 @for file in $(DISTFILES); do \
317 if test -d $$d/$$file; then \
318 cp -pr $$d/$$file $(distdir)/$$file; \
320 test -f $(distdir)/$$file \
321 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
322 || cp -p $$d/$$file $(distdir)/$$file || :; \
326 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
328 -include $(DEP_FILES)
337 maintainer-clean-depend:
340 @echo '$(COMPILE) -c $<'; \
341 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
342 @-cp .deps/$(*F).pp .deps/$(*F).P; \
343 tr ' ' '\012' < .deps/$(*F).pp \
344 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
349 @echo '$(LTCOMPILE) -c $<'; \
350 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
351 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
352 < .deps/$(*F).pp > .deps/$(*F).P; \
353 tr ' ' '\012' < .deps/$(*F).pp \
354 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
364 installcheck: installcheck-am
365 all-recursive-am: config.h
366 $(MAKE) $(AM_MAKEFLAGS) all-recursive
369 install-exec: install-exec-am
372 install-data: install-data-am
375 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
378 uninstall: uninstall-am
379 all-am: Makefile $(LIBRARIES) config.h
382 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
389 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
392 -rm -f Makefile $(CONFIG_CLEAN_FILES)
393 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
395 maintainer-clean-generic:
396 -test -z "ascend-scannerlascend-grammarhascend-grammarc" || rm -f ascend-scannerl ascend-grammarh ascend-grammarc
397 mostlyclean-am: mostlyclean-hdr mostlyclean-noinstLIBRARIES \
398 mostlyclean-compile mostlyclean-tags mostlyclean-depend \
401 mostlyclean: mostlyclean-am
403 clean-am: clean-hdr clean-noinstLIBRARIES clean-compile clean-tags \
404 clean-depend clean-generic mostlyclean-am
408 distclean-am: distclean-hdr distclean-noinstLIBRARIES distclean-compile \
409 distclean-tags distclean-depend distclean-generic \
412 distclean: distclean-am
415 maintainer-clean-am: maintainer-clean-hdr \
416 maintainer-clean-noinstLIBRARIES \
417 maintainer-clean-compile maintainer-clean-tags \
418 maintainer-clean-depend maintainer-clean-generic \
420 @echo "This command is intended for maintainers to use;"
421 @echo "it deletes files that may require special tools to rebuild."
423 maintainer-clean: maintainer-clean-am
426 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
427 mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
428 clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
429 mostlyclean-compile distclean-compile clean-compile \
430 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
431 clean-tags maintainer-clean-tags distdir mostlyclean-depend \
432 distclean-depend clean-depend maintainer-clean-depend info-am info \
433 dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
434 install-exec-am install-exec install-data-am install-data install-am \
435 install uninstall-am uninstall all-redirect all-am all installdirs \
436 mostlyclean-generic distclean-generic clean-generic \
437 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
440 ascend-scanner.c : ascend-scanner.l
441 $(LEX) -Pascend -oascend-scanner.c $(srcdir)/ascend-scanner.l
443 # Tell versions [3.59,3.63) of GNU make to not export all variables.
444 # Otherwise a system limit (for SysV at least) may be exceeded.