split some parts of the packet counting functions into their own files capture_info...
[metze/wireshark/wip.git] / Makefile.common
index c192dccd735210267b6a335365f77a4a85e8954b..a1322f1d9f00add5f8fa6b1eec79c233fba1619d 100644 (file)
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
-# Header files for dissector helpers
-# XXX - these should be moved to epan/dissectors
-DISSECTOR_SUPPORT_INCLUDES =   \
-       aftypes.h       \
-       arcnet_pids.h   \
-       bridged_pids.h  \
-       chdlctypes.h    \
-       etypes.h        \
-       format-oid.h    \
-       greproto.h      \
-       iax2_codec_type.h       \
-       ip_opts.h       \
-       isprint.h       \
-       lapd_sapi.h     \
-       llcsaps.h       \
-       nlpid.h \
-       oui.h   \
-       ppptypes.h      \
-       rpc_defrag.h    \
-       rtp_pt.h        \
-       sctpppids.h     \
-       smb.h   \
-       x264_prt_id.h
-
 # "BUILT_SOURCES" are built before any "make all" or "make check" targets.
 BUILT_HEADER_FILES =   \
        svnversion.h
@@ -71,6 +47,7 @@ GENERATED_FILES = $(GENERATED_C_FILES) $(GENERATED_HEADER_FILES)
 # sources common for ethereal and tethereal
 ETHEREAL_COMMON_SRC =  \
        $(PLATFORM_SRC) \
+       capture_errs.c  \
        capture_stop_conditions.c       \
        capture_ui_utils.c      \
        cfile.c \
@@ -88,17 +65,19 @@ ETHEREAL_COMMON_SRC =       \
 
 # corresponding headers
 ETHEREAL_COMMON_INCLUDES =     \
-       $(DISSECTOR_SUPPORT_INCLUDES)   \
        svnversion.h            \
+       capture_errs.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  \
        pcap-util.h     \
        pcap-util-int.h \
@@ -156,9 +135,10 @@ ethereal_SOURCES = \
        $(ETHEREAL_COMMON_SRC)  \
        alert_box.c     \
        capture.c       \
+       capture_info.c  \
+       capture_loop.c  \
        capture_opts.c \
        capture_sync.c  \
-       capture_loop.c  \
        color_filters.c \
        file.c  \
        fileset.c       \
@@ -172,6 +152,9 @@ ethereal_SOURCES =  \
 ethereal_INCLUDES =    \
        alert_box.h     \
        capture.h       \
+       capture_info.h  \
+       capture_loop.h  \
+       capture_opts.h  \
        capture_sync.h  \
        color_filters.h \
        filters.h       \
@@ -184,6 +167,7 @@ ethereal_INCLUDES = \
        progress_dlg.h  \
        proto_hier_stats.h      \
        simple_dialog.h \
+       stat_menu.h     \
        statusbar.h     \
        summary.h       \
        tap_dfilter_dlg.h       \
@@ -221,9 +205,24 @@ dftest_SOURCES =   \
 randpkt_SOURCES = \
        randpkt.c
 
+# dumpcap specifics
+dumpcap_SOURCES =      \
+       $(PLATFORM_SRC) \
+       capture_stop_conditions.c       \
+       clopts_common.c \
+       conditions.c    \
+       pcap-util.c     \
+       ringbuffer.c    \
+       util.c  \
+       version_info.c \
+       capture_opts.c \
+       capture_loop.c  \
+       capture_info.c  \
+       dumpcap.c
+
+
 # this target needed for distribution only
 noinst_HEADERS =       \
-       $(DISSECTOR_SUPPORT_INCLUDES) \
        $(ETHEREAL_COMMON_INCLUDES) \
        $(ethereal_INCLUDES) \
        $(EXTRA_ethereal_INCLUDES)