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 # Ethereal - Network traffic analyzer
9 # By Gerald Combs <gerald@ethereal.com>
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.
42 tethereal-tap-register.c
44 # All the generated files.
45 GENERATED_FILES = $(GENERATED_C_FILES) $(GENERATED_HEADER_FILES)
47 # sources common for ethereal and tethereal
48 ETHEREAL_COMMON_SRC = \
52 capture_stop_conditions.c \
67 # corresponding headers
68 ETHEREAL_COMMON_INCLUDES = \
72 capture-pcap-util-int.h \
73 capture_stop_conditions.h \
95 # sources for Tethereal taps
110 tap-protohierstat.c \
113 tap-sctpchunkstat.c \
120 # helpers already available on some platforms (and on others not)
121 EXTRA_ethereal_SOURCES = \
130 # corresponding headers
131 EXTRA_ethereal_INCLUDES = \
141 $(ETHEREAL_COMMON_SRC) \
157 # corresponding headers
158 ethereal_INCLUDES = \
182 # tethereal specifics
183 tethereal_SOURCES = \
184 $(ETHEREAL_COMMON_SRC) \
185 $(TETHEREAL_TAP_SRC) \
189 tethereal-tap-register.c \
192 # text2pcap specifics
193 text2pcap_SOURCES = \
221 capture-pcap-util.c \
222 capture_stop_conditions.c \
232 # this target needed for distribution only
234 $(ETHEREAL_COMMON_INCLUDES) \
235 $(ethereal_INCLUDES) \
236 $(EXTRA_ethereal_INCLUDES)