![Guy Harris](/assets/img/avatar_default.png)
wtap_wtap_encap_to_pcap_encap() to wiretap/pcap-encap.h. Include it where it's needed; don't include other Wiretap headers where they're not needed. Include pcapng.h in pcapng.c, to declare the functions defined in pcapng.c. Add some casts to squelch some warnings, and add to a comment to indicate one of the problems. svn path=/trunk/; revision=31960
151 lines
3.2 KiB
Makefile
151 lines
3.2 KiB
Makefile
# Makefile.common
|
|
# Contains the stuff from Makefile.am and Makefile.nmake that is
|
|
# a) common to both files and
|
|
# b) portable between both files
|
|
#
|
|
# $Id$
|
|
#
|
|
# Wireshark - Network traffic analyzer
|
|
# By Gerald Combs <gerald@wireshark.org>
|
|
# Copyright 1998 Gerald Combs
|
|
#
|
|
# This program is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU General Public License
|
|
# as published by the Free Software Foundation; either version 2
|
|
# of the License, or (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
# C source files that are part of the Wiretap source; this includes only
|
|
# .c files, not YACC or Lex or... files (as Makefile.nmake maps this list
|
|
# into a list of object files by replacing ".c" with ".obj") or files
|
|
# generated from YACC or Lex files (as Automake doesn't want them in
|
|
# _SOURCES variables).
|
|
NONGENERATED_C_FILES = \
|
|
5views.c \
|
|
airopeek9.c \
|
|
ascendtext.c \
|
|
atm.c \
|
|
ber.c \
|
|
btsnoop.c \
|
|
buffer.c \
|
|
catapult_dct2000.c \
|
|
commview.c \
|
|
cosine.c \
|
|
csids.c \
|
|
daintree-sna.c \
|
|
dbs-etherwatch.c \
|
|
dct3trace.c \
|
|
erf.c \
|
|
etherpeek.c \
|
|
eyesdn.c \
|
|
file_access.c \
|
|
file_wrappers.c \
|
|
hcidump.c \
|
|
i4btrace.c \
|
|
iptrace.c \
|
|
iseries.c \
|
|
jpeg_jfif.c \
|
|
k12.c \
|
|
lanalyzer.c \
|
|
libpcap.c \
|
|
mpeg.c \
|
|
netmon.c \
|
|
netscaler.c \
|
|
netscreen.c \
|
|
nettl.c \
|
|
network_instruments.c \
|
|
netxray.c \
|
|
ngsniffer.c \
|
|
packetlogger.c \
|
|
pcap-common.c \
|
|
pcapng.c \
|
|
pppdump.c \
|
|
radcom.c \
|
|
snoop.c \
|
|
tnef.c \
|
|
toshiba.c \
|
|
visual.c \
|
|
vms.c \
|
|
wtap.c
|
|
|
|
# Header files that are not generated from other files
|
|
NONGENERATED_HEADER_FILES = \
|
|
5views.h \
|
|
airopeek9.h \
|
|
ascendtext.h \
|
|
ascend-int.h \
|
|
atm.h \
|
|
ber.h \
|
|
buffer.h \
|
|
btsnoop.h \
|
|
catapult_dct2000.h \
|
|
commview.h \
|
|
cosine.h \
|
|
csids.h \
|
|
daintree-sna.h \
|
|
dbs-etherwatch.h \
|
|
dct3trace.h \
|
|
erf.h \
|
|
etherpeek.h \
|
|
eyesdn.h \
|
|
file_wrappers.h \
|
|
hcidump.h \
|
|
i4btrace.h \
|
|
i4b_trace.h \
|
|
iptrace.h \
|
|
iseries.h \
|
|
jpeg_jfif.h \
|
|
k12.h \
|
|
lanalyzer.h \
|
|
libpcap.h \
|
|
mpeg.h \
|
|
netmon.h \
|
|
netscreen.h \
|
|
netscaler.h \
|
|
nettl.h \
|
|
network_instruments.h \
|
|
netxray.h \
|
|
ngsniffer.h \
|
|
packetlogger.h \
|
|
pcap-common.h \
|
|
pcap-encap.h \
|
|
pcapng.h \
|
|
pppdump.h \
|
|
radcom.h \
|
|
snoop.h \
|
|
tnef.h \
|
|
toshiba.h \
|
|
visual.h \
|
|
vms.h \
|
|
wtap.h \
|
|
wtap-int.h
|
|
|
|
# Files that generate compileable files
|
|
GENERATOR_FILES = \
|
|
ascend.y \
|
|
ascend_scanner.l \
|
|
k12text.l
|
|
|
|
# The C source files they generate.
|
|
GENERATED_C_FILES = \
|
|
ascend.c \
|
|
ascend_scanner.c \
|
|
k12text.c
|
|
|
|
# The header files that they generate.
|
|
GENERATED_HEADER_FILES = \
|
|
ascend.h \
|
|
ascend_scanner_lex.h \
|
|
k12text_lex.h
|
|
|
|
# All the generated files.
|
|
GENERATED_FILES = $(GENERATED_C_FILES) $(GENERATED_HEADER_FILES)
|