This should have been part of my previous 'cvs commit' (netbios name
[obnox/wireshark/wip.git] / Makefile.in
1 # Makefile.in generated automatically by automake 1.3 from Makefile.am
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13
14 SHELL = /bin/sh
15
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 prefix = @prefix@
20 exec_prefix = @exec_prefix@
21
22 bindir = @bindir@
23 sbindir = @sbindir@
24 libexecdir = @libexecdir@
25 datadir = @datadir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
29 libdir = @libdir@
30 infodir = @infodir@
31 mandir = @mandir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
34
35 DISTDIR =
36
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
40
41 top_builddir = .
42
43 ACLOCAL = @ACLOCAL@
44 AUTOCONF = @AUTOCONF@
45 AUTOMAKE = @AUTOMAKE@
46 AUTOHEADER = @AUTOHEADER@
47
48 INSTALL = @INSTALL@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
53
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
60 host_alias = @host_alias@
61 host_triplet = @host@
62 CC = @CC@
63 DATAFILE_DIR = @DATAFILE_DIR@
64 GTK_CFLAGS = @GTK_CFLAGS@
65 GTK_CONFIG = @GTK_CONFIG@
66 GTK_LIBS = @GTK_LIBS@
67 MAKEINFO = @MAKEINFO@
68 PACKAGE = @PACKAGE@
69 SNPRINTF_C = @SNPRINTF_C@
70 SNPRINTF_O = @SNPRINTF_O@
71 VERSION = @VERSION@
72
73 bin_PROGRAMS = ethereal
74
75 man_MANS = ethereal.1
76
77 sysconf_DATA = manuf
78
79 ethereal_SOURCES = \
80         capture.c      \
81         ethereal.c     \
82         ethertype.c    \
83         file.c         \
84         filter.c       \
85         follow.c       \
86         menu.c         \
87         packet.c       \
88         packet-arp.c   \
89         packet-bootp.c \
90         packet-data.c  \
91         packet-dns.c   \
92         packet-eth.c   \
93         packet-fddi.c  \
94         packet-llc.c   \
95         packet-lpd.c   \
96         packet-ip.c    \
97         packet-ipv6.c  \
98         packet-ipx.c   \
99         packet-nbipx.c \
100         packet-nbns.c  \
101         packet-ncp.c   \
102         packet-null.c  \
103         packet-osi.c   \
104         packet-ospf.c  \
105         packet-ppp.c   \
106         packet-raw.c   \
107         packet-rip.c   \
108         packet-tcp.c   \
109         packet-tr.c    \
110         packet-trmac.c \
111         packet-udp.c   \
112         packet-vines.c \
113         prefs.c        \
114         print.c        \
115         ps.c           \
116         resolv.c       \
117         util.c         \
118         capture.h      \
119         config.h       \
120         ethereal.h     \
121         etypes.h       \
122         file.h         \
123         filter.h       \
124         follow.h       \
125         menu.h         \
126         packet.h       \
127         packet-ipv6.h  \
128         packet-ipx.h   \
129         packet-ospf.h  \
130         packet-rip.h   \
131         packet-vines.h \
132         prefs.h        \
133         print.h        \
134         ps.h           \
135         resolv.h       \
136         util.h
137
138 EXTRA_ethereal_SOURCES = \
139         snprintf.c           \
140         snprintf.h           \
141         snprintf-imp.h
142
143 ethereal_DEPENDENCIES = @SNPRINTF_O@
144 ethereal_LDADD = @SNPRINTF_O@
145
146 DISTCLEANFILES = \
147         rdps \
148         ps.c
149
150 EXTRA_DIST =            \
151         doc/Makefile        \
152         doc/ethereal.pod    \
153         ethereal.1          \
154         image/icon-excl.xpm \
155         manuf               \
156         print.ps            \
157         rdps.c
158 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
159 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
160 CONFIG_HEADER = config.h
161 CONFIG_CLEAN_FILES = 
162 PROGRAMS =  $(bin_PROGRAMS)
163
164
165 DEFS = @DEFS@ -I. -I$(srcdir) -I.
166 CPPFLAGS = @CPPFLAGS@
167 LDFLAGS = @LDFLAGS@
168 LIBS = @LIBS@
169 ethereal_OBJECTS =  capture.o ethereal.o ethertype.o file.o filter.o \
170 follow.o menu.o packet.o packet-arp.o packet-bootp.o packet-data.o \
171 packet-dns.o packet-eth.o packet-fddi.o packet-llc.o packet-lpd.o \
172 packet-ip.o packet-ipv6.o packet-ipx.o packet-nbipx.o packet-nbns.o \
173 packet-ncp.o packet-null.o packet-osi.o packet-ospf.o packet-ppp.o \
174 packet-raw.o packet-rip.o packet-tcp.o packet-tr.o packet-trmac.o \
175 packet-udp.o packet-vines.o prefs.o print.o ps.o resolv.o util.o
176 ethereal_LDFLAGS = 
177 CFLAGS = @CFLAGS@
178 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
179 LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
180 man1dir = $(mandir)/man1
181 MANS = $(man_MANS)
182
183 NROFF = nroff
184 DATA =  $(sysconf_DATA)
185
186 DIST_COMMON =  README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
187 Makefile.in NEWS acconfig.h aclocal.m4 config.guess config.h.in \
188 config.sub configure configure.in install-sh missing mkinstalldirs \
189 stamp-h.in
190
191
192 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
193
194 TAR = tar
195 GZIP = --best
196 DEP_FILES =  .deps/capture.P .deps/ethereal.P .deps/ethertype.P \
197 .deps/file.P .deps/filter.P .deps/follow.P .deps/menu.P \
198 .deps/packet-arp.P .deps/packet-bootp.P .deps/packet-data.P \
199 .deps/packet-dns.P .deps/packet-eth.P .deps/packet-fddi.P \
200 .deps/packet-ip.P .deps/packet-ipv6.P .deps/packet-ipx.P \
201 .deps/packet-llc.P .deps/packet-lpd.P .deps/packet-nbipx.P \
202 .deps/packet-nbns.P .deps/packet-ncp.P .deps/packet-null.P \
203 .deps/packet-osi.P .deps/packet-ospf.P .deps/packet-ppp.P \
204 .deps/packet-raw.P .deps/packet-rip.P .deps/packet-tcp.P \
205 .deps/packet-tr.P .deps/packet-trmac.P .deps/packet-udp.P \
206 .deps/packet-vines.P .deps/packet.P .deps/prefs.P .deps/print.P \
207 .deps/ps.P .deps/resolv.P .deps/snprintf.P .deps/util.P
208 SOURCES = $(ethereal_SOURCES) $(EXTRA_ethereal_SOURCES)
209 OBJECTS = $(ethereal_OBJECTS)
210
211 all: Makefile $(PROGRAMS) $(MANS) $(DATA) config.h
212
213 .SUFFIXES:
214 .SUFFIXES: .S .c .o .s
215 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
216         cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
217
218 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
219         cd $(top_builddir) \
220           && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
221
222 $(ACLOCAL_M4):  configure.in 
223         cd $(srcdir) && $(ACLOCAL)
224
225 config.status: $(srcdir)/configure
226         $(SHELL) ./config.status --recheck
227 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
228         cd $(srcdir) && $(AUTOCONF)
229
230 config.h: stamp-h
231         @:
232 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
233         cd $(top_builddir) \
234           && CONFIG_FILES= CONFIG_HEADERS=config.h \
235              $(SHELL) ./config.status
236         @echo timestamp > stamp-h
237 $(srcdir)/config.h.in: $(srcdir)/stamp-h.in
238 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
239         cd $(top_srcdir) && $(AUTOHEADER)
240         @echo timestamp > $(srcdir)/stamp-h.in
241
242 mostlyclean-hdr:
243
244 clean-hdr:
245
246 distclean-hdr:
247         -rm -f config.h
248
249 maintainer-clean-hdr:
250
251 mostlyclean-binPROGRAMS:
252
253 clean-binPROGRAMS:
254         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
255
256 distclean-binPROGRAMS:
257
258 maintainer-clean-binPROGRAMS:
259
260 install-binPROGRAMS: $(bin_PROGRAMS)
261         @$(NORMAL_INSTALL)
262         $(mkinstalldirs) $(DESTDIR)$(bindir)
263         @list='$(bin_PROGRAMS)'; for p in $$list; do \
264           if test -f $$p; then \
265             echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
266              $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
267           else :; fi; \
268         done
269
270 uninstall-binPROGRAMS:
271         @$(NORMAL_UNINSTALL)
272         list='$(bin_PROGRAMS)'; for p in $$list; do \
273           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
274         done
275
276 .s.o:
277         $(COMPILE) -c $<
278
279 .S.o:
280         $(COMPILE) -c $<
281
282 mostlyclean-compile:
283         -rm -f *.o core *.core
284
285 clean-compile:
286
287 distclean-compile:
288         -rm -f *.tab.c
289
290 maintainer-clean-compile:
291
292 ethereal: $(ethereal_OBJECTS) $(ethereal_DEPENDENCIES)
293         @rm -f ethereal
294         $(LINK) $(ethereal_LDFLAGS) $(ethereal_OBJECTS) $(ethereal_LDADD) $(LIBS)
295
296 install-man1:
297         $(mkinstalldirs) $(DESTDIR)$(man1dir)
298         @list='$(man1_MANS)'; \
299         l2='$(man_MANS)'; for i in $$l2; do \
300           case "$$i" in \
301             *.1*) list="$$list $$i" ;; \
302           esac; \
303         done; \
304         for i in $$list; do \
305           if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
306           else file=$$i; fi; \
307           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
308           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
309           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
310           echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
311           $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
312         done
313
314 uninstall-man1:
315         @list='$(man1_MANS)'; \
316         l2='$(man_MANS)'; for i in $$l2; do \
317           case "$$i" in \
318             *.1*) list="$$list $$i" ;; \
319           esac; \
320         done; \
321         for i in $$list; do \
322           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
323           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
324           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
325           echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
326           rm -f $(DESTDIR)$(man1dir)/$$inst; \
327         done
328 install-man: $(MANS)
329         @$(NORMAL_INSTALL)
330         $(MAKE) install-man1
331 uninstall-man:
332         @$(NORMAL_UNINSTALL)
333         $(MAKE) uninstall-man1
334
335 install-sysconfDATA: $(sysconf_DATA)
336         @$(NORMAL_INSTALL)
337         $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
338         @list='$(sysconf_DATA)'; for p in $$list; do \
339           if test -f $(srcdir)/$$p; then \
340             echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p"; \
341             $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p; \
342           else if test -f $$p; then \
343             echo " $(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$p"; \
344             $(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$p; \
345           fi; fi; \
346         done
347
348 uninstall-sysconfDATA:
349         @$(NORMAL_UNINSTALL)
350         list='$(sysconf_DATA)'; for p in $$list; do \
351           rm -f $(DESTDIR)$(sysconfdir)/$$p; \
352         done
353
354 tags: TAGS
355
356 ID: $(HEADERS) $(SOURCES) $(LISP)
357         here=`pwd` && cd $(srcdir) \
358           && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
359
360 TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
361         tags=; \
362         here=`pwd`; \
363         list='$(SOURCES) $(HEADERS)'; \
364         unique=`for i in $$list; do echo $$i; done | \
365           awk '    { files[$$0] = 1; } \
366                END { for (i in files) print i; }'`; \
367         test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
368           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
369
370 mostlyclean-tags:
371
372 clean-tags:
373
374 distclean-tags:
375         -rm -f TAGS ID
376
377 maintainer-clean-tags:
378
379 distdir = $(PACKAGE)-$(VERSION)
380 top_distdir = $(distdir)
381
382 # This target untars the dist file and tries a VPATH configuration.  Then
383 # it guarantees that the distribution is self-contained by making another
384 # tarfile.
385 distcheck: dist
386         -rm -rf $(distdir)
387         GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
388         mkdir $(distdir)/=build
389         mkdir $(distdir)/=inst
390         dc_install_base=`cd $(distdir)/=inst && pwd`; \
391         cd $(distdir)/=build \
392           && ../configure --srcdir=.. --prefix=$$dc_install_base \
393           && $(MAKE) \
394           && $(MAKE) dvi \
395           && $(MAKE) check \
396           && $(MAKE) install \
397           && $(MAKE) installcheck \
398           && $(MAKE) dist
399         -rm -rf $(distdir)
400         @echo "========================"; \
401         echo "$(distdir).tar.gz is ready for distribution"; \
402         echo "========================"
403 dist: distdir
404         -chmod -R a+r $(distdir)
405         GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
406         -rm -rf $(distdir)
407 dist-all: distdir
408         -chmod -R a+r $(distdir)
409         GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
410         -rm -rf $(distdir)
411 distdir: $(DISTFILES)
412         -rm -rf $(distdir)
413         mkdir $(distdir)
414         -chmod 777 $(distdir)
415         here=`cd $(top_builddir) && pwd`; \
416         top_distdir=`cd $(distdir) && pwd`; \
417         distdir=`cd $(distdir) && pwd`; \
418         cd $(top_srcdir) \
419           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
420         $(mkinstalldirs) $(distdir)/doc $(distdir)/image
421         @for file in $(DISTFILES); do \
422           d=$(srcdir); \
423           test -f $(distdir)/$$file \
424           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
425           || cp -p $$d/$$file $(distdir)/$$file; \
426         done
427
428 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
429
430 -include $(DEP_FILES)
431
432 mostlyclean-depend:
433
434 clean-depend:
435
436 distclean-depend:
437
438 maintainer-clean-depend:
439         -rm -rf .deps
440
441 %.o: %.c
442         @echo '$(COMPILE) -c $<'; \
443         $(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
444
445 %.lo: %.c
446         @echo '$(LTCOMPILE) -c $<'; \
447         $(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
448         @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
449           < .deps/$(*F).p > .deps/$(*F).P
450         @-rm -f .deps/$(*F).p
451 info:
452 dvi:
453 check: all
454         $(MAKE)
455 installcheck:
456 install-exec: install-binPROGRAMS install-sysconfDATA
457         @$(NORMAL_INSTALL)
458
459 install-data: install-man
460         @$(NORMAL_INSTALL)
461
462 install: install-exec install-data all
463         @:
464
465 uninstall: uninstall-binPROGRAMS uninstall-man uninstall-sysconfDATA
466
467 install-strip:
468         $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
469 installdirs:
470         $(mkinstalldirs)  $(DATADIR)$(bindir) $(DESTDIR)$(mandir)/man1 \
471                 $(DATADIR)$(sysconfdir)
472
473
474 mostlyclean-generic:
475         -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
476
477 clean-generic:
478         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
479
480 distclean-generic:
481         -rm -f Makefile $(DISTCLEANFILES)
482         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
483         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
484
485 maintainer-clean-generic:
486         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
487         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
488 mostlyclean:  mostlyclean-hdr mostlyclean-binPROGRAMS \
489                 mostlyclean-compile mostlyclean-tags mostlyclean-depend \
490                 mostlyclean-generic
491
492 clean:  clean-hdr clean-binPROGRAMS clean-compile clean-tags \
493                 clean-depend clean-generic mostlyclean
494
495 distclean:  distclean-hdr distclean-binPROGRAMS distclean-compile \
496                 distclean-tags distclean-depend distclean-generic clean
497         -rm -f config.status
498
499 maintainer-clean:  maintainer-clean-hdr maintainer-clean-binPROGRAMS \
500                 maintainer-clean-compile maintainer-clean-tags \
501                 maintainer-clean-depend maintainer-clean-generic \
502                 distclean
503         @echo "This command is intended for maintainers to use;"
504         @echo "it deletes files that may require special tools to rebuild."
505         -rm -f config.status
506
507 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
508 mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
509 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
510 mostlyclean-compile distclean-compile clean-compile \
511 maintainer-clean-compile install-man1 uninstall-man1 install-man \
512 uninstall-man uninstall-sysconfDATA install-sysconfDATA tags \
513 mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
514 distdir mostlyclean-depend distclean-depend clean-depend \
515 maintainer-clean-depend info dvi installcheck install-exec install-data \
516 install uninstall all installdirs mostlyclean-generic distclean-generic \
517 clean-generic maintainer-clean-generic clean mostlyclean distclean \
518 maintainer-clean
519
520
521 ps.c: print.ps rdps
522         ./rdps print.ps ps.c
523
524 rdps: rdps.c
525         $(CC) -o rdps rdps.c
526
527 # Tell versions [3.59,3.63) of GNU make to not export all variables.
528 # Otherwise a system limit (for SysV at least) may be exceeded.
529 .NOEXPORT: