2 # Contains the stuff from Makefile.am and Makefile.nmake that is
3 # a) common to both files and
4 # b) portable between both files
8 # Wireshark - Network traffic analyzer
9 # By Gerald Combs <gerald@wireshark.org>
10 # Copyright 1998 Gerald Combs
12 # This program is free software; you can redistribute it and/or
13 # modify it under the terms of the GNU General Public License
14 # as published by the Free Software Foundation; either version 2
15 # of the License, or (at your option) any later version.
17 # This program is distributed in the hope that it will be useful,
18 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 # GNU General Public License for more details.
22 # You should have received a copy of the GNU General Public License
23 # along with this program; if not, write to the Free Software
24 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 # "BUILT_SOURCES" are built before any "make all" or "make check" targets.
27 BUILT_HEADER_FILES = \
33 BUILT_SOURCES = $(BUILT_C_FILES) $(BUILT_HEADER_FILES)
35 # Header files generated from source files.
36 GENERATED_HEADER_FILES = \
39 # C source files generated from source files.
44 # All the generated files.
45 GENERATED_FILES = $(GENERATED_C_FILES) $(GENERATED_HEADER_FILES)
47 # sources common for wireshark, tshark, and rawshark
48 WIRESHARK_COMMON_SRC = \
54 frame_data_sequence.c \
64 # corresponding headers
65 WIRESHARK_COMMON_INCLUDES = \
68 capture-pcap-util-int.h \
77 frame_data_sequence.h \
90 # sources common for wireshark and tshark, but not rawshark;
91 # these are for programs that capture traffic by running dumpcap
92 SHARK_COMMON_CAPTURE_SRC = \
97 # corresponding headers
98 SHARK_COMMON_CAPTURE_INCLUDES = \
103 # sources for TShark taps
105 ui/cli/tap-afpstat.c \
106 ui/cli/tap-ansi_astat.c \
107 ui/cli/tap-bootpstat.c \
108 ui/cli/tap-camelcounter.c \
109 ui/cli/tap-camelsrt.c \
110 ui/cli/tap-comparestat.c \
111 ui/cli/tap-dcerpcstat.c \
112 ui/cli/tap-diameter-avp.c \
113 ui/cli/tap-expert.c \
114 ui/cli/tap-follow.c \
115 ui/cli/tap-funnel.c \
116 ui/cli/tap-gsm_astat.c \
117 ui/cli/tap-h225counter.c \
118 ui/cli/tap-h225rassrt.c \
120 ui/cli/tap-httpstat.c \
121 ui/cli/tap-icmpstat.c \
122 ui/cli/tap-icmpv6stat.c \
123 ui/cli/tap-iostat.c \
124 ui/cli/tap-iousers.c \
125 ui/cli/tap-macltestat.c \
126 ui/cli/tap-mgcpstat.c \
127 ui/cli/tap-megacostat.c \
128 ui/cli/tap-protocolinfo.c \
129 ui/cli/tap-protohierstat.c \
130 ui/cli/tap-radiusstat.c \
131 ui/cli/tap-rlcltestat.c \
132 ui/cli/tap-rpcstat.c \
133 ui/cli/tap-rpcprogs.c \
135 ui/cli/tap-rtspstat.c \
136 ui/cli/tap-scsistat.c \
137 ui/cli/tap-sctpchunkstat.c \
138 ui/cli/tap-sipstat.c \
139 ui/cli/tap-smbsids.c \
140 ui/cli/tap-smbstat.c \
141 ui/cli/tap-stats_tree.c \
145 # wireshark specifics
146 wireshark_SOURCES = \
147 $(WIRESHARK_COMMON_SRC) \
148 $(SHARK_COMMON_CAPTURE_SRC) \
167 # corresponding headers
168 wireshark_INCLUDES = \
181 ui/main_statusbar.h \
196 $(WIRESHARK_COMMON_SRC) \
197 $(SHARK_COMMON_CAPTURE_SRC) \
201 tshark-tap-register.c \
207 $(WIRESHARK_COMMON_SRC) \
211 # text2pcap specifics
212 text2pcap_SOURCES = \
227 $(WTAP_PLUGIN_SOURCES)
231 $(WTAP_PLUGIN_SOURCES)
246 capture-pcap-util.c \
247 capture_stop_conditions.c \
257 # corresponding headers
259 capture_stop_conditions.h \
264 # this target needed for distribution only
266 $(WIRESHARK_COMMON_INCLUDES) \
267 $(SHARK_COMMON_CAPTURE_INCLUDES) \
268 $(wireshark_INCLUDES) \