2 # Automake file for the "capture utilities" routines for Wireshark
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 $(top_srcdir)/Makefile.am.inc
24 AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) $(GLIB_CFLAGS) $(PCAP_CFLAGS) \
27 noinst_LIBRARIES = libcaputils.a
29 # All sources that should be put in the source distribution tarball
30 libcaputils_a_SOURCES = \
34 capture-pcap-util-unix.c \
35 capture-pcap-util-int.h \
37 capture_wpcap_packet.h \
44 # This is used to build dumpcap, and dumpcap is, if possible, built as
45 # a position-independent executable (for address space layout randomization,
46 # as it might be running with extra privileges), so this library needs
47 # to be built that way as well.
49 libcaputils_a_CFLAGS = $(AM_CFLAGS) $(PIE_CFLAGS)
51 libcaputils_a_DEPENDENCIES =
61 capture_win_ifnames.c \
62 capture_win_ifnames.h \
65 capture_wpcap_packet.c \
66 capture_wpcap_packet.h \
72 $(DOXYGEN) doxygen.cfg
75 wsar_html: doxygen.cfg ../doxygen_global.cfg
77 (umask 022 ; $(DOXYGEN) doxygen.cfg)
80 checkapi: checkapi-base checkapi-todo
83 $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g deprecated-gtk -build \
84 -sourcedir=$(srcdir) \
85 $(libcaputils_a_SOURCES)
88 $(PERL) $(top_srcdir)/tools/checkAPIs.pl -M -g deprecated-gtk-todo -build \
89 -sourcedir=$(srcdir) \
90 $(libcaputils_a_SOURCES)