1 # Generated automatically from Makefile.in by configure.
2 # Makefile.in generated automatically by automake 1.4a 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
19 exec_prefix = ${prefix}
21 bindir = ${exec_prefix}/bin
22 sbindir = ${exec_prefix}/sbin
23 libexecdir = ${exec_prefix}/libexec
24 datadir = ${prefix}/share
25 sysconfdir = ${prefix}/etc
26 sharedstatedir = ${prefix}/com
27 localstatedir = ${prefix}/var
28 libdir = ${exec_prefix}/lib
29 infodir = ${prefix}/info
30 mandir = ${prefix}/man
31 includedir = ${prefix}/include
32 oldincludedir = /usr/include
36 pkgdatadir = $(datadir)/libwtap.a
37 pkglibdir = $(libdir)/libwtap.a
38 pkgincludedir = $(includedir)/libwtap.a
45 AUTOHEADER = autoheader
47 INSTALL = /usr/bin/install -c
48 INSTALL_PROGRAM = ${INSTALL}
49 INSTALL_DATA = ${INSTALL} -m 644
50 INSTALL_SCRIPT = ${INSTALL}
65 GLIB_CFLAGS = -I/usr/lib/glib/include
66 GLIB_CONFIG = /usr/bin/glib-config
67 GLIB_LIBS = -L/usr/lib -lglib
79 # Automake file for Wiretap
81 # $Id: Makefile,v 1.12 1999/09/11 04:50:43 gerald Exp $
83 # Ethereal - Network traffic analyzer
84 # By Gerald Combs <gerald@zing.org>
85 # Copyright 1998 Gerald Combs
88 # This program is free software; you can redistribute it and/or
89 # modify it under the terms of the GNU General Public License
90 # as published by the Free Software Foundation; either version 2
91 # of the License, or (at your option) any later version.
93 # This program is distributed in the hope that it will be useful,
94 # but WITHOUT ANY WARRANTY; without even the implied warranty of
95 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
96 # GNU General Public License for more details.
98 # You should have received a copy of the GNU General Public License
99 # along with this program; if not, write to the Free Software
100 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
103 noinst_LIBRARIES = libwiretap.a
105 #EXTRA_LIBRARIES = libwiretap.a
112 libwiretap_a_SOURCES = \
145 # Any POSIX-compatible YACC should honor the -p flag
146 YFLAGS = -d -p ascend
147 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
148 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
149 CONFIG_HEADER = config.h
151 LIBRARIES = $(noinst_LIBRARIES)
154 DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I.
157 LIBS = -L/usr/lib -lglib
158 libwiretap_a_LIBADD =
159 am_libwiretap_a_OBJECTS = ascend-grammar.o ascend-scanner.o ascend.o \
160 buffer.o file.o iptrace.o lanalyzer.o libpcap.o netmon.o netxray.o \
161 ngsniffer.o radcom.o snoop.o wtap.o
162 libwiretap_a_OBJECTS = $(am_libwiretap_a_OBJECTS)
164 LEX_OUTPUT_ROOT = lex.yy
166 CFLAGS = -Wall -g -O2 -I/usr/lib/glib/include
167 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
169 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
170 DIST_SOURCES = $(libwiretap_a_SOURCES)
171 DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
172 Makefile.am Makefile.in NEWS acconfig.h acinclude.m4 aclocal.m4 \
173 ascend-grammar.c ascend-grammar.h ascend-scanner.c config.h.in \
174 configure configure.in
177 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
180 DEP_FILES = .deps/ascend-grammar.P .deps/ascend-scanner.P \
181 .deps/ascend.P .deps/buffer.P .deps/file.P .deps/iptrace.P \
182 .deps/lanalyzer.P .deps/libpcap.P .deps/netmon.P .deps/netxray.P \
183 .deps/ngsniffer.P .deps/radcom.P .deps/snoop.P .deps/wtap.P
184 SOURCES = $(libwiretap_a_SOURCES)
185 OBJECTS = $(am_libwiretap_a_OBJECTS)
189 .SUFFIXES: .c .l .o .y
190 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/$(altdir)configure.in $(ACLOCAL_M4)
191 cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
193 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
195 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
197 $(ACLOCAL_M4): configure.in acinclude.m4
198 cd $(srcdir) && $(ACLOCAL)
200 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
201 $(SHELL) ./config.status --recheck
202 $(srcdir)/configure: $(srcdir)/$(altdir)configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
203 cd $(srcdir) && $(AUTOCONF)
206 @if test ! -f $@; then \
210 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
211 @rm -f stamp-h stamp-hT
212 @echo timestamp > stamp-hT 2> /dev/null
214 && CONFIG_FILES= CONFIG_HEADERS=config.h \
215 $(SHELL) ./config.status
217 $(srcdir)/config.h.in: $(srcdir)/./stamp-h.in
218 @if test ! -f $@; then \
219 rm -f $(srcdir)/./stamp-h.in; \
220 $(MAKE) $(srcdir)/./stamp-h.in; \
222 $(srcdir)/./stamp-h.in: $(top_srcdir)/$(altdir)configure.in $(ACLOCAL_M4) acconfig.h
223 @rm -f $(srcdir)/./stamp-h.in $(srcdir)/./stamp-h.inT
224 @echo timestamp > $(srcdir)/./stamp-h.inT 2> /dev/null
225 cd $(top_srcdir) && $(AUTOHEADER)
226 @mv $(srcdir)/./stamp-h.inT $(srcdir)/./stamp-h.in
235 maintainer-clean-hdr:
237 mostlyclean-noinstLIBRARIES:
239 clean-noinstLIBRARIES:
240 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
242 distclean-noinstLIBRARIES:
244 maintainer-clean-noinstLIBRARIES:
247 -rm -f *.o core *.core
254 maintainer-clean-compile:
270 libwiretap.a: $(libwiretap_a_OBJECTS) $(libwiretap_a_DEPENDENCIES)
272 $(AR) cru libwiretap.a $(libwiretap_a_OBJECTS) $(libwiretap_a_LIBADD)
273 $(RANLIB) libwiretap.a
275 $(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
277 $(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.c
278 if test -f y.tab.h; then \
279 if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
281 ascend-grammar.h: ascend-grammar.c
286 ID: $(HEADERS) $(SOURCES) $(LISP)
287 list='$(SOURCES) $(HEADERS)'; \
288 unique=`for i in $$list; do echo $$i; done | \
289 awk ' { files[$$0] = 1; } \
290 END { for (i in files) print i; }'`; \
291 here=`pwd` && cd $(srcdir) \
292 && mkid -f$$here/ID $$unique $(LISP)
294 TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
297 list='$(SOURCES) $(HEADERS)'; \
298 unique=`for i in $$list; do echo $$i; done | \
299 awk ' { files[$$0] = 1; } \
300 END { for (i in files) print i; }'`; \
301 test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
302 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
311 maintainer-clean-tags:
313 distdir = $(PACKAGE)-$(VERSION)
314 top_distdir = $(distdir)
316 # This target untars the dist file and tries a VPATH configuration. Then
317 # it guarantees that the distribution is self-contained by making another
321 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
322 mkdir $(distdir)/=build
323 mkdir $(distdir)/=inst
324 dc_install_base=`cd $(distdir)/=inst && pwd`; \
325 cd $(distdir)/=build \
326 && ../configure --srcdir=.. --prefix=$$dc_install_base \
327 && $(MAKE) $(AM_MAKEFLAGS) \
328 && $(MAKE) $(AM_MAKEFLAGS) dvi \
329 && $(MAKE) $(AM_MAKEFLAGS) check \
330 && $(MAKE) $(AM_MAKEFLAGS) install \
331 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
332 && $(MAKE) $(AM_MAKEFLAGS) dist
334 @banner="$(distdir).tar.gz is ready for distribution"; \
335 dashes=`echo "$$banner" | sed s/./=/g`; \
340 -chmod -R a+r $(distdir)
341 $(AMTAR) ch$(AMTARFLAGS)f - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
344 -chmod -R a+r $(distdir)
345 $(AMTAR) ch$(AMTARFLAGS)f - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
347 distdir: $(DISTFILES)
350 -chmod 777 $(distdir)
351 here=`cd $(top_builddir) && pwd`; \
352 top_distdir=`cd $(distdir) && pwd`; \
353 distdir=`cd $(distdir) && pwd`; \
355 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
356 @for file in $(DISTFILES); do \
358 if test -d $$d/$$file; then \
359 cp -pr $$d/$$file $(distdir)/$$file; \
361 test -f $(distdir)/$$file \
362 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
363 || cp -p $$d/$$file $(distdir)/$$file || :; \
367 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
369 -include $(DEP_FILES)
378 maintainer-clean-depend:
381 @echo '$(COMPILE) -c $<'; \
382 $(COMPILE) -Wp,-MD,.deps/$(*D)/$(*F).pp -c $<
383 @-cp .deps/$(*D)/$(*F).pp .deps/$(*D)/$(*F).P; \
384 tr ' ' '\012' < .deps/$(*D)/$(*F).pp \
385 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
386 >> .deps/$(*D)/$(*F).P; \
387 rm .deps/$(*D)/$(*F).pp
390 @echo '$(LTCOMPILE) -c $<'; \
391 $(LTCOMPILE) -Wp,-MD,.deps/$(*D)/$(*F).pp -c $<
392 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
393 < .deps/$(*D)/$(*F).pp > .deps/$(*D)/$(*F).P; \
394 tr ' ' '\012' < .deps/$(*D)/$(*F).pp \
395 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
396 >> .deps/$(*D)/$(*F).P; \
397 rm -f .deps/$(*D)/$(*F).pp
405 installcheck: installcheck-am
406 all-recursive-am: config.h
407 $(MAKE) $(AM_MAKEFLAGS) all-recursive
410 install-exec: install-exec-am
413 install-data: install-data-am
416 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
419 uninstall: uninstall-am
420 all-am: Makefile $(LIBRARIES) config.h
423 $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
430 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
433 -rm -f Makefile $(CONFIG_CLEAN_FILES)
434 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
436 maintainer-clean-generic:
437 -test -z "ascend-scanner.cascend-grammar.hascend-grammar.c" || rm -f ascend-scanner.c ascend-grammar.h ascend-grammar.c
438 mostlyclean-am: mostlyclean-hdr mostlyclean-noinstLIBRARIES \
439 mostlyclean-compile mostlyclean-tags mostlyclean-depend \
442 mostlyclean: mostlyclean-am
444 clean-am: clean-hdr clean-noinstLIBRARIES clean-compile clean-tags \
445 clean-depend clean-generic mostlyclean-am
449 distclean-am: distclean-hdr distclean-noinstLIBRARIES distclean-compile \
450 distclean-tags distclean-depend distclean-generic \
453 distclean: distclean-am
456 maintainer-clean-am: maintainer-clean-hdr \
457 maintainer-clean-noinstLIBRARIES \
458 maintainer-clean-compile maintainer-clean-tags \
459 maintainer-clean-depend maintainer-clean-generic \
461 @echo "This command is intended for maintainers to use;"
462 @echo "it deletes files that may require special tools to rebuild."
464 maintainer-clean: maintainer-clean-am
467 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
468 mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
469 clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
470 mostlyclean-compile distclean-compile clean-compile \
471 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
472 clean-tags maintainer-clean-tags distdir mostlyclean-depend \
473 distclean-depend clean-depend maintainer-clean-depend info-am info \
474 dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
475 install-exec-am install-exec install-data-am install-data install-am \
476 install uninstall-am uninstall all-redirect all-am all install-strip \
477 installdirs mostlyclean-generic distclean-generic clean-generic \
478 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
481 ascend-scanner.c : ascend-scanner.l
482 $(LEX) -Pascend -t $(srcdir)/ascend-scanner.l > ascend-scanner.c
484 # Tell versions [3.59,3.63) of GNU make to not export all variables.
485 # Otherwise a system limit (for SysV at least) may be exceeded.