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 # Header files for dissector helpers
27 # XXX - these should be moved to epan/dissectors
28 DISSECTOR_SUPPORT_INCLUDES = \
50 # "BUILT_SOURCES" are built before any "make all" or "make check" targets.
51 BUILT_HEADER_FILES = \
57 BUILT_SOURCES = $(BUILT_C_FILES) $(BUILT_HEADER_FILES)
59 # Header files generated from source files.
60 GENERATED_HEADER_FILES = \
63 # C source files generated from source files.
66 tethereal-tap-register.c
68 # All the generated files.
69 GENERATED_FILES = $(GENERATED_C_FILES) $(GENERATED_HEADER_FILES)
71 # sources common for ethereal and tethereal
72 ETHEREAL_COMMON_SRC = \
74 capture_stop_conditions.c \
89 # corresponding headers
90 ETHEREAL_COMMON_INCLUDES = \
91 $(DISSECTOR_SUPPORT_INCLUDES) \
93 capture_stop_conditions.h \
113 # sources for Tethereal taps
114 TETHEREAL_TAP_SRC = \
126 tap-protohierstat.c \
129 tap-sctpchunkstat.c \
136 # helpers alraedy available on some platforms (and on others not)
137 EXTRA_ethereal_SOURCES = \
145 # corresponding headers
146 EXTRA_ethereal_INCLUDES = \
155 $(ETHEREAL_COMMON_SRC) \
170 # corresponding headers
171 ethereal_INCLUDES = \
191 # tethereal specifics
192 tethereal_SOURCES = \
193 $(ETHEREAL_COMMON_SRC) \
194 $(TETHEREAL_TAP_SRC) \
196 tethereal-tap-register.c \
199 # text2pcap specifics
200 text2pcap_SOURCES = \
223 # this target needed for distribution only
225 $(DISSECTOR_SUPPORT_INCLUDES) \
226 $(ETHEREAL_COMMON_INCLUDES) \
227 $(ethereal_INCLUDES) \
228 $(EXTRA_ethereal_INCLUDES)