aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.common
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2007-09-25 21:55:06 +0000
committerUlf Lamping <ulf.lamping@web.de>2007-09-25 21:55:06 +0000
commit879d656537c910b8393cdcb8f7b911edcec9bd1e (patch)
treecd1227737fcdb3708a64664a0fa4dd2451ea6e2c /Makefile.common
parent35eb028ca4e35a6ab130ade148a687ad2ceeadb2 (diff)
as "advertised" some days ago:
rewrite the tshark capture code almost completely, to use dumpcap instead of it's own pcap functionality. This works on Win32 and should work on unix/linux (but I'm not sure here). Some stuff needs to be cleaned up, some more may need to be rewritten to specifically work with unix/win32. Futher work needs to be done at: 1. read filters (simply document current behaviour?) 2. event loop polling 3. privileges 4. code cleanup (e.g. in capture_loop.c) Be prepared that tshark might not work as before / expected at least in the next days! svn path=/trunk/; revision=22969
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common21
1 files changed, 10 insertions, 11 deletions
diff --git a/Makefile.common b/Makefile.common
index fff39022b6..74d153c214 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -49,17 +49,13 @@ WIRESHARK_COMMON_SRC = \
$(PLATFORM_SRC) \
capture_errs.c \
capture-pcap-util.c \
- capture_stop_conditions.c \
capture_ui_utils.c \
cfile.c \
clopts_common.c \
- conditions.c \
disabled_protos.c \
packet-range.c \
print.c \
ps.c \
- pcapio.c \
- ringbuffer.c \
timestats.c \
util.c \
version_info.c
@@ -70,23 +66,19 @@ WIRESHARK_COMMON_INCLUDES = \
capture_errs.h \
capture-pcap-util.h \
capture-pcap-util-int.h \
- capture_stop_conditions.h \
capture_ui_utils.h \
cfile.h \
clopts_common.h \
cmdarg_err.h \
color.h \
- conditions.h \
disabled_protos.h \
file.h \
fileset.h \
isprint.h \
packet-range.h \
- pcapio.h \
print.h \
ps.h \
register.h \
- ringbuffer.h \
tempfile.h \
timestats.h \
util.h \
@@ -166,7 +158,6 @@ wireshark_INCLUDES = \
alert_box.h \
capture.h \
capture_info.h \
- capture_loop.h \
capture_opts.h \
capture_sync.h \
color_filters.h \
@@ -192,7 +183,7 @@ tshark_SOURCES = \
$(WIRESHARK_COMMON_SRC) \
$(TSHARK_TAP_SRC) \
capture_opts.c \
- capture_loop.c \
+ capture_sync.c \
tempfile.c \
tshark-tap-register.c \
tshark.c
@@ -244,9 +235,17 @@ dumpcap_SOURCES = \
version_info.c \
epan/unicode-utils.c
+# corresponding headers
+dumpcap_INCLUDES = \
+ capture_loop.h \
+ capture_stop_conditions.h \
+ conditions.h \
+ pcapio.h \
+ ringbuffer.h \
# this target needed for distribution only
noinst_HEADERS = \
$(WIRESHARK_COMMON_INCLUDES) \
$(wireshark_INCLUDES) \
- $(EXTRA_wireshark_INCLUDES)
+ $(EXTRA_wireshark_INCLUDES) \
+ $(dumpcap_INCLUDES)