Split the low-level print stream code into a separate file.
[metze/wireshark/wip.git] / epan / Makefile.common
index 88dbed64bb30b2ae760abe29cf665fee37f81296..7d193a40d4afd04314b618eca8a61c20d3eb1d3a 100644 (file)
@@ -3,8 +3,6 @@
 #     a) common to both files and
 #     b) portable between both files
 #
-# $Id$
-#
 # Wireshark - Network traffic analyzer
 # By Gerald Combs <gerald@wireshark.org>
 # Copyright 1998 Gerald Combs
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 
-LIBWIRESHARK_SRC =             \
+LIBWIRESHARK_SRC =             \
        addr_and_mask.c         \
        addr_resolv.c           \
-       adler32.c               \
+       address_to_str.c        \
        afn.c                   \
+       aftypes.c               \
+       app_mem_usage.c         \
        asn1.c                  \
        atalk-utils.c           \
-       base64.c                \
-       bitswap.c               \
-       camel-persistentdata.c  \
        charsets.c              \
        circuit.c               \
-       codecs.c                \
        column.c                \
        column-utils.c          \
        conversation.c          \
-       crc10.c                 \
-       crc16.c                 \
-       crc32.c                 \
-       crc6.c                  \
-       crcdrm.c                \
+       conversation_table.c    \
+       crc10-tvb.c             \
+       crc16-tvb.c             \
+       crc32-tvb.c             \
+       crc6-tvb.c              \
+       crc8-tvb.c              \
+       decode_as.c             \
+       disabled_protos.c       \
        dissector_filters.c     \
+       dvb_chartbl.c           \
+       dwarf.c                 \
        emem.c                  \
        epan.c                  \
        ex-opt.c                \
        except.c                \
        expert.c                \
-       filesystem.c            \
+       exported_pdu.c          \
+       filter_expressions.c    \
        follow.c                \
        frame_data.c            \
+       frame_data_sequence.c   \
        frequency-utils.c       \
-       funnel.c                \
+       funnel.c                \
        gcp.c                   \
-        golay.c                        \
-       guid-utils.c            \
+       geoip_db.c              \
+       golay.c                 \
+       guid-utils.c            \
        h225-persistentdata.c   \
        in_cksum.c              \
        ipproto.c               \
        ipv4.c                  \
        next_tvb.c              \
-       nstime.c                \
-        oids.c                 \
+       oids.c                  \
        osi-utils.c             \
+       oui.c                   \
+       packet-range.c          \
        packet.c                \
-       plugins.c               \
        prefs.c                 \
-       privileges.c            \
+       print.c                 \
+       print_stream.c          \
        proto.c                 \
        range.c                 \
        reassemble.c            \
        reedsolomon.c           \
-       report_err.c            \
        req_resp_hdrs.c         \
+       show_exception.c        \
        sigcomp_state_hdlr.c    \
        sigcomp-udvm.c          \
        sminmpec.c              \
        sna-utils.c             \
-       stat_cmd_args.c         \
+       stat_tap_ui.c           \
        stats_tree.c            \
        strutil.c               \
        stream.c                \
        t35.c                   \
        tap.c                   \
-       tcap-persistentdata.c   \
        timestamp.c             \
+       timestats.c             \
        tfs.c                   \
        to_str.c                \
        tvbparse.c              \
+       tvbuff_base64.c         \
+       tvbuff_composite.c      \
+       tvbuff_real.c           \
+       tvbuff_subset.c         \
+       tvbuff_zlib.c           \
        tvbuff.c                \
        uat.c                   \
-       unicode-utils.c         \
        value_string.c          \
-       ws_strsplit.c           \
-       xdlc.c                  \
-       xmlstub.c
+       xdlc.c
 
 #
-# These get removed on "make distclean", as the tools we use to generate
-# them are part of the Wireshark distribution.
+# We distribute Lemon and rdps.py with Wireshark, so we don't distribute the
+# files they produce.
 #
-LIBWIRESHARK_DISTCLEAN_GENERATED_SRC = \
-       dtd_grammar.c
+NODIST_LIBWIRESHARK_GENERATED_C_FILES =        \
+       dtd_grammar.c                   \
+       ps.c
+
+NODIST_LIBWIRESHARK_GENERATED_HEADER_FILES =   \
+       dtd_grammar.h
 
 #
 # These don't get removed on "make distclean", as the tools we use to
@@ -113,55 +124,68 @@ LIBWIRESHARK_DISTCLEAN_GENERATED_SRC = \
 # from a tarball (e.g., make and a C compiler are assumed to be present,
 # but Flex isn't).
 #
-LIBWIRESHARK_NODISTCLEAN_GENERATED_SRC = \
+LIBWIRESHARK_GENERATED_C_FILES = \
        diam_dict.c             \
-       dtd_parse.c             \
-       dtd_preparse.c          \
-       radius_dict.c           \
+       dtd_parse.c             \
+       dtd_preparse.c          \
+       radius_dict.c           \
        uat_load.c
 
-LIBWIRESHARK_GENERATED_SRC =   \
-       $(LIBWIRESHARK_DISTCLEAN_GENERATED_SRC) \
-       $(LIBWIRESHARK_NODISTCLEAN_GENERATED_SRC)
+LIBWIRESHARK_GENERATED_HEADER_FILES = \
+       diam_dict_lex.h         \
+       dtd_parse_lex.h         \
+       dtd_preparse_lex.h      \
+       radius_dict_lex.h       \
+       uat_load_lex.h
+
+LIBWIRESHARK_GENERATED_SRC =   \
+       $(LIBWIRESHARK_GENERATED_C_FILES) \
+       $(NODIST_LIBWIRESHARK_GENERATED_C_FILES)
 
