CMake: API reference fixes.
[metze/wireshark/wip.git] / ui / cli / Makefile.am
1 # Makefile.am
2 # Automake file for the TShark taps
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) \
25         $(LIBGCRYPT_CFLAGS) $(LIBGNUTLS_CFLAGS)
26
27 noinst_LIBRARIES = libcliui.a
28
29 # Generated files not in the distribution.
30 NODIST_GENERATED_FILES = \
31         tshark-tap-register.c
32
33 # sources for TShark taps
34 TSHARK_TAP_SRC = \
35         tap-camelsrt.c          \
36         tap-comparestat.c       \
37         tap-diameter-avp.c      \
38         tap-endpoints.c         \
39         tap-endpoints.c         \
40         tap-expert.c            \
41         tap-exportobject.c      \
42         tap-flow.c                      \
43         tap-follow.c            \
44         tap-funnel.c            \
45         tap-gsm_astat.c         \
46         tap-hosts.c             \
47         tap-httpstat.c          \
48         tap-icmpstat.c          \
49         tap-icmpv6stat.c        \
50         tap-iostat.c            \
51         tap-iousers.c           \
52         tap-macltestat.c        \
53         tap-protocolinfo.c      \
54         tap-protohierstat.c     \
55         tap-rlcltestat.c        \
56         tap-rpcprogs.c          \
57         tap-rtd.c               \
58         tap-rtp.c               \
59         tap-rtspstat.c          \
60         tap-sctpchunkstat.c     \
61         tap-simple_stattable.c  \
62         tap-sipstat.c           \
63         tap-smbsids.c           \
64         tap-srt.c               \
65         tap-stats_tree.c        \
66         tap-sv.c                \
67         tap-wspstat.c
68
69 noinst_HEADERS = \
70         tap-exportobject.h      \
71         tshark-tap.h
72
73 # All sources that should be put in the source distribution tarball
74 libcliui_a_SOURCES = \
75         $(TSHARK_TAP_SRC)
76
77 nodist_libcliui_a_SOURCES = \
78         $(NODIST_GENERATED_FILES)
79
80 EXTRA_DIST = \
81         .editorconfig
82
83 DISTCLEANFILES = \
84         $(NODIST_GENERATED_FILES)
85
86 tshark-tap-register.c: $(TSHARK_TAP_SRC) ../make-taps
87         $(AM_V_GEN)../make-taps $@ $(filter %.c,$^)
88
89 doxygen:
90 if HAVE_DOXYGEN
91         $(DOXYGEN) doxygen.cfg
92 endif           # HAVE_DOXYGEN
93
94 checkapi:
95         $(PERL) $(top_srcdir)/tools/checkAPIs.pl -build \
96         -sourcedir=$(srcdir) $(TSHARK_TAP_SRC)