981c797e05a10ad3be0ddcd4ccb82b04642d5208
[metze/wireshark/wip.git] / capchild / Makefile.am
1 # Makefile.am
2 # Automake file for the "talking to dumpcap" routines for Wireshark
3 #
4 # Wireshark - Network traffic analyzer
5 # By Gerald Combs <gerald@wireshark.org>
6 # Copyright 1998 Gerald Combs
7 #
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.
12 #
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.
17 #
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.
21
22 include $(top_srcdir)/Makefile.am.inc
23
24 AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) $(GLIB_CFLAGS) $(PCAP_CFLAGS)
25
26 noinst_LIBRARIES = libcapchild.a
27
28 # All sources that should be put in the source distribution tarball
29 libcapchild_a_SOURCES = \
30         capture_ifinfo.c        \
31         capture_sync.c          \
32         capture_session.h       \
33         capture_sync.h
34
35 libcapchild_a_DEPENDENCIES =
36
37 EXTRA_DIST = \
38         CMakeLists.txt                  \
39         doxygen.cfg.in
40
41 CLEANFILES = \
42         doxygen-capchild.tag
43
44 doxygen:
45 if HAVE_DOXYGEN
46         $(DOXYGEN) doxygen.cfg
47 endif           # HAVE_DOXYGEN
48
49 wsar_html: doxygen.cfg ../doxygen_global.cfg
50 if HAVE_DOXYGEN
51         (umask 022 ; $(DOXYGEN) doxygen.cfg)
52 endif
53
54 checkapi: checkapi-base checkapi-todo
55
56 checkapi-base:
57         $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g deprecated-gtk -build \
58         -sourcedir=$(srcdir) \
59         $(libcapchild_a_SOURCES)
60
61 checkapi-todo:
62         $(PERL) $(top_srcdir)/tools/checkAPIs.pl -M -g deprecated-gtk-todo -build \
63         -sourcedir=$(srcdir) \
64         $(libcapchild_a_SOURCES)