aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.common
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2006-02-12 21:52:18 +0000
committerGuy Harris <guy@alum.mit.edu>2006-02-12 21:52:18 +0000
commit4d8d477018ac51a9536103e34368dc11a37e2ed4 (patch)
treec56e6d197864b79c58abd971ebc5bb2d43af6b10 /Makefile.common
parent4d94f994b56be336d459ebd4585a46a8b6d8c4c1 (diff)
Move create_tempfile() to tempfile.c out of util.c. This means dumpcap
no longer needs util.c, so it no longer includes routines that use host_ip_af(), so it no longer needs to define its own host_ip_af(). That also means dumpcap.c no longer needs to include <sys/socket.h>. svn path=/trunk/; revision=17278
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common18
1 files changed, 10 insertions, 8 deletions
diff --git a/Makefile.common b/Makefile.common
index 27f542b5de..5eb4a007bf 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -145,7 +145,8 @@ ethereal_SOURCES = \
g711.c \
merge.c \
proto_hier_stats.c \
- summary.c
+ summary.c \
+ tempfile.c
# corresponding headers
ethereal_INCLUDES = \
@@ -177,7 +178,8 @@ tethereal_SOURCES = \
$(ETHEREAL_COMMON_SRC) \
$(TETHEREAL_TAP_SRC) \
capture_opts.c \
- capture_loop.c \
+ capture_loop.c \
+ tempfile.c \
tethereal-tap-register.c \
tethereal.c
@@ -208,17 +210,17 @@ randpkt_SOURCES = \
# dumpcap specifics
dumpcap_SOURCES = \
$(PLATFORM_SRC) \
+ capture_opts.c \
+ capture_loop.c \
capture-pcap-util.c \
capture_stop_conditions.c \
- getopt.c \
clopts_common.c \
conditions.c \
+ dumpcap.c \
+ getopt.c \
ringbuffer.c \
- util.c \
- version_info.c \
- capture_opts.c \
- capture_loop.c \
- dumpcap.c
+ tempfile.c \
+ version_info.c
# this target needed for distribution only