1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
2 # plugins/swift/Makefile. Generated from Makefile.in by configure.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
19 # Automake file for swift plugin
20 # By Andrew Keating <andrewzkeating@gmail.com>
21 # Copyright 2011 Andrew Keating
25 # Wireshark - Network traffic analyzer
26 # By Gerald Combs <gerald@wireshark.org>
27 # Copyright 1998 Gerald Combs
29 # This program is free software; you can redistribute it and/or
30 # modify it under the terms of the GNU General Public License
31 # as published by the Free Software Foundation; either version 2
32 # of the License, or (at your option) any later version.
34 # This program is distributed in the hope that it will be useful,
35 # but WITHOUT ANY WARRANTY; without even the implied warranty of
36 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
37 # GNU General Public License for more details.
39 # You should have received a copy of the GNU General Public License
40 # along with this program; if not, write to the Free Software
41 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
44 # Makefile.common for Interlink plugin
45 # Contains the stuff from Makefile.am and Makefile.nmake that is
46 # a) common to both files and
47 # b) portable between both files
51 # Wireshark - Network traffic analyzer
52 # By Gerald Combs <gerald@wireshark.org>
53 # Copyright 1998 Gerald Combs
55 # This program is free software; you can redistribute it and/or
56 # modify it under the terms of the GNU General Public License
57 # as published by the Free Software Foundation; either version 2
58 # of the License, or (at your option) any later version.
60 # This program is distributed in the hope that it will be useful,
61 # but WITHOUT ANY WARRANTY; without even the implied warranty of
62 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
63 # GNU General Public License for more details.
65 # You should have received a copy of the GNU General Public License
66 # along with this program; if not, write to the Free Software
67 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
70 pkgdatadir = $(datadir)/wireshark
71 pkgincludedir = $(includedir)/wireshark
72 pkglibdir = $(libdir)/wireshark
73 pkglibexecdir = $(libexecdir)/wireshark
74 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
75 install_sh_DATA = $(install_sh) -c -m 644
76 install_sh_PROGRAM = $(install_sh) -c
77 install_sh_SCRIPT = $(install_sh) -c
78 INSTALL_HEADER = $(INSTALL_DATA)
79 transform = $(program_transform_name)
86 build_triplet = x86_64-unknown-linux-gnu
87 host_triplet = x86_64-unknown-linux-gnu
88 target_triplet = x86_64-unknown-linux-gnu
89 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.common \
90 $(srcdir)/Makefile.in AUTHORS COPYING ChangeLog
91 subdir = plugins/swift
92 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
93 am__aclocal_m4_deps = $(top_srcdir)/aclocal-fallback/glib-2.0.m4 \
94 $(top_srcdir)/aclocal-fallback/gtk-2.0.m4 \
95 $(top_srcdir)/aclocal-fallback/libgcrypt.m4 \
96 $(top_srcdir)/aclocal-fallback/libsmi.m4 \
97 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
98 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
100 mkinstalldirs = $(install_sh) -d
101 CONFIG_HEADER = $(top_builddir)/config.h
103 CONFIG_CLEAN_VPATH_FILES =
104 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
105 am__vpath_adj = case $$p in \
106 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
109 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
111 am__nobase_strip_setup = \
112 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
114 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
115 am__nobase_list = $(am__nobase_strip_setup); \
116 for p in $$list; do echo "$$p $$p"; done | \
117 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
118 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
119 if (++n[$$2] == $(am__install_max)) \
120 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
121 END { for (dir in files) print dir, files[dir] }'
123 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
124 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
125 am__installdirs = "$(DESTDIR)$(plugindir)"
126 LTLIBRARIES = $(plugin_LTLIBRARIES)
127 swift_la_DEPENDENCIES =
128 am__objects_1 = packet-swift.lo
130 am_swift_la_OBJECTS = plugin.lo $(am__objects_1) $(am__objects_2)
131 swift_la_OBJECTS = $(am_swift_la_OBJECTS)
132 AM_V_lt = $(am__v_lt_$(V))
133 am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
134 am__v_lt_0 = --silent
135 swift_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
136 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
137 $(swift_la_LDFLAGS) $(LDFLAGS) -o $@
138 DEFAULT_INCLUDES = -I. -I$(top_builddir)
139 depcomp = $(SHELL) $(top_srcdir)/depcomp
140 am__depfiles_maybe = depfiles
142 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
143 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
144 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
145 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
146 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
147 $(AM_CFLAGS) $(CFLAGS)
148 AM_V_CC = $(am__v_CC_$(V))
149 am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
150 am__v_CC_0 = @echo " CC " $@;
151 AM_V_at = $(am__v_at_$(V))
152 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
155 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
156 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
157 $(AM_LDFLAGS) $(LDFLAGS) -o $@
158 AM_V_CCLD = $(am__v_CCLD_$(V))
159 am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
160 am__v_CCLD_0 = @echo " CCLD " $@;
161 AM_V_GEN = $(am__v_GEN_$(V))
162 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
163 am__v_GEN_0 = @echo " GEN " $@;
164 SOURCES = $(swift_la_SOURCES)
165 DIST_SOURCES = $(swift_la_SOURCES)
168 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
169 ACLOCAL = ${SHELL} /home/andrewk/Documents/P2P/dissector/wireshark-1.4.7/missing --run aclocal-1.11
171 AMTAR = ${SHELL} /home/andrewk/Documents/P2P/dissector/wireshark-1.4.7/missing --run tar
172 AM_DEFAULT_VERBOSITY = 1
174 AUTOCONF = ${SHELL} /home/andrewk/Documents/P2P/dissector/wireshark-1.4.7/missing --run autoconf
175 AUTOHEADER = ${SHELL} /home/andrewk/Documents/P2P/dissector/wireshark-1.4.7/missing --run autoheader
176 AUTOMAKE = ${SHELL} /home/andrewk/Documents/P2P/dissector/wireshark-1.4.7/missing --run automake-1.11
179 CCDEPMODE = depmode=gcc3
181 CFLAGS = -DINET6 -D_U_="__attribute__((unused))" -g -O2 -Wall -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign -Warray-bounds -Wcast-align -Wformat-security -I/usr/local/include -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pcap
182 CORESERVICES_FRAMEWORKS =
184 CPPFLAGS = -I/usr/local/include -I/usr/include/pcap '-DPLUGIN_DIR="$(plugindir)"'
187 CXXDEPMODE = depmode=gcc3
188 CXXFLAGS = -g -O2 -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12
191 DEFS = -DHAVE_CONFIG_H
209 GLIB_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
210 GLIB_GENMARSHAL = glib-genmarshal
211 GLIB_LIBS = -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lglib-2.0
212 GLIB_MKENUMS = glib-mkenums
213 GOBJECT_QUERY = gobject-query
215 GTK_CFLAGS = -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12
216 GTK_LIBS = -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
219 HAVE_DPKG_BUILDPACKAGE = yes
225 HAVE_OSX_PACKAGING = no
230 HAVE_SVR4_PACKAGING = no
235 HTML_VIEWER = /usr/bin/xdg-open
239 INSTALL = /usr/bin/install -c
240 INSTALL_DATA = ${INSTALL} -m 644
241 INSTALL_PROGRAM = ${INSTALL}
242 INSTALL_SCRIPT = ${INSTALL}
243 INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
246 LAUNCHSERVICES_FRAMEWORKS =
247 LD = /usr/bin/ld -m elf_x86_64
248 LDFLAGS = -Wl,--as-needed -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib
252 LEX_OUTPUT_ROOT = lex.yy
255 LIBGCRYPT_CONFIG = no
261 # Libs must be cleared, or else libtool won't create a shared module.
262 # If your module needs to be linked against any particular libraries,
268 LIBTOOL = $(SHELL) $(top_builddir)/libtool
269 LIBTOOL_DEPS = ./ltmain.sh
276 MAKEINFO = ${SHELL} /home/andrewk/Documents/P2P/dissector/wireshark-1.4.7/missing --run makeinfo
277 MKDIR_P = /bin/mkdir -p
287 PACKAGE_NAME = wireshark
288 PACKAGE_STRING = wireshark 1.4.7
289 PACKAGE_TARNAME = wireshark
291 PACKAGE_VERSION = 1.4.7
297 PKG_CONFIG = /usr/bin/pkg-config
299 POD2HTML = /usr/bin/pod2html
300 POD2MAN = /usr/bin/pod2man
303 PYTHON = /usr/bin/python
308 SETCAP = /sbin/setcap
319 XMLLINT = /usr/bin/xmllint
320 XSLTPROC = /usr/bin/xsltproc
322 YACCDUMMY = /usr/bin/bison
324 abs_builddir = /home/andrewk/Documents/P2P/dissector/wireshark-1.4.7/plugins/swift
325 abs_srcdir = /home/andrewk/Documents/P2P/dissector/wireshark-1.4.7/plugins/swift
326 abs_top_builddir = /home/andrewk/Documents/P2P/dissector/wireshark-1.4.7
327 abs_top_srcdir = /home/andrewk/Documents/P2P/dissector/wireshark-1.4.7
331 ac_cv_wireshark_have_rpm = no
332 ac_ws_python_config =
333 am__include = include
336 am__tar = tar --format=ustar -chf - "$$tardir"
337 am__untar = tar -xf -
338 bindir = ${exec_prefix}/bin
339 build = x86_64-unknown-linux-gnu
343 build_vendor = unknown
345 capinfos_bin = capinfos$(EXEEXT)
346 capinfos_man = capinfos.1
347 datadir = ${datarootdir}
348 datarootdir = ${prefix}/share
349 dftest_bin = dftest$(EXEEXT)
350 dftest_man = dftest.1
351 docdir = /root/build/root/share/doc/wireshark
352 dumpcap_bin = dumpcap$(EXEEXT)
353 dumpcap_man = dumpcap.1
355 editcap_bin = editcap$(EXEEXT)
356 editcap_man = editcap.1
357 exec_prefix = ${prefix}
358 host = x86_64-unknown-linux-gnu
362 host_vendor = unknown
364 idl2wrs_bin = idl2wrs
365 idl2wrs_man = idl2wrs.1
366 includedir = ${prefix}/include
367 infodir = ${datarootdir}/info
368 install_sh = ${SHELL} /home/andrewk/Documents/P2P/dissector/wireshark-1.4.7/install-sh
369 libdir = ${exec_prefix}/lib
370 libexecdir = ${exec_prefix}/libexec
371 localedir = ${datarootdir}/locale
372 localstatedir = ${prefix}/var
374 mandir = ${datarootdir}/man
375 mergecap_bin = mergecap$(EXEEXT)
376 mergecap_man = mergecap.1
377 mkdir_p = /bin/mkdir -p
378 oldincludedir = /usr/include
380 plugindir = ${libdir}/wireshark/plugins/${VERSION}
381 prefix = /root/build/root
382 program_transform_name = s,x,x,
385 randpkt_bin = randpkt$(EXEEXT)
386 randpkt_man = randpkt.1
387 rawshark_bin = rawshark$(EXEEXT)
388 rawshark_man = rawshark.1
389 sbindir = ${exec_prefix}/sbin
390 sharedstatedir = ${prefix}/com
392 sysconfdir = ${prefix}/etc
393 target = x86_64-unknown-linux-gnu
396 target_os = linux-gnu
397 target_vendor = unknown
398 text2pcap_bin = text2pcap$(EXEEXT)
399 text2pcap_man = text2pcap.1
400 top_build_prefix = ../../
403 tshark_bin = tshark$(EXEEXT)
404 tshark_man = tshark.1
405 wireshark_SUBDIRS = codecs gtk
406 wireshark_bin = wireshark$(EXEEXT)
407 wireshark_man = wireshark.1
408 wiresharkfilter_man = wireshark-filter.4
409 INCLUDES = -I$(top_srcdir) -I$(includedir)
411 # the name of the plugin
414 # the dissector sources (without any helpers)
419 # Dissector helpers. They're included in the source files in this
420 # directory, but they're not dissectors themselves, i.e. they're not
421 # used to generate "plugin.c".
422 DISSECTOR_SUPPORT_SRC =
424 plugin_LTLIBRARIES = swift.la
429 $(DISSECTOR_SUPPORT_SRC) \
430 $(DISSECTOR_INCLUDES)
432 swift_la_LDFLAGS = -module -avoid-version
436 # Currently plugin.c can be included in the distribution because
437 # we always build all protocol dissectors. We used to have to check
438 # whether or not to build the snmp dissector. If we again need to
439 # variably build something, making plugin.c non-portable, uncomment
440 # the dist-hook line below.
442 # Oh, yuk. We don't want to include "plugin.c" in the distribution, as
443 # its contents depend on the configuration, and therefore we want it
444 # to be built when the first "make" is done; however, Automake insists
445 # on putting *all* source into the distribution.
447 # We work around this by having a "dist-hook" rule that deletes
448 # "plugin.c", so that "dist" won't pick it up.
451 # @rm -f $(distdir)/plugin.c
456 MAINTAINERCLEANFILES = \
470 .SUFFIXES: .c .lo .o .obj
471 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/Makefile.common $(am__configure_deps)
473 case '$(am__configure_deps)' in \
475 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
476 && { if test -f $@; then exit 0; else break; fi; }; \
480 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugins/swift/Makefile'; \
481 $(am__cd) $(top_srcdir) && \
482 $(AUTOMAKE) --gnu plugins/swift/Makefile
484 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
487 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
489 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
490 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
493 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
494 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
496 $(top_srcdir)/configure: $(am__configure_deps)
497 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
498 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
499 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
500 $(am__aclocal_m4_deps):
501 install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES)
503 test -z "$(plugindir)" || $(MKDIR_P) "$(DESTDIR)$(plugindir)"
504 @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \
505 list2=; for p in $$list; do \
506 if test -f $$p; then \
507 list2="$$list2 $$p"; \
510 test -z "$$list2" || { \
511 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'"; \
512 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(plugindir)"; \
515 uninstall-pluginLTLIBRARIES:
517 @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \
518 for p in $$list; do \
520 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$f'"; \
521 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$f"; \
524 clean-pluginLTLIBRARIES:
525 -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES)
526 @list='$(plugin_LTLIBRARIES)'; for p in $$list; do \
527 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
528 test "$$dir" != "$$p" || dir=.; \
529 echo "rm -f \"$${dir}/so_locations\""; \
530 rm -f "$${dir}/so_locations"; \
532 swift.la: $(swift_la_OBJECTS) $(swift_la_DEPENDENCIES)
533 $(AM_V_CCLD)$(swift_la_LINK) -rpath $(plugindir) $(swift_la_OBJECTS) $(swift_la_LIBADD) $(LIBS)
541 include ./$(DEPDIR)/packet-swift.Plo
542 include ./$(DEPDIR)/plugin.Plo
545 $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
546 $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
548 # source='$<' object='$@' libtool=no \
549 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
553 $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
554 $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
556 # source='$<' object='$@' libtool=no \
557 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
558 # $(COMPILE) -c `$(CYGPATH_W) '$<'`
561 $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
562 $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
564 # source='$<' object='$@' libtool=yes \
565 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
566 # $(LTCOMPILE) -c -o $@ $<
574 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
575 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
576 unique=`for i in $$list; do \
577 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
579 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
580 END { if (nonempty) { for (i in files) print i; }; }'`; \
584 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
585 $(TAGS_FILES) $(LISP)
588 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
589 unique=`for i in $$list; do \
590 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
592 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
593 END { if (nonempty) { for (i in files) print i; }; }'`; \
595 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
596 test -n "$$unique" || unique=$$empty_fix; \
597 if test $$# -gt 0; then \
598 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
601 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
606 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
607 $(TAGS_FILES) $(LISP)
608 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
609 unique=`for i in $$list; do \
610 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
612 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
613 END { if (nonempty) { for (i in files) print i; }; }'`; \
614 test -z "$(CTAGS_ARGS)$$unique" \
615 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
619 here=`$(am__cd) $(top_builddir) && pwd` \
620 && $(am__cd) $(top_srcdir) \
621 && gtags -i $(GTAGS_ARGS) "$$here"
624 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
626 distdir: $(DISTFILES)
627 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
628 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
629 list='$(DISTFILES)'; \
630 dist_files=`for file in $$list; do echo $$file; done | \
631 sed -e "s|^$$srcdirstrip/||;t" \
632 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
633 case $$dist_files in \
634 */*) $(MKDIR_P) `echo "$$dist_files" | \
635 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
638 for file in $$dist_files; do \
639 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
640 if test -d $$d/$$file; then \
641 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
642 if test -d "$(distdir)/$$file"; then \
643 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
645 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
646 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
647 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
649 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
651 test -f "$(distdir)/$$file" \
652 || cp -p $$d/$$file "$(distdir)/$$file" \
658 all-am: Makefile $(LTLIBRARIES)
660 for dir in "$(DESTDIR)$(plugindir)"; do \
661 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
664 install-exec: install-exec-am
665 install-data: install-data-am
666 uninstall: uninstall-am
669 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
671 installcheck: installcheck-am
673 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
674 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
675 `test -z '$(STRIP)' || \
676 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
680 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
683 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
684 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
686 maintainer-clean-generic:
687 @echo "This command is intended for maintainers to use"
688 @echo "it deletes files that may require special tools to rebuild."
689 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
692 clean-am: clean-generic clean-libtool clean-pluginLTLIBRARIES \
695 distclean: distclean-am
698 distclean-am: clean-am distclean-compile distclean-generic \
713 install-data-am: install-pluginLTLIBRARIES
715 install-dvi: install-dvi-am
721 install-html: install-html-am
725 install-info: install-info-am
731 install-pdf: install-pdf-am
735 install-ps: install-ps-am
741 maintainer-clean: maintainer-clean-am
744 maintainer-clean-am: distclean-am maintainer-clean-generic
746 mostlyclean: mostlyclean-am
748 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
759 uninstall-am: uninstall-pluginLTLIBRARIES
761 .MAKE: install-am install-strip
763 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
764 clean-libtool clean-pluginLTLIBRARIES ctags distclean \
765 distclean-compile distclean-generic distclean-libtool \
766 distclean-tags distdir dvi dvi-am html html-am info info-am \
767 install install-am install-data install-data-am install-dvi \
768 install-dvi-am install-exec install-exec-am install-html \
769 install-html-am install-info install-info-am install-man \
770 install-pdf install-pdf-am install-pluginLTLIBRARIES \
771 install-ps install-ps-am install-strip installcheck \
772 installcheck-am installdirs maintainer-clean \
773 maintainer-clean-generic mostlyclean mostlyclean-compile \
774 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
775 tags uninstall uninstall-am uninstall-pluginLTLIBRARIES
779 # Build plugin.c, which contains the plugin version[] string, a
780 # function plugin_register() that calls the register routines for all
781 # protocols, and a function plugin_reg_handoff() that calls the handoff
782 # registration routines for all protocols.
784 # We do this by scanning sources. If that turns out to be too slow,
785 # maybe we could just require every .o file to have an register routine
786 # of a given name (packet-aarp.o -> proto_register_aarp, etc.).
788 # Formatting conventions: The name of the proto_register_* routines an
789 # proto_reg_handoff_* routines must start in column zero, or must be
790 # preceded only by "void " starting in column zero, and must not be
793 # DISSECTOR_SRC is assumed to have all the files that need to be scanned.
795 # For some unknown reason, having a big "for" loop in the Makefile
796 # to scan all the files doesn't work with some "make"s; they seem to
797 # pass only the first few names in the list to the shell, for some
800 # Therefore, we have a script to generate the plugin.c file.
801 # The shell script runs slowly, as multiple greps and seds are run
802 # for each input file; this is especially slow on Windows. Therefore,
803 # if Python is present (as indicated by PYTHON being defined), we run
804 # a faster Python script to do that work instead.
806 # The first argument is the directory in which the source files live.
807 # The second argument is "plugin", to indicate that we should build
808 # a plugin.c file for a plugin.
809 # All subsequent arguments are the files to scan.
811 plugin.c: $(DISSECTOR_SRC) $(top_srcdir)/tools/make-dissector-reg \
812 $(top_srcdir)/tools/make-dissector-reg.py
813 @if test -n "$(PYTHON)"; then \
814 echo Making plugin.c with python ; \
815 $(PYTHON) $(top_srcdir)/tools/make-dissector-reg.py $(srcdir) \
816 plugin $(DISSECTOR_SRC) ; \
818 echo Making plugin.c with shell script ; \
819 $(top_srcdir)/tools/make-dissector-reg $(srcdir) \
820 $(plugin_src) plugin $(DISSECTOR_SRC) ; \
824 $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC) $(DISSECTOR_INCLUDES)
826 # Tell versions [3.59,3.63) of GNU make to not export all variables.
827 # Otherwise a system limit (for SysV at least) may be exceeded.