aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.common
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2006-02-15 19:20:36 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2006-02-15 19:20:36 +0000
commitcad86206cb0e72197842e911d84e2929d4d2ef37 (patch)
tree1c1d556e61c5e36588a51342d5469102336e3aa1 /Makefile.common
parent691ba88de163282b66ab86fdaa26655a63a72b46 (diff)
Check for getopt in the configure script, as we do for other routines
not available on all platforms. Include getopt.c in EXTRA_ethereal_SOURCES and include getopt.h in EXTRA_ethereal_INCLUDES, as we do with the other files that supply routines not available on all platforms, rather than always including them in the source for dumpcap. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17311 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.common b/Makefile.common
index de033c0bd5..1af16d7413 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -116,19 +116,21 @@ TETHEREAL_TAP_SRC = \
# helpers already available on some platforms (and on others not)
EXTRA_ethereal_SOURCES = \
+ getopt.c \
+ mkstemp.c \
snprintf.c \
strerror.c \
strcasecmp.c \
strncasecmp.c \
- mkstemp.c \
strptime.c
# corresponding headers
EXTRA_ethereal_INCLUDES = \
+ getopt.h \
+ mkstemp.h \
snprintf.h \
snprintf-imp.h \
strerror.h \
- mkstemp.h \
strptime.h
# ethereal specifics
@@ -218,7 +220,6 @@ dumpcap_SOURCES = \
clopts_common.c \
conditions.c \
dumpcap.c \
- getopt.c \
ringbuffer.c \
tempfile.c \
version_info.c
@@ -229,4 +230,3 @@ noinst_HEADERS = \
$(ETHEREAL_COMMON_INCLUDES) \
$(ethereal_INCLUDES) \
$(EXTRA_ethereal_INCLUDES)
-