2 # Automake file for the TShark taps
4 # Wireshark - Network traffic analyzer
5 # By Gerald Combs <gerald@wireshark.org>
6 # Copyright 1998 Gerald Combs
8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License
10 # as published by the Free Software Foundation; either version 2
11 # of the License, or (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 include Makefile.common
23 include $(top_srcdir)/Makefile.am.inc
25 AM_CPPFLAGS += -I$(top_srcdir)/wiretap $(LIBGCRYPT_CFLAGS) \
26 $(LIBGNUTLS_CFLAGS) $(PORTAUDIO_INCLUDES)
28 noinst_LIBRARIES = libcliui.a
32 tshark-tap-register.c-tmp \
33 tshark-tap-register-cache.pkl \
36 MAINTAINERCLEANFILES = \
41 # Build "tshark-tap-register.c", which contains a function
42 # "register_all_tap_listeners()"
43 # that calls the register routines for all tshark tap listeners.
45 # We do this by grepping through sources.
47 # Formatting conventions: The name of the tap_listener_register_*
48 # routines must start in column zero, or must be preceded only by
49 # "void " starting in column zero, and must not be inside #if.
51 # The first argument is the directory in which the source files live.
52 # All subsequent arguments are the files to scan.
54 tshark-tap-register.c: $(TSHARK_TAP_SRC) Makefile.common $(top_srcdir)/tools/make-tap-reg.py
55 @echo Making tshark-tap-register.c
56 @$(PYTHON) $(top_srcdir)/tools/make-tap-reg.py $(srcdir) tshark-taps $(TSHARK_TAP_SRC)
58 # All sources that should be put in the source distribution tarball
59 libcliui_a_SOURCES = \
62 $(GENERATED_HEADER_FILES) \
65 libcliui_a_DEPENDENCIES =
69 $(DOXYGEN) doxygen.cfg
72 checkapi: checkapi-base checkapi-todo
75 $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g deprecated-gtk -build \
76 -sourcedir=$(srcdir) \
80 $(PERL) $(top_srcdir)/tools/checkAPIs.pl -M -g deprecated-gtk-todo -build \
81 -sourcedir=$(srcdir) \