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
6 # Wireshark - Network traffic analyzer
7 # By Gerald Combs <gerald@wireshark.org>
8 # Copyright 1998 Gerald Combs
10 # This program is free software; you can redistribute it and/or
11 # modify it under the terms of the GNU General Public License
12 # as published by the Free Software Foundation; either version 2
13 # of the License, or (at your option) any later version.
15 # This program is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU General Public License for more details.
20 # You should have received a copy of the GNU General Public License
21 # along with this program; if not, write to the Free Software
22 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24 # "BUILT_SOURCES" are built before any "make all" or "make check" targets.
25 BUILT_HEADER_FILES = \
30 BUILT_SOURCES = $(BUILT_C_FILES) $(BUILT_HEADER_FILES)
32 # Header files generated from source files.
33 GENERATED_HEADER_FILES = \
36 # C source files generated from source files.
39 # All the generated files.
40 GENERATED_FILES = $(GENERATED_C_FILES) $(GENERATED_HEADER_FILES)
42 # sources common for wireshark, tshark, and rawshark
44 $(PLATFORM_PCAP_SRC) \
53 # corresponding headers
54 SHARK_COMMON_INCLUDES = \
57 capture-pcap-util-int.h \
70 # sources common for wireshark and tshark, but not rawshark;
71 # these are for programs that capture traffic by running dumpcap
72 SHARK_COMMON_CAPTURE_SRC = \
77 # corresponding headers
78 SHARK_COMMON_CAPTURE_INCLUDES = \
85 WIRESHARK_COMMON_SRC = \
87 $(SHARK_COMMON_CAPTURE_SRC) \
101 # corresponding headers
102 WIRESHARK_COMMON_INCLUDES = \
121 $(SHARK_COMMON_SRC) \
122 $(SHARK_COMMON_CAPTURE_SRC) \
128 $(SHARK_COMMON_SRC) \
133 $(SHARK_COMMON_SRC) \
136 # text2pcap specifics
137 text2pcap_SOURCES = \
142 text2pcap_INCLUDES = \
154 # reordercap specifics
155 reordercap_SOURCES = \
177 $(PLATFORM_PCAP_SRC) \
179 capture-pcap-util.c \
180 capture_stop_conditions.c \
191 # corresponding headers
193 capture_stop_conditions.h \
198 # this target needed for distribution only
200 $(SHARK_COMMON_INCLUDES) \
201 $(SHARK_COMMON_CAPTURE_INCLUDES) \
202 $(WIRESHARK_COMMON_INCLUDES) \