Damn the torpedos[1], commit it anyway.
[obnox/wireshark/wip.git] / wiretap / Makefile
1 # Generated automatically from Makefile.in by configure.
2 # Makefile.in generated automatically by automake 1.4a from Makefile.am
3
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.
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
14 SHELL = /bin/sh
15
16 srcdir = .
17 top_srcdir = .
18 prefix = /usr/local
19 exec_prefix = ${prefix}
20
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
33
34 DESTDIR =
35
36 pkgdatadir = $(datadir)/libwtap.a
37 pkglibdir = $(libdir)/libwtap.a
38 pkgincludedir = $(includedir)/libwtap.a
39
40 top_builddir = .
41
42 ACLOCAL = aclocal
43 AUTOCONF = autoconf
44 AUTOMAKE = automake
45 AUTOHEADER = autoheader
46
47 INSTALL = /usr/bin/install -c
48 INSTALL_PROGRAM = ${INSTALL}
49 INSTALL_DATA = ${INSTALL} -m 644
50 INSTALL_SCRIPT = ${INSTALL}
51 INSTALL_STRIP_FLAG =
52 transform = s,x,x,
53
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
60 AMTAR = gtar
61 AMTARFLAGS = o
62 CC = gcc
63 CPP = gcc -E
64 FLEX_PATH = 
65 GLIB_CFLAGS = -I/usr/lib/glib/include
66 GLIB_CONFIG = /usr/bin/glib-config
67 GLIB_LIBS = -L/usr/lib -lglib
68 GTK_CFLAGS = 
69 GTK_CONFIG = 
70 GTK_LIBS = 
71 LEX = /usr/bin/flex
72 MAKEINFO = makeinfo
73 PACKAGE = libwtap.a
74 RANLIB = ranlib
75 VERSION = 0.0.0
76 YACC = bison -y
77
78 # Makefile.am
79 # Automake file for Wiretap
80 #
81 # $Id: Makefile,v 1.12 1999/09/11 04:50:43 gerald Exp $
82 #
83 # Ethereal - Network traffic analyzer
84 # By Gerald Combs <gerald@zing.org>
85 # Copyright 1998 Gerald Combs
86 #
87
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.
92
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.
97
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.
101
102
103 noinst_LIBRARIES = libwiretap.a
104
105 #EXTRA_LIBRARIES = libwiretap.a
106
107 CLEANFILES = \
108         libwiretap.a            \
109         *~
110
111
112 libwiretap_a_SOURCES = \
113         ascend-grammar.y        \
114         ascend-scanner.l        \
115         ascend.c                \
116         ascend.h                \
117         buffer.c                \
118         buffer.h                \
119         file.c                  \
120         iptrace.c               \
121         iptrace.h               \
122         lanalyzer.c             \
123         lanalyzer.h             \
124         libpcap.c               \
125         libpcap.h               \
126         netmon.c                \
127         netmon.h                \
128         netxray.c               \
129         netxray.h               \
130         ngsniffer.c             \
131         ngsniffer.h             \
132         radcom.c                \
133         radcom.h                \
134         snoop.c                 \
135         snoop.h                 \
136         wtap.c                  \
137         wtap.h
138
139
140 EXTRA_DIST = \
141         config.h.win32          \
142         Makefile.nmake
143
144
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
150 CONFIG_CLEAN_FILES = 
151 LIBRARIES =  $(noinst_LIBRARIES)
152
153
154 DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I.
155 CPPFLAGS = 
156 LDFLAGS = 
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)
163 AR = ar
164 LEX_OUTPUT_ROOT = lex.yy
165 LEXLIB = -lfl
166 CFLAGS = -Wall -g -O2 -I/usr/lib/glib/include
167 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
168 CCLD = $(CC)
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
175
176
177 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
178
179 GZIP_ENV = --best
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)
186
187 all: all-redirect
188 .SUFFIXES:
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
192
193 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
194         cd $(top_builddir) \
195           && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
196
197 $(ACLOCAL_M4):  configure.in  acinclude.m4
198         cd $(srcdir) && $(ACLOCAL)
199
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) 
204
205 config.h: stamp-h
206         @if test ! -f $@; then \
207                 rm -f stamp-h; \
208                 $(MAKE) stamp-h; \
209         else :; fi
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
213         cd $(top_builddir) \
214           && CONFIG_FILES= CONFIG_HEADERS=config.h \
215              $(SHELL) ./config.status
216         @mv stamp-hT stamp-h
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; \
221         else :; fi
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
227
228 mostlyclean-hdr:
229
230 clean-hdr:
231
232 distclean-hdr:
233         -rm -f config.h
234
235 maintainer-clean-hdr:
236
237 mostlyclean-noinstLIBRARIES:
238
239 clean-noinstLIBRARIES:
240         -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
241
242 distclean-noinstLIBRARIES:
243
244 maintainer-clean-noinstLIBRARIES:
245
246 mostlyclean-compile:
247         -rm -f *.o core *.core
248
249 clean-compile:
250
251 distclean-compile:
252         -rm -f *.tab.c
253
254 maintainer-clean-compile:
255 ascend-grammar.o:
256 ascend-scanner.o:
257 ascend.o:
258 buffer.o:
259 file.o:
260 iptrace.o:
261 lanalyzer.o:
262 libpcap.o:
263 netmon.o:
264 netxray.o:
265 ngsniffer.o:
266 radcom.o:
267 snoop.o:
268 wtap.o:
269
270 libwiretap.a: $(libwiretap_a_OBJECTS) $(libwiretap_a_DEPENDENCIES)
271         -rm -f libwiretap.a
272         $(AR) cru libwiretap.a $(libwiretap_a_OBJECTS) $(libwiretap_a_LIBADD)
273         $(RANLIB) libwiretap.a
274 .l.c:
275         $(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
276 .y.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; \
280         else :; fi
281 ascend-grammar.h: ascend-grammar.c
282
283
284 tags: TAGS
285
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)
293
294 TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
295         tags=; \
296         here=`pwd`; \
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)
303
304 mostlyclean-tags:
305
306 clean-tags:
307
308 distclean-tags:
309         -rm -f TAGS ID
310
311 maintainer-clean-tags:
312
313 distdir = $(PACKAGE)-$(VERSION)
314 top_distdir = $(distdir)
315
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
318 # tarfile.
319 distcheck: dist
320         -rm -rf $(distdir)
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
333         -rm -rf $(distdir)
334         @banner="$(distdir).tar.gz is ready for distribution"; \
335         dashes=`echo "$$banner" | sed s/./=/g`; \
336         echo "$$dashes"; \
337         echo "$$banner"; \
338         echo "$$dashes"
339 dist: distdir
340         -chmod -R a+r $(distdir)
341         $(AMTAR) ch$(AMTARFLAGS)f - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
342         -rm -rf $(distdir)
343 dist-all: distdir
344         -chmod -R a+r $(distdir)
345         $(AMTAR) ch$(AMTARFLAGS)f - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
346         -rm -rf $(distdir)
347 distdir: $(DISTFILES)
348         -rm -rf $(distdir)
349         mkdir $(distdir)
350         -chmod 777 $(distdir)
351         here=`cd $(top_builddir) && pwd`; \
352         top_distdir=`cd $(distdir) && pwd`; \
353         distdir=`cd $(distdir) && pwd`; \
354         cd $(top_srcdir) \
355           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
356         @for file in $(DISTFILES); do \
357           d=$(srcdir); \
358           if test -d $$d/$$file; then \
359             cp -pr $$d/$$file $(distdir)/$$file; \
360           else \
361             test -f $(distdir)/$$file \
362             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
363             || cp -p $$d/$$file $(distdir)/$$file || :; \
364           fi; \
365         done
366
367 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
368
369 -include $(DEP_FILES)
370
371 mostlyclean-depend:
372
373 clean-depend:
374
375 distclean-depend:
376         -rm -rf .deps
377
378 maintainer-clean-depend:
379
380 %.o: %.c
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
388
389 %.lo: %.c
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
398 info-am:
399 info: info-am
400 dvi-am:
401 dvi: dvi-am
402 check-am: all-am
403 check: check-am
404 installcheck-am:
405 installcheck: installcheck-am
406 all-recursive-am: config.h
407         $(MAKE) $(AM_MAKEFLAGS) all-recursive
408
409 install-exec-am:
410 install-exec: install-exec-am
411
412 install-data-am:
413 install-data: install-data-am
414
415 install-am: all-am
416         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
417 install: install-am
418 uninstall-am:
419 uninstall: uninstall-am
420 all-am: Makefile $(LIBRARIES) config.h
421 all-redirect: all-am
422 install-strip:
423         $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
424 installdirs:
425
426
427 mostlyclean-generic:
428
429 clean-generic:
430         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
431
432 distclean-generic:
433         -rm -f Makefile $(CONFIG_CLEAN_FILES)
434         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
435
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 \
440                 mostlyclean-generic
441
442 mostlyclean: mostlyclean-am
443
444 clean-am:  clean-hdr clean-noinstLIBRARIES clean-compile clean-tags \
445                 clean-depend clean-generic mostlyclean-am
446
447 clean: clean-am
448
449 distclean-am:  distclean-hdr distclean-noinstLIBRARIES distclean-compile \
450                 distclean-tags distclean-depend distclean-generic \
451                 clean-am
452
453 distclean: distclean-am
454         -rm -f config.status
455
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 \
460                 distclean-am
461         @echo "This command is intended for maintainers to use;"
462         @echo "it deletes files that may require special tools to rebuild."
463
464 maintainer-clean: maintainer-clean-am
465         -rm -f config.status
466
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
479
480
481 ascend-scanner.c : ascend-scanner.l
482         $(LEX) -Pascend -t $(srcdir)/ascend-scanner.l > ascend-scanner.c
483
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.
486 .NOEXPORT: