CMake: API reference fixes.
[metze/wireshark/wip.git] / extcap / Makefile.am
1 # Makefile.am
2 # Automake file for extcap tools
3 #
4 # Wireshark - Network traffic analyzer
5 # By Gerald Combs <gerald@wireshark.org>
6 # Copyright 1998 Gerald Combs
7 #
8 # SPDX-License-Identifier: GPL-2.0-or-later
9
10 include ../Makefile.am.inc
11
12 AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) $(GLIB_CFLAGS) $(PCAP_CFLAGS)
13
14 EXTRA_DIST = \
15         .editorconfig
16
17 extcap_PROGRAMS = \
18         @androiddump_bin@       \
19         @randpktdump_bin@       \
20         @sshdump_bin@           \
21         @ciscodump_bin@         \
22         @udpdump_bin@
23
24 EXTRA_PROGRAMS = androiddump randpktdump sshdump ciscodump udpdump
25
26 androiddump_SOURCES = \
27         androiddump.c   \
28         extcap-base.c
29
30 # Libraries and plugin flags with which to link androiddump.
31 androiddump_LDADD = \
32         ../ui/libui.a                   \
33         ../wiretap/libwiretap.la        \
34         ../wsutil/libwsutil.la          \
35         @GLIB_LIBS@
36
37 randpktdump_SOURCES = \
38         randpktdump.c   \
39         extcap-base.c
40
41 # Libraries and plugin flags with which to link randpktdump.
42 randpktdump_LDADD = \
43         ../randpkt_core/librandpkt_core.a       \
44         ../ui/libui.a                   \
45         ../wiretap/libwiretap.la        \
46         ../wsutil/libwsutil.la          \
47         @GLIB_LIBS@
48
49 sshdump_SOURCES = \
50         sshdump.c       \
51         extcap-base.c   \
52         ssh-base.c
53
54 # Libraries and plugin flags with which to link sshdump.
55 sshdump_LDADD = \
56         ../wiretap/libwiretap.la        \
57         ../wsutil/libwsutil.la          \
58         @GLIB_LIBS@                     \
59         @LIBSSH_LIBS@
60
61 ciscodump_SOURCES = \
62         ciscodump.c     \
63         extcap-base.c   \
64         ssh-base.c
65
66 # Libraries and plugin flags with which to link ciscodump.
67 ciscodump_LDADD = \
68         ../writecap/libwritecap.a       \
69         ../wsutil/libwsutil.la          \
70         @GLIB_LIBS@                     \
71         @LIBSSH_LIBS@
72
73 udpdump_SOURCES = \
74         udpdump.c \
75         extcap-base.c
76
77 # Libraries and plugin flags with which to link udpdump.
78 udpdump_LDADD = \
79         ../writecap/libwritecap.a       \
80         ../wsutil/libwsutil.la          \
81         @GLIB_LIBS@
82
83 noinst_HEADERS = \
84         extcap-base.h   \
85         ssh-base.h