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 = \
32 BUILT_SOURCES = $(BUILT_C_FILES) $(BUILT_HEADER_FILES)
34 # Header files generated from source files.
35 GENERATED_HEADER_FILES = \
38 # C source files generated from source files.
41 # All the generated files.
42 GENERATED_FILES = $(GENERATED_C_FILES) $(GENERATED_HEADER_FILES)
44 # sources common for wireshark, tshark, and rawshark
55 # corresponding headers
56 SHARK_COMMON_INCLUDES = \
59 capture-pcap-util-int.h \
73 # sources common for wireshark and tshark, but not rawshark;
74 # these are for programs that capture traffic by running dumpcap
75 SHARK_COMMON_CAPTURE_SRC = \
80 # corresponding headers
81 SHARK_COMMON_CAPTURE_INCLUDES = \
88 WIRESHARK_COMMON_SRC = \
90 $(SHARK_COMMON_CAPTURE_SRC) \
104 # corresponding headers
105 WIRESHARK_COMMON_INCLUDES = \
124 $(SHARK_COMMON_SRC) \
125 $(SHARK_COMMON_CAPTURE_SRC) \
131 $(SHARK_COMMON_SRC) \
134 # text2pcap specifics
135 text2pcap_SOURCES = \
140 text2pcap_INCLUDES = \
151 $(WTAP_PLUGIN_SOURCES)
153 # reordercap specifics
154 reordercap_SOURCES = \
161 $(WTAP_PLUGIN_SOURCES)
175 capture-pcap-util.c \
176 capture_stop_conditions.c \
187 # corresponding headers
189 capture_stop_conditions.h \
194 # this target needed for distribution only
196 $(SHARK_COMMON_INCLUDES) \
197 $(SHARK_COMMON_CAPTURE_INCLUDES) \
198 $(WIRESHARK_COMMON_INCLUDES) \