-LIBWIRESHARK_ALL_SRC = \
-       $(LIBWIRESHARK_SRC)     \
+LIBWIRESHARK_ALL_SRC =         \
+       $(LIBWIRESHARK_SRC)     \
        $(LIBWIRESHARK_GENERATED_SRC)
-       
-LIBWIRESHARK_INCLUDES =        \
+
+LIBWIRESHARK_INCLUDES =                \
        addr_and_mask.h         \
        addr_resolv.h           \
        address.h               \
-       adler32.h               \
        afn.h                   \
        aftypes.h               \
+       app_mem_usage.h         \
        arcnet_pids.h           \
        arptypes.h              \
        asn1.h                  \
        atalk-utils.h           \
-       base64.h                \
-       bitswap.h               \
+       ax25_pids.h             \
        bridged_pids.h          \
-       camel-persistentdata.h  \
        charsets.h              \
        chdlctypes.h            \
        circuit.h               \
-       codecs.h                \
        column.h                \
-       column_info.h           \
+       column-info.h           \
        column-utils.h          \
        conversation.h          \
-       crc6.h                  \
-       crc10.h                 \
-       crc16.h                 \
-       crc32.h                 \
-       crcdrm.h                \
+       conversation_debug.h            \
+       conversation_table.h            \
+       conv_id.h               \
+       crc10-tvb.h             \
+       crc16-tvb.h             \
+       crc32-tvb.h             \
+       crc6-tvb.h              \
+       crc8-tvb.h              \
+       decode_as.h             \
        diam_dict.h             \
+       disabled_protos.h       \
        dissector_filters.h     \
        dtd.h                   \
-       dtd_parse.h             \
-       eap.h           \
+       dtd_parse.h             \
+       dvb_chartbl.h           \
+       dwarf.h                 \
+       eap.h                   \
+       eapol_keydes_types.h    \
        emem.h                  \
+       epan-int.h              \
        epan.h                  \
        epan_dissect.h          \
        etypes.h                \
@@ -169,18 +193,21 @@ LIBWIRESHARK_INCLUDES =   \
        except.h                \
        exceptions.h            \
        expert.h                \
-       filesystem.h            \
+       exported_pdu.h          \
+       filter_expressions.h    \
        follow.h                \
        frame_data.h            \
+       frame_data_sequence.h   \
        frequency-utils.h       \
        funnel.h                \
        garrayfix.h             \
        gcp.h                   \
+       geoip_db.h              \
        golay.h                 \
-       gnuc_format_check.h     \
        greproto.h              \
        guid-utils.h            \
        h225-persistentdata.h   \
+       iana_snap_pid.h         \
        iax2_codec_type.h       \
        in_cksum.h              \
        ip_opts.h               \
@@ -191,33 +218,35 @@ LIBWIRESHARK_INCLUDES =   \
        llcsaps.h               \
        next_tvb.h              \
        nlpid.h                 \
-       nstime.h                \
        oids.h                  \
        osi-utils.h             \
        oui.h                   \
+       packet-range.h          \
        packet.h                \
        packet_info.h           \
-       pint.h                  \
-       plugins.h               \
+       params.h                \
        ppptypes.h              \
+       print.h                 \
+       print_stream.h          \
        prefs.h                 \
        prefs-int.h             \
-       privileges.h            \
        proto.h                 \
+       ps.h                    \
        ptvcursor.h             \
        range.h                 \
        reassemble.h            \
        reedsolomon.h           \
-       report_err.h            \
        req_resp_hdrs.h         \
        rtp_pt.h                \
        sctpppids.h             \
+       show_exception.h        \
        sigcomp_state_hdlr.h    \
        sigcomp-udvm.h          \
-       slab.h                  \
+       slow_protocol_subtypes.h \
        sminmpec.h              \
        sna-utils.h             \
-       stat_cmd_args.h         \
+       stat_tap_ui.h           \
+       stat_groups.h           \
        stats_tree.h            \
        stats_tree_priv.h       \
        stream.h                \
@@ -225,39 +254,17 @@ LIBWIRESHARK_INCLUDES =   \
        t35.h                   \
        tap.h                   \
        tap-voip.h              \
-       tcap-persistentdata.h   \
-       timestamp.h             \
+       timestamp.h             \
+       timestats.h             \
        tfs.h                   \
+       time_fmt.h              \
        to_str.h                \
+       to_str-int.h            \
        tvbparse.h              \
        tvbuff.h                \
+       tvbuff-int.h            \
        uat.h                   \
        uat-int.h               \
-       unicode-utils.h         \
        value_string.h          \
-       ws_strsplit.h           \
        x264_prt_id.h           \
-       xdlc.h                  \
-       xmlstub.h
-
-#
-# As with LIBWIRESHARK_DISTCLEAN_GENERATED_SRC, so with
-# LIBWIRESHARK_DISTCLEAN_GENERATED_INCLUDES.
-#
-LIBWIRESHARK_DISTCLEAN_GENERATED_INCLUDES = \
-       dtd_grammar.h
-
-#
-# As with LIBWIRESHARK_NODISTCLEAN_GENERATED_SRC, so with
-# LIBWIRESHARK_NODISTCLEAN_GENERATED_INCLUDES.
-#
-LIBWIRESHARK_NODISTCLEAN_GENERATED_INCLUDES = \
-       diam_dict_lex.h         \
-       dtd_parse_lex.h         \
-       dtd_preparse_lex.h      \
-       radius_dict_lex.h       \
-       uat_load_lex.h
-
-LIBWIRESHARK_GENERATED_INCLUDES =      \
-       $(LIBWIRESHARK_DISTCLEAN_GENERATED_INCLUDES) \
-       $(LIBWIRESHARK_NODISTCLEAN_GENERATED_INCLUDES)
+       xdlc.h