Merge the work in Novell_NCP_branch into the mainline code.
[obnox/wireshark/wip.git] / wiretap / Makefile
1 # Generated automatically from Makefile.in by configure.
2 # Makefile.in generated automatically by automake 1.4-p4 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 # Makefile.am
15 # Automake file for Wiretap
16 #
17 # $Id: Makefile,v 1.13 2002/05/09 23:50:34 gram Exp $
18 #
19 # Ethereal - Network traffic analyzer
20 # By Gerald Combs <gerald@zing.org>
21 # Copyright 1998 Gerald Combs
22 #
23
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.
28
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.
33
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.
37
38
39 SHELL = /bin/sh
40
41 srcdir = .
42 top_srcdir = .
43 prefix = /usr/local
44 exec_prefix = ${prefix}
45
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
58
59 DESTDIR =
60
61 pkgdatadir = $(datadir)/libwtap.a
62 pkglibdir = $(libdir)/libwtap.a
63 pkgincludedir = $(includedir)/libwtap.a
64
65 top_builddir = .
66
67 ACLOCAL = aclocal
68 AUTOCONF = autoconf
69 AUTOMAKE = automake
70 AUTOHEADER = autoheader
71
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}
76 transform = s,x,x,
77
78 NORMAL_INSTALL = :
79 PRE_INSTALL = :
80 POST_INSTALL = :
81 NORMAL_UNINSTALL = :
82 PRE_UNINSTALL = :
83 POST_UNINSTALL = :
84 host_alias = i686-pc-linux-gnu
85 host_triplet = i686-pc-linux-gnu
86 CC = gcc
87 CPP = gcc -E
88 FLEX_PATH = 
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
92 LEX = /usr/bin/flex
93 MAKEINFO = makeinfo
94 PACKAGE = libwtap.a
95 RANLIB = ranlib
96 VERSION = 0.0.0
97 YACC = bison -y
98
99 ACLOCAL_AMFLAGS = `../aclocal-flags`
100
101 noinst_LIBRARIES = libwiretap.a
102
103 #EXTRA_LIBRARIES = libwiretap.a
104
105 CLEANFILES =    libwiretap.a                    *~
106
107
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
109
110
111 EXTRA_DIST =    ascend-grammar.c                ascend-grammar.h                ascend-scanner.c                config.h.win32                  Makefile.nmake                  wtap.def
112
113
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
119 CONFIG_CLEAN_FILES = 
120 LIBRARIES =  $(noinst_LIBRARIES)
121
122
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
132 AR = ar
133 LEX_OUTPUT_ROOT = lex.yy
134 LEXLIB = -lfl
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)
137 CCLD = $(CC)
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
142
143
144 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
145
146 TAR = tar
147 GZIP_ENV = --best
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)
157
158 all: all-redirect
159 .SUFFIXES:
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
163
164 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
165         cd $(top_builddir) \
166           && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
167
168 $(ACLOCAL_M4):  configure.in  acinclude.m4
169         cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
170
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)
175
176 config.h: stamp-h
177         @if test ! -f $@; then \
178                 rm -f stamp-h; \
179                 $(MAKE) stamp-h; \
180         else :; fi
181 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
182         cd $(top_builddir) \
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; \
190         else :; fi
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
194
195 mostlyclean-hdr:
196
197 clean-hdr:
198
199 distclean-hdr:
200         -rm -f config.h
201
202 maintainer-clean-hdr:
203
204 mostlyclean-noinstLIBRARIES:
205
206 clean-noinstLIBRARIES:
207         -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
208
209 distclean-noinstLIBRARIES:
210
211 maintainer-clean-noinstLIBRARIES:
212
213 .s.o:
214         $(COMPILE) -c $<
215
216 .S.o:
217         $(COMPILE) -c $<
218
219 mostlyclean-compile:
220         -rm -f *.o core *.core
221
222 clean-compile:
223
224 distclean-compile:
225         -rm -f *.tab.c
226
227 maintainer-clean-compile:
228
229 libwiretap.a: $(libwiretap_a_OBJECTS) $(libwiretap_a_DEPENDENCIES)
230         -rm -f libwiretap.a
231         $(AR) cru libwiretap.a $(libwiretap_a_OBJECTS) $(libwiretap_a_LIBADD)
232         $(RANLIB) libwiretap.a
233 .l.c:
234         $(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
235 .y.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; \
239         else :; fi
240 ascend-grammar.h: ascend-grammar.c
241
242
243 tags: TAGS
244
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)
252
253 TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
254         tags=; \
255         here=`pwd`; \
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)
262
263 mostlyclean-tags:
264
265 clean-tags:
266
267 distclean-tags:
268         -rm -f TAGS ID
269
270 maintainer-clean-tags:
271
272 distdir = $(PACKAGE)-$(VERSION)
273 top_distdir = $(distdir)
274
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
277 # tarfile.
278 distcheck: dist
279         -rm -rf $(distdir)
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
292         -rm -rf $(distdir)
293         @banner="$(distdir).tar.gz is ready for distribution"; \
294         dashes=`echo "$$banner" | sed s/./=/g`; \
295         echo "$$dashes"; \
296         echo "$$banner"; \
297         echo "$$dashes"
298 dist: distdir
299         -chmod -R a+r $(distdir)
300         GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
301         -rm -rf $(distdir)
302 dist-all: distdir
303         -chmod -R a+r $(distdir)
304         GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
305         -rm -rf $(distdir)
306 distdir: $(DISTFILES)
307         -rm -rf $(distdir)
308         mkdir $(distdir)
309         -chmod 777 $(distdir)
310         here=`cd $(top_builddir) && pwd`; \
311         top_distdir=`cd $(distdir) && pwd`; \
312         distdir=`cd $(distdir) && pwd`; \
313         cd $(top_srcdir) \
314           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
315         @for file in $(DISTFILES); do \
316           d=$(srcdir); \
317           if test -d $$d/$$file; then \
318             cp -pr $$d/$$file $(distdir)/$$file; \
319           else \
320             test -f $(distdir)/$$file \
321             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
322             || cp -p $$d/$$file $(distdir)/$$file || :; \
323           fi; \
324         done
325
326 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
327
328 -include $(DEP_FILES)
329
330 mostlyclean-depend:
331
332 clean-depend:
333
334 distclean-depend:
335         -rm -rf .deps
336
337 maintainer-clean-depend:
338
339 %.o: %.c
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/$$/ :/' \
345             >> .deps/$(*F).P; \
346         rm .deps/$(*F).pp
347
348 %.lo: %.c
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/$$/ :/' \
355             >> .deps/$(*F).P; \
356         rm -f .deps/$(*F).pp
357 info-am:
358 info: info-am
359 dvi-am:
360 dvi: dvi-am
361 check-am: all-am
362 check: check-am
363 installcheck-am:
364 installcheck: installcheck-am
365 all-recursive-am: config.h
366         $(MAKE) $(AM_MAKEFLAGS) all-recursive
367
368 install-exec-am:
369 install-exec: install-exec-am
370
371 install-data-am:
372 install-data: install-data-am
373
374 install-am: all-am
375         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
376 install: install-am
377 uninstall-am:
378 uninstall: uninstall-am
379 all-am: Makefile $(LIBRARIES) config.h
380 all-redirect: all-am
381 install-strip:
382         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
383 installdirs:
384
385
386 mostlyclean-generic:
387
388 clean-generic:
389         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
390
391 distclean-generic:
392         -rm -f Makefile $(CONFIG_CLEAN_FILES)
393         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
394
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 \
399                 mostlyclean-generic
400
401 mostlyclean: mostlyclean-am
402
403 clean-am:  clean-hdr clean-noinstLIBRARIES clean-compile clean-tags \
404                 clean-depend clean-generic mostlyclean-am
405
406 clean: clean-am
407
408 distclean-am:  distclean-hdr distclean-noinstLIBRARIES distclean-compile \
409                 distclean-tags distclean-depend distclean-generic \
410                 clean-am
411
412 distclean: distclean-am
413         -rm -f config.status
414
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 \
419                 distclean-am
420         @echo "This command is intended for maintainers to use;"
421         @echo "it deletes files that may require special tools to rebuild."
422
423 maintainer-clean: maintainer-clean-am
424         -rm -f config.status
425
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
438
439
440 ascend-scanner.c : ascend-scanner.l
441         $(LEX) -Pascend -oascend-scanner.c $(srcdir)/ascend-scanner.l
442
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.
445 .NOEXPORT: