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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 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.
43 # All the generated files.
44 GENERATED_FILES = $(GENERATED_C_FILES) $(GENERATED_HEADER_FILES)
46 # sources common for wireshark, tshark, and rawshark
47 WIRESHARK_COMMON_SRC = \
54 frame_data_sequence.c \
64 # corresponding headers
65 WIRESHARK_COMMON_INCLUDES = \
68 capture-pcap-util-int.h \
69 capture_unix_ifnames.h \
78 frame_data_sequence.h \
91 # sources common for wireshark and tshark, but not rawshark;
92 # these are for programs that capture traffic by running dumpcap
93 SHARK_COMMON_CAPTURE_SRC = \
98 # corresponding headers
99 SHARK_COMMON_CAPTURE_INCLUDES = \
104 # wireshark specifics
105 wireshark_SOURCES = \
106 $(WIRESHARK_COMMON_SRC) \
107 $(SHARK_COMMON_CAPTURE_SRC) \
125 # corresponding headers
126 wireshark_INCLUDES = \
148 $(WIRESHARK_COMMON_SRC) \
149 $(SHARK_COMMON_CAPTURE_SRC) \
156 $(WIRESHARK_COMMON_SRC) \
159 # text2pcap specifics
160 text2pcap_SOURCES = \
165 text2pcap_INCLUDES = \
180 $(WTAP_PLUGIN_SOURCES)
182 # reordercap specifics
183 reordercap_SOURCES = \
190 $(WTAP_PLUGIN_SOURCES)
204 capture-pcap-util.c \
205 capture_stop_conditions.c \
217 # corresponding headers
219 capture_stop_conditions.h \
224 # this target needed for distribution only
226 $(WIRESHARK_COMMON_INCLUDES) \
227 $(SHARK_COMMON_CAPTURE_INCLUDES) \
228 $(wireshark_INCLUDES) \