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) \
52 # corresponding headers
53 SHARK_COMMON_INCLUDES = \
56 capture-pcap-util-int.h \
68 # sources common for wireshark and tshark, but not rawshark;
69 # these are for programs that capture traffic by running dumpcap
70 SHARK_COMMON_CAPTURE_SRC = \
73 # corresponding headers
74 SHARK_COMMON_CAPTURE_INCLUDES = \
79 WIRESHARK_COMMON_SRC = \
81 $(SHARK_COMMON_CAPTURE_SRC) \
95 # corresponding headers
96 WIRESHARK_COMMON_INCLUDES = \
115 $(SHARK_COMMON_SRC) \
116 $(SHARK_COMMON_CAPTURE_SRC) \
122 $(SHARK_COMMON_SRC) \
127 $(SHARK_COMMON_SRC) \
130 # text2pcap specifics
131 text2pcap_SOURCES = \
136 text2pcap_INCLUDES = \
148 # reordercap specifics
149 reordercap_SOURCES = \
171 $(PLATFORM_PCAP_SRC) \
173 capture-pcap-util.c \
174 capture_stop_conditions.c \
184 # corresponding headers
186 capture_stop_conditions.h \
191 # this target needed for distribution only
193 $(SHARK_COMMON_INCLUDES) \
194 $(SHARK_COMMON_CAPTURE_INCLUDES) \
195 $(WIRESHARK_COMMON_INCLUDES) \