containing helper routines, to DISSECTOR_HELPER_SRC. Include
DISSECTOR_HELPER_SRC in ETHEREAL_COMMON_SRC, and include BUILT_SOURCES
in ETHEREAL_COMMON_SRC rather than repeating those headers directly. Do
similar things with ETHEREAL_COMMON_OBJECTS and DISSECTOR_COMMON_OBJECTS
in Makefile.nmake.
Add "packet-x11-keysymdef.h" to "noinst_Headers", so it's built as part
of the tarball.
svn path=/trunk/; revision=9627
# Makefile.am
# Automake file for Ethereal
#
-# $Id: Makefile.am,v 1.685 2004/01/10 02:43:28 guy Exp $
+# $Id: Makefile.am,v 1.686 2004/01/10 04:09:14 guy Exp $
#
# Ethereal - Network traffic analyzer
# By Gerald Combs <gerald@ethereal.com>
packet-wtls.h \
packet-wtp.h \
packet-x11-keysym.h \
+ packet-x11-keysymdef.h \
packet-ypbind.h \
packet-yppasswd.h \
packet-ypserv.h \
packet-ypxfr.h
-ETHEREAL_COMMON_SRC = \
+DISSECTOR_HELPER_SRC = \
adler32.c \
adler32.h \
afn.c \
asn1.c \
asn1.h \
bridged_pids.h \
- capture_stop_conditions.c \
- capture_stop_conditions.h \
- cfile.c \
- cfile.h \
chdlctypes.h \
- color.h \
- column.c \
- column.h \
- conditions.c \
- conditions.h \
crc32.c \
crc32.h \
crypt-des.c \
crypt-md5.h \
crypt-rc4.c \
crypt-rc4.h \
- disabled_protos.c \
- disabled_protos.h \
etypes.h \
- file.h \
- follow.c \
- follow.h \
format-oid.h \
g711.c \
g711.h \
nlpid.h \
oui.h \
packet-dcerpc-nt.c \
+ ppptypes.h \
+ ptvcursor.c \
+ ptvcursor.h \
+ reassemble.c \
+ reassemble.h \
+ req_resp_hdrs.c \
+ req_resp_hdrs.h \
+ rpc_defrag.h \
+ rtp_pt.h \
+ sctpppids.h \
+ smb.h \
+ t35.c \
+ t35.h \
+ x264_prt_id.h \
+ xdlc.c \
+ xdlc.h
+
+BUILT_SOURCES = \
+ x11-declarations.h \
+ x11-register-info.h
+
+ETHEREAL_COMMON_SRC = \
+ $(DISSECTOR_HELPER_SRC) \
+ $(BUILT_SOURCES) \
+ capture_stop_conditions.c \
+ capture_stop_conditions.h \
+ cfile.c \
+ cfile.h \
+ color.h \
+ column.c \
+ column.h \
+ conditions.c \
+ conditions.h \
+ disabled_protos.c \
+ disabled_protos.h \
+ file.h \
+ follow.c \
+ follow.h \
pcap-util.c \
pcap-util.h \
pcap-util-int.h \
pcap-util-unix.c \
- ppptypes.h \
prefs-int.h \
prefs.c \
prefs.h \
print.h \
ps.c \
ps.h \
- ptvcursor.c \
- ptvcursor.h \
range.c \
range.h \
- reassemble.c \
- reassemble.h \
register.h \
- req_resp_hdrs.c \
- req_resp_hdrs.h \
ringbuffer.c \
ringbuffer.h \
- rpc_defrag.h \
- rtp_pt.h \
- sctpppids.h \
- smb.h \
- t35.c \
- t35.h \
tap.c \
tap.h \
tap_dfilter_dlg.h \
timestats.h \
util.c \
util.h \
- x11-declarations.h \
- x11-register-info.h \
- x264_prt_id.h \
- xdlc.c \
- xdlc.h \
xmlstub.c \
xmlstub.h
-BUILT_SOURCES = \
- x11-declarations.h \
- x11-register-info.h
-
ethereal_SOURCES = \
$(DISSECTOR_SRC) \
$(ETHEREAL_COMMON_SRC) \
## Makefile for building ethereal.exe with Microsoft C and nmake
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
#
-# $Id: Makefile.nmake,v 1.384 2004/01/10 02:38:39 obiot Exp $
+# $Id: Makefile.nmake,v 1.385 2004/01/10 04:09:14 guy Exp $
include config.nmake
include <win32.mak>
TETHEREAL_TAP_OBJECTS = $(TETHEREAL_TAP_SRC:.c=.obj)
-ETHEREAL_COMMON_OBJECTS = \
+DISSECTOR_HELPER_OBJECTS = \
adler32.obj \
afn.obj \
asn1.obj \
- capture_stop_conditions.obj \
- capture-wpcap.obj \
- cfile.obj \
- column.obj \
- conditions.obj \
crc32.obj \
crypt-des.obj \
crypt-md4.obj \
crypt-md5.obj \
crypt-rc4.obj \
- disabled_protos.obj \
- follow.obj \
g711.obj \
- getopt.obj \
h225-persistentdata.obj \
in_cksum.obj \
ipproto.obj \
packet-dcerpc-nt.obj \
+ ptvcursor.obj \
+ reassemble.obj \
+ req_resp_hdrs.obj \
+ t35.obj \
+ xdlc.obj
+
+ETHEREAL_COMMON_OBJECTS = \
+ $(DISSECTOR_HELPER_OBJECTS) \
+ capture_stop_conditions.obj \
+ capture-wpcap.obj \
+ cfile.obj \
+ column.obj \
+ conditions.obj \
+ disabled_protos.obj \
+ follow.obj \
+ getopt.obj \
pcap-util.obj \
prefs.obj \
print.obj \
ps.obj \
- ptvcursor.obj \
range.obj \
- reassemble.obj \
register.obj \
- req_resp_hdrs.obj \
ringbuffer.obj \
- t35.obj \
tap.obj \
timestats.obj \
util.obj \
- xdlc.obj \
- xmlstub.obj \
+ xmlstub.obj
ethereal_OBJECTS = \
$(DISSECTOR_OBJECTS) \