Initial revision
[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 CC = @CC@
61 GTK_CFLAGS = @GTK_CFLAGS@
62 GTK_CONFIG = @GTK_CONFIG@
63 GTK_LIBS = @GTK_LIBS@
64 MAKEINFO = @MAKEINFO@
65 PACKAGE = @PACKAGE@
66 SNPRINTF_C = @SNPRINTF_C@
67 SNPRINTF_O = @SNPRINTF_O@
68 VERSION = @VERSION@
69
70 bin_PROGRAMS = ethereal
71
72 man_MANS = ethereal.1
73
74 ethereal_SOURCES = \
75         capture.c      \
76         ethereal.c     \
77         ethertype.c    \
78         file.c         \
79         filter.c       \
80         menu.c         \
81         packet.c       \
82         packet-arp.c   \
83         packet-bootp.c \
84         packet-data.c  \
85         packet-dns.c   \
86         packet-eth.c   \
87         packet-llc.c   \
88         packet-lpd.c   \
89         packet-ip.c    \
90         packet-ipv6.c  \
91         packet-ipx.c   \
92         packet-ospf.c  \
93         packet-ppp.c   \
94         packet-raw.c   \
95         packet-rip.c   \
96         packet-tcp.c   \
97         packet-tr.c    \
98         packet-trmac.c \
99         packet-udp.c   \
100         print.c        \
101         ps.c           \
102         resolv.c       \
103         util.c         \
104         capture.h      \
105         config.h       \
106         ethereal.h     \
107         etypes.h       \
108         file.h         \
109         filter.h       \
110         menu.h         \
111         packet.h       \
112         packet-ipv6.h  \
113         packet-ospf.h  \
114         packet-rip.h   \
115         print.h        \
116         ps.h           \
117         resolv.h       \
118         snprintf.h     \
119         util.h
120
121 EXTRA_ethereal_SOURCES = @SNPRINTF_C@
122 ethereal_DEPENDENCIES = @SNPRINTF_O@
123 LDADD = @SNPRINTF_O@
124
125 EXTRA_DIST =            \
126         ethereal.1          \
127         snprintf.c          \
128         rdps.c              \
129         print.ps            \
130         image/icon-excl.xpm \
131         doc/Makefile        \
132         doc/ethereal.pod
133 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
134 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
135 CONFIG_HEADER = config.h
136 CONFIG_CLEAN_FILES = 
137 PROGRAMS =  $(bin_PROGRAMS)
138
139
140 DEFS = @DEFS@ -I. -I$(srcdir) -I.
141 CPPFLAGS = @CPPFLAGS@
142 LDFLAGS = @LDFLAGS@
143 LIBS = @LIBS@
144 ethereal_OBJECTS =  capture.o ethereal.o ethertype.o file.o filter.o \
145 menu.o packet.o packet-arp.o packet-bootp.o packet-data.o packet-dns.o \
146 packet-eth.o packet-llc.o packet-lpd.o packet-ip.o packet-ipv6.o \
147 packet-ipx.o packet-ospf.o packet-ppp.o packet-raw.o packet-rip.o \
148 packet-tcp.o packet-tr.o packet-trmac.o packet-udp.o print.o ps.o \
149 resolv.o util.o
150 ethereal_LDADD = $(LDADD)
151 ethereal_LDFLAGS = 
152 CFLAGS = @CFLAGS@
153 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
154 LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
155 man1dir = $(mandir)/man1
156 MANS = $(man_MANS)
157
158 NROFF = nroff
159 DIST_COMMON =  README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
160 Makefile.in NEWS acconfig.h aclocal.m4 config.h.in configure \
161 configure.in install-sh missing mkinstalldirs stamp-h.in
162
163
164 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
165
166 TAR = tar
167 GZIP = --best
168 SOURCES = $(ethereal_SOURCES) $(EXTRA_ethereal_SOURCES)
169 OBJECTS = $(ethereal_OBJECTS)
170
171 all: Makefile $(PROGRAMS) $(MANS) config.h
172
173 .SUFFIXES:
174 .SUFFIXES: .S .c .o .s
175 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
176         cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile
177
178 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
179         cd $(top_builddir) \
180           && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
181
182 $(ACLOCAL_M4):  configure.in 
183         cd $(srcdir) && $(ACLOCAL)
184
185 config.status: $(srcdir)/configure
186         $(SHELL) ./config.status --recheck
187 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
188         cd $(srcdir) && $(AUTOCONF)
189
190 config.h: stamp-h
191         @:
192 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
193         cd $(top_builddir) \
194           && CONFIG_FILES= CONFIG_HEADERS=config.h \
195              $(SHELL) ./config.status
196         @echo timestamp > stamp-h
197 $(srcdir)/config.h.in: $(srcdir)/stamp-h.in
198 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
199         cd $(top_srcdir) && $(AUTOHEADER)
200         @echo timestamp > $(srcdir)/stamp-h.in
201
202 mostlyclean-hdr:
203
204 clean-hdr:
205
206 distclean-hdr:
207         -rm -f config.h
208
209 maintainer-clean-hdr:
210
211 mostlyclean-binPROGRAMS:
212
213 clean-binPROGRAMS:
214         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
215
216 distclean-binPROGRAMS:
217
218 maintainer-clean-binPROGRAMS:
219
220 install-binPROGRAMS: $(bin_PROGRAMS)
221         @$(NORMAL_INSTALL)
222         $(mkinstalldirs) $(DESTDIR)$(bindir)
223         @list='$(bin_PROGRAMS)'; for p in $$list; do \
224           if test -f $$p; then \
225             echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
226              $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
227           else :; fi; \
228         done
229
230 uninstall-binPROGRAMS:
231         @$(NORMAL_UNINSTALL)
232         list='$(bin_PROGRAMS)'; for p in $$list; do \
233           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
234         done
235
236 .c.o:
237         $(COMPILE) -c $<
238
239 .s.o:
240         $(COMPILE) -c $<
241
242 .S.o:
243         $(COMPILE) -c $<
244
245 mostlyclean-compile:
246         -rm -f *.o core *.core
247
248 clean-compile:
249
250 distclean-compile:
251         -rm -f *.tab.c
252
253 maintainer-clean-compile:
254
255 ethereal: $(ethereal_OBJECTS) $(ethereal_DEPENDENCIES)
256         @rm -f ethereal
257         $(LINK) $(ethereal_LDFLAGS) $(ethereal_OBJECTS) $(ethereal_LDADD) $(LIBS)
258
259 install-man1:
260         $(mkinstalldirs) $(DESTDIR)$(man1dir)
261         @list='$(man1_MANS)'; \
262         l2='$(man_MANS)'; for i in $$l2; do \
263           case "$$i" in \
264             *.1*) list="$$list $$i" ;; \
265           esac; \
266         done; \
267         for i in $$list; do \
268           if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
269           else file=$$i; fi; \
270           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
271           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
272           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
273           echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
274           $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
275         done
276
277 uninstall-man1:
278         @list='$(man1_MANS)'; \
279         l2='$(man_MANS)'; for i in $$l2; do \
280           case "$$i" in \
281             *.1*) list="$$list $$i" ;; \
282           esac; \
283         done; \
284         for i in $$list; do \
285           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
286           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
287           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
288           echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
289           rm -f $(DESTDIR)$(man1dir)/$$inst; \
290         done
291 install-man: $(MANS)
292         @$(NORMAL_INSTALL)
293         $(MAKE) install-man1
294 uninstall-man:
295         @$(NORMAL_UNINSTALL)
296         $(MAKE) uninstall-man1
297
298 tags: TAGS
299
300 ID: $(HEADERS) $(SOURCES) $(LISP)
301         here=`pwd` && cd $(srcdir) \
302           && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
303
304 TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
305         tags=; \
306         here=`pwd`; \
307         list='$(SOURCES) $(HEADERS)'; \
308         unique=`for i in $$list; do echo $$i; done | \
309           awk '    { files[$$0] = 1; } \
310                END { for (i in files) print i; }'`; \
311         test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
312           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
313
314 mostlyclean-tags:
315
316 clean-tags:
317
318 distclean-tags:
319         -rm -f TAGS ID
320
321 maintainer-clean-tags:
322
323 distdir = $(PACKAGE)-$(VERSION)
324 top_distdir = $(distdir)
325
326 # This target untars the dist file and tries a VPATH configuration.  Then
327 # it guarantees that the distribution is self-contained by making another
328 # tarfile.
329 distcheck: dist
330         -rm -rf $(distdir)
331         GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
332         mkdir $(distdir)/=build
333         mkdir $(distdir)/=inst
334         dc_install_base=`cd $(distdir)/=inst && pwd`; \
335         cd $(distdir)/=build \
336           && ../configure --srcdir=.. --prefix=$$dc_install_base \
337           && $(MAKE) \
338           && $(MAKE) dvi \
339           && $(MAKE) check \
340           && $(MAKE) install \
341           && $(MAKE) installcheck \
342           && $(MAKE) dist
343         -rm -rf $(distdir)
344         @echo "========================"; \
345         echo "$(distdir).tar.gz is ready for distribution"; \
346         echo "========================"
347 dist: distdir
348         -chmod -R a+r $(distdir)
349         GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
350         -rm -rf $(distdir)
351 dist-all: distdir
352         -chmod -R a+r $(distdir)
353         GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
354         -rm -rf $(distdir)
355 distdir: $(DISTFILES)
356         -rm -rf $(distdir)
357         mkdir $(distdir)
358         -chmod 777 $(distdir)
359         $(mkinstalldirs) $(distdir)/doc $(distdir)/image
360         @for file in $(DISTFILES); do \
361           d=$(srcdir); \
362           test -f $(distdir)/$$file \
363           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
364           || cp -p $$d/$$file $(distdir)/$$file; \
365         done
366 capture.o: capture.c config.h packet.h file.h capture.h etypes.h util.h \
367         image/icon-excl.xpm
368 ethereal.o: ethereal.c config.h packet.h file.h ethereal.h menu.h \
369         etypes.h print.h resolv.h
370 ethertype.o: ethertype.c config.h packet.h ethereal.h etypes.h
371 file.o: file.c config.h packet.h file.h ethereal.h util.h \
372         image/icon-excl.xpm
373 filter.o: filter.c config.h filter.h packet.h file.h menu.h
374 menu.o: menu.c config.h menu.h ethereal.h capture.h filter.h packet.h \
375         print.h
376 packet-arp.o: packet-arp.c config.h ethereal.h packet.h etypes.h
377 packet-bootp.o: packet-bootp.c config.h packet.h ethereal.h etypes.h
378 packet-data.o: packet-data.c config.h ethereal.h packet.h
379 packet-dns.o: packet-dns.c config.h packet.h
380 packet-eth.o: packet-eth.c config.h packet.h ethereal.h etypes.h
381 packet-ip.o: packet-ip.c config.h ethereal.h packet.h etypes.h resolv.h
382 packet-ipv6.o: packet-ipv6.c config.h ethereal.h packet.h packet-ipv6.h \
383         etypes.h
384 packet-ipx.o: packet-ipx.c config.h ethereal.h packet.h
385 packet-llc.o: packet-llc.c config.h packet.h ethereal.h etypes.h
386 packet-lpd.o: packet-lpd.c config.h packet.h ethereal.h etypes.h
387 packet-ospf.o: packet-ospf.c config.h ethereal.h packet.h packet-ospf.h
388 packet-ppp.o: packet-ppp.c config.h packet.h ethereal.h
389 packet-raw.o: packet-raw.c config.h packet.h ethereal.h
390 packet-rip.o: packet-rip.c config.h ethereal.h packet.h packet-rip.h
391 packet-tcp.o: packet-tcp.c config.h ethereal.h packet.h
392 packet-tr.o: packet-tr.c config.h packet.h ethereal.h etypes.h
393 packet-trmac.o: packet-trmac.c config.h packet.h ethereal.h etypes.h
394 packet-udp.o: packet-udp.c config.h ethereal.h packet.h resolv.h
395 packet.o: packet.c config.h packet.h ethereal.h etypes.h file.h
396 print.o: print.c config.h packet.h print.h
397 ps.o: ps.c ps.h
398 resolv.o: resolv.c config.h packet.h resolv.h
399 util.o: util.c config.h util.h image/icon-excl.xpm
400
401 info:
402 dvi:
403 check: all
404         $(MAKE)
405 installcheck:
406 install-exec: install-binPROGRAMS
407         @$(NORMAL_INSTALL)
408
409 install-data: install-man
410         @$(NORMAL_INSTALL)
411
412 install: install-exec install-data all
413         @:
414
415 uninstall: uninstall-binPROGRAMS uninstall-man
416
417 install-strip:
418         $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
419 installdirs:
420         $(mkinstalldirs)  $(DATADIR)$(bindir) $(DESTDIR)$(mandir)/man1
421
422
423 mostlyclean-generic:
424         -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
425
426 clean-generic:
427         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
428
429 distclean-generic:
430         -rm -f Makefile $(DISTCLEANFILES)
431         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
432         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
433
434 maintainer-clean-generic:
435         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
436         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
437 mostlyclean:  mostlyclean-hdr mostlyclean-binPROGRAMS \
438                 mostlyclean-compile mostlyclean-tags \
439                 mostlyclean-generic
440
441 clean:  clean-hdr clean-binPROGRAMS clean-compile clean-tags \
442                 clean-generic mostlyclean
443
444 distclean:  distclean-hdr distclean-binPROGRAMS distclean-compile \
445                 distclean-tags distclean-generic clean
446         -rm -f config.status
447
448 maintainer-clean:  maintainer-clean-hdr maintainer-clean-binPROGRAMS \
449                 maintainer-clean-compile maintainer-clean-tags \
450                 maintainer-clean-generic distclean
451         @echo "This command is intended for maintainers to use;"
452         @echo "it deletes files that may require special tools to rebuild."
453         -rm -f config.status
454
455 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
456 mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
457 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
458 mostlyclean-compile distclean-compile clean-compile \
459 maintainer-clean-compile install-man1 uninstall-man1 install-man \
460 uninstall-man tags mostlyclean-tags distclean-tags clean-tags \
461 maintainer-clean-tags distdir info dvi installcheck install-exec \
462 install-data install uninstall all installdirs mostlyclean-generic \
463 distclean-generic clean-generic maintainer-clean-generic clean \
464 mostlyclean distclean maintainer-clean
465
466
467 ps.c: print.ps rdps
468         ./rdps print.ps ps.c
469
470 rdps: rdps.c
471         $(CC) -o rdps rdps.c
472
473 # Tell versions [3.59,3.63) of GNU make to not export all variables.
474 # Otherwise a system limit (for SysV at least) may be exceeded.
475 .NOEXPORT: