* Don't build wiretap if it isn't configured.
[obnox/wireshark/wip.git] / wiretap / Makefile
1 # Generated automatically from Makefile.in by configure.
2 # Makefile.in generated automatically by automake 1.3 from Makefile.am
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998 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
15 SHELL = /bin/sh
16
17 srcdir = .
18 top_srcdir = .
19 prefix = /usr/local
20 exec_prefix = ${prefix}
21
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
34
35 DISTDIR =
36
37 pkgdatadir = $(datadir)/libwtap.a
38 pkglibdir = $(libdir)/libwtap.a
39 pkgincludedir = $(includedir)/libwtap.a
40
41 top_builddir = .
42
43 ACLOCAL = aclocal
44 AUTOCONF = autoconf
45 AUTOMAKE = automake
46 AUTOHEADER = autoheader
47
48 INSTALL = /usr/bin/install -c
49 INSTALL_PROGRAM = ${INSTALL}
50 INSTALL_DATA = ${INSTALL} -m 644
51 INSTALL_SCRIPT = ${INSTALL_PROGRAM}
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 CC = gcc
61 GTK_CFLAGS = -I/usr/lib/glib/include -I/usr/X11R6/include
62 GTK_CONFIG = /usr/bin/gtk-config
63 GTK_LIBS = -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -lglib -lXext -lX11 -lm
64 MAKEINFO = makeinfo
65 PACKAGE = libwtap.a
66 RANLIB = ranlib
67 VERSION = 0.0.0
68
69 noinst_LIBRARIES = libwiretap.a
70
71 libwiretap_a_SOURCES = \
72         buffer.c                \
73         buffer.h                \
74         config.h                \
75         debug.h                 \
76         file.c                  \
77         lanalyzer.c             \
78         lanalyzer.h             \
79         libpcap.c               \
80         libpcap.h               \
81         ngsniffer.c             \
82         ngsniffer.h             \
83         snoop.c                 \
84         snoop.h                 \
85         wtap.c                  \
86         wtap.h
87 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
88 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
89 CONFIG_HEADER = config.h
90 CONFIG_CLEAN_FILES = 
91 LIBRARIES =  $(noinst_LIBRARIES)
92
93
94 DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I.
95 CPPFLAGS = 
96 LDFLAGS = 
97 LIBS =  -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -lglib -lXext -lX11 -lm
98 libwiretap_a_LIBADD = 
99 libwiretap_a_OBJECTS =  buffer.o file.o lanalyzer.o libpcap.o \
100 ngsniffer.o snoop.o wtap.o
101 AR = ar
102 CFLAGS = -g -O2 -I/usr/lib/glib/include -I/usr/X11R6/include
103 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
104 LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
105 DIST_COMMON =  README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
106 Makefile.in NEWS acconfig.h aclocal.m4 config.h.in configure \
107 configure.in stamp-h.in
108
109
110 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
111
112 TAR = tar
113 GZIP = --best
114 DEP_FILES =  .deps/buffer.P .deps/file.P .deps/lanalyzer.P \
115 .deps/libpcap.P .deps/ngsniffer.P .deps/snoop.P .deps/wtap.P
116 SOURCES = $(libwiretap_a_SOURCES)
117 OBJECTS = $(libwiretap_a_OBJECTS)
118
119 all: Makefile $(LIBRARIES) config.h
120
121 .SUFFIXES:
122 .SUFFIXES: .S .c .o .s
123 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
124         cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
125
126 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
127         cd $(top_builddir) \
128           && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
129
130 $(ACLOCAL_M4):  configure.in 
131         cd $(srcdir) && $(ACLOCAL)
132
133 config.status: $(srcdir)/configure
134         $(SHELL) ./config.status --recheck
135 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
136         cd $(srcdir) && $(AUTOCONF)
137
138 config.h: stamp-h
139         @:
140 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
141         cd $(top_builddir) \
142           && CONFIG_FILES= CONFIG_HEADERS=config.h \
143              $(SHELL) ./config.status
144         @echo timestamp > stamp-h
145 $(srcdir)/config.h.in: $(srcdir)/stamp-h.in
146 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
147         cd $(top_srcdir) && $(AUTOHEADER)
148         @echo timestamp > $(srcdir)/stamp-h.in
149
150 mostlyclean-hdr:
151
152 clean-hdr:
153
154 distclean-hdr:
155         -rm -f config.h
156
157 maintainer-clean-hdr:
158
159 mostlyclean-noinstLIBRARIES:
160
161 clean-noinstLIBRARIES:
162         -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
163
164 distclean-noinstLIBRARIES:
165
166 maintainer-clean-noinstLIBRARIES:
167
168 .s.o:
169         $(COMPILE) -c $<
170
171 .S.o:
172         $(COMPILE) -c $<
173
174 mostlyclean-compile:
175         -rm -f *.o core *.core
176
177 clean-compile:
178
179 distclean-compile:
180         -rm -f *.tab.c
181
182 maintainer-clean-compile:
183
184 libwiretap.a: $(libwiretap_a_OBJECTS) $(libwiretap_a_DEPENDENCIES)
185         -rm -f libwiretap.a
186         $(AR) cru libwiretap.a $(libwiretap_a_OBJECTS) $(libwiretap_a_LIBADD)
187         $(RANLIB) libwiretap.a
188
189 tags: TAGS
190
191 ID: $(HEADERS) $(SOURCES) $(LISP)
192         here=`pwd` && cd $(srcdir) \
193           && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
194
195 TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
196         tags=; \
197         here=`pwd`; \
198         list='$(SOURCES) $(HEADERS)'; \
199         unique=`for i in $$list; do echo $$i; done | \
200           awk '    { files[$$0] = 1; } \
201                END { for (i in files) print i; }'`; \
202         test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
203           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
204
205 mostlyclean-tags:
206
207 clean-tags:
208
209 distclean-tags:
210         -rm -f TAGS ID
211
212 maintainer-clean-tags:
213
214 distdir = $(PACKAGE)-$(VERSION)
215 top_distdir = $(distdir)
216
217 # This target untars the dist file and tries a VPATH configuration.  Then
218 # it guarantees that the distribution is self-contained by making another
219 # tarfile.
220 distcheck: dist
221         -rm -rf $(distdir)
222         GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
223         mkdir $(distdir)/=build
224         mkdir $(distdir)/=inst
225         dc_install_base=`cd $(distdir)/=inst && pwd`; \
226         cd $(distdir)/=build \
227           && ../configure --srcdir=.. --prefix=$$dc_install_base \
228           && $(MAKE) \
229           && $(MAKE) dvi \
230           && $(MAKE) check \
231           && $(MAKE) install \
232           && $(MAKE) installcheck \
233           && $(MAKE) dist
234         -rm -rf $(distdir)
235         @echo "========================"; \
236         echo "$(distdir).tar.gz is ready for distribution"; \
237         echo "========================"
238 dist: distdir
239         -chmod -R a+r $(distdir)
240         GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
241         -rm -rf $(distdir)
242 dist-all: distdir
243         -chmod -R a+r $(distdir)
244         GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
245         -rm -rf $(distdir)
246 distdir: $(DISTFILES)
247         -rm -rf $(distdir)
248         mkdir $(distdir)
249         -chmod 777 $(distdir)
250         here=`cd $(top_builddir) && pwd`; \
251         top_distdir=`cd $(distdir) && pwd`; \
252         distdir=`cd $(distdir) && pwd`; \
253         cd $(top_srcdir) \
254           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
255         @for file in $(DISTFILES); do \
256           d=$(srcdir); \
257           test -f $(distdir)/$$file \
258           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
259           || cp -p $$d/$$file $(distdir)/$$file; \
260         done
261
262 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
263
264 -include $(DEP_FILES)
265
266 mostlyclean-depend:
267
268 clean-depend:
269
270 distclean-depend:
271
272 maintainer-clean-depend:
273         -rm -rf .deps
274
275 %.o: %.c
276         @echo '$(COMPILE) -c $<'; \
277         $(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
278
279 %.lo: %.c
280         @echo '$(LTCOMPILE) -c $<'; \
281         $(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
282         @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
283           < .deps/$(*F).p > .deps/$(*F).P
284         @-rm -f .deps/$(*F).p
285 info:
286 dvi:
287 check: all
288         $(MAKE)
289 installcheck:
290 install-exec: 
291         @$(NORMAL_INSTALL)
292
293 install-data: 
294         @$(NORMAL_INSTALL)
295
296 install: install-exec install-data all
297         @:
298
299 uninstall: 
300
301 install-strip:
302         $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
303 installdirs:
304
305
306 mostlyclean-generic:
307         -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
308
309 clean-generic:
310         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
311
312 distclean-generic:
313         -rm -f Makefile $(DISTCLEANFILES)
314         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
315         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
316
317 maintainer-clean-generic:
318         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
319         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
320 mostlyclean:  mostlyclean-hdr mostlyclean-noinstLIBRARIES \
321                 mostlyclean-compile mostlyclean-tags mostlyclean-depend \
322                 mostlyclean-generic
323
324 clean:  clean-hdr clean-noinstLIBRARIES clean-compile clean-tags \
325                 clean-depend clean-generic mostlyclean
326
327 distclean:  distclean-hdr distclean-noinstLIBRARIES distclean-compile \
328                 distclean-tags distclean-depend distclean-generic clean
329         -rm -f config.status
330
331 maintainer-clean:  maintainer-clean-hdr maintainer-clean-noinstLIBRARIES \
332                 maintainer-clean-compile maintainer-clean-tags \
333                 maintainer-clean-depend maintainer-clean-generic \
334                 distclean
335         @echo "This command is intended for maintainers to use;"
336         @echo "it deletes files that may require special tools to rebuild."
337         -rm -f config.status
338
339 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
340 mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
341 clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
342 mostlyclean-compile distclean-compile clean-compile \
343 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
344 clean-tags maintainer-clean-tags distdir mostlyclean-depend \
345 distclean-depend clean-depend maintainer-clean-depend info dvi \
346 installcheck install-exec install-data install uninstall all \
347 installdirs mostlyclean-generic distclean-generic clean-generic \
348 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
349
350
351 # Tell versions [3.59,3.63) of GNU make to not export all variables.
352 # Otherwise a system limit (for SysV at least) may be exceeded.
353 .NOEXPORT: