Add strnatcmp by Martin Pool for 'natural order' string comparisons, and make use...
[metze/wireshark/wip.git] / epan / Makefile.common
index 92b254d641b667edc77fe940795e35435947e912..446bdead58f89561ce55e01377c4d393056ad257 100644 (file)
 #
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 
-LIBWIRESHARK_SRC =             \
+LIBWIRESHARK_SRC =             \
        addr_and_mask.c         \
        addr_resolv.c           \
+       address_to_str.c        \
        adler32.c               \
        afn.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          \
-       crc16.c                 \
-       crc32.c                 \
-       crypt-des.c             \
-       crypt-md4.c             \
-       crypt-md5.c             \
-       crypt-rc4.c             \
-       dtd_grammar.c   \
-       dtd_parse.c             \
-       dtd_preparse.c  \
+       crc16-tvb.c             \
+       crc32-tvb.c             \
+       crc8-tvb.c              \
+       dissector_filters.c     \
        emem.c                  \
        epan.c                  \
        ex-opt.c                \
        except.c                \
        expert.c                \
+       exported_pdu.c          \
        filesystem.c            \
+       filter_expressions.c    \
        follow.c                \
        frame_data.c            \
-       funnel.c    \
+       frequency-utils.c       \
+       funnel.c                \
+       gcp.c                   \
+       geoip_db.c              \
+       golay.c                 \
+       guid-utils.c            \
        h225-persistentdata.c   \
        in_cksum.c              \
        ipproto.c               \
        ipv4.c                  \
        next_tvb.c              \
-       nstime.c                \
-       oid_resolv.c            \
+       oids.c                  \
        osi-utils.c             \
        packet.c                \
        plugins.c               \
        prefs.c                 \
-       privileges.c            \
        proto.c                 \
-       radius_dict.c           \
        range.c                 \
        reassemble.c            \
+       reedsolomon.c           \
+       report_err.c            \
        req_resp_hdrs.c         \
-       sha1.c                  \
+       show_exception.c        \
        sigcomp_state_hdlr.c    \
        sigcomp-udvm.c          \
        sminmpec.c              \
        sna-utils.c             \
        stat_cmd_args.c         \
        stats_tree.c            \
+       strnatcmp.c             \
        strutil.c               \
        stream.c                \
        t35.c                   \
        tap.c                   \
+       tcap-persistentdata.c   \
        timestamp.c             \
+       timestats.c             \
+       tfs.c                   \
        to_str.c                \
        tvbparse.c              \
        tvbuff.c                \
+       uat.c                   \
        value_string.c          \
-       xdlc.c                  \
-       xmlstub.c
+       xdlc.c
+
+#
+# We distribute Lemon with Wireshark, so we don't distribute the files
+# it produces.
+#
+NODIST_LIBWIRESHARK_GENERATED_C_FILES = \
+       dtd_grammar.c
+
+NODIST_LIBWIRESHARK_GENERATED_HEADER_FILES = \
+       dtd_grammar.h
+
+#
+# These don't get removed on "make distclean", as the tools we use to
+# generate them aren't part of the Wireshark distribution, and aren't
+# tools assumed to be present for any system capable of compiling
+# from a tarball (e.g., make and a C compiler are assumed to be present,
+# but Flex isn't).
+#
+LIBWIRESHARK_GENERATED_C_FILES = \
+       diam_dict.c             \
+       dtd_parse.c             \
+       dtd_preparse.c          \
+       radius_dict.c           \
+       uat_load.c
+
+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_GENERATED_SRC)
 
-LIBWIRESHARK_INCLUDES =        \
+LIBWIRESHARK_INCLUDES =                \
        addr_and_mask.h         \
        addr_resolv.h           \
        address.h               \
@@ -100,27 +147,30 @@ LIBWIRESHARK_INCLUDES =   \
        aftypes.h               \
        arcnet_pids.h           \
        arptypes.h              \
+       ax25_pids.h             \
        asn1.h                  \
        atalk-utils.h           \
        base64.h                \
        bitswap.h               \
        bridged_pids.h          \
+       camel-persistentdata.h  \
        charsets.h              \
        chdlctypes.h            \
        circuit.h               \
+       codecs.h                \
        column.h                \
        column_info.h           \
        column-utils.h          \
        conversation.h          \
-       crc16.h                 \
-       crc32.h                 \
-       crypt-des.h             \
-       crypt-md4.h             \
-       crypt-md5.h             \
-       crypt-rc4.h             \
+       conv_id.h               \
+       crc16-tvb.h             \
+       crc32-tvb.h             \
+       crc8-tvb.h              \
+       diam_dict.h             \
+       dissector_filters.h     \
        dtd.h                   \
-       dtd_grammar.h           \
        dtd_parse.h             \
+       eap.h                   \
        emem.h                  \
        epan.h                  \
        epan_dissect.h          \
@@ -129,64 +179,76 @@ LIBWIRESHARK_INCLUDES =   \
        except.h                \
        exceptions.h            \
        expert.h                \
+       exported_pdu.h          \
+       filter_expressions.h    \
        filesystem.h            \
        follow.h                \
        frame_data.h            \
+       frequency-utils.h       \
        funnel.h                \
-       gnuc_format_check.h     \
+       garrayfix.h             \
+       gcp.h                   \
+       geoip_db.h              \
+       golay.h                 \
        greproto.h              \
+       guid-utils.h            \
        h225-persistentdata.h   \
+       iana_snap_pid.h         \
        iax2_codec_type.h       \
        in_cksum.h              \
        ip_opts.h               \
        ipproto.h               \
        ipv4.h                  \
        ipv6-utils.h            \
-       guid-utils.h            \
        lapd_sapi.h             \
        llcsaps.h               \
        next_tvb.h              \
        nlpid.h                 \
-       nstime.h                \
-       oid_resolv.h            \
+       oids.h                  \
        osi-utils.h             \
        oui.h                   \
        packet.h                \
        packet_info.h           \
+       params.h                \
        pint.h                  \
        plugins.h               \
        ppptypes.h              \
        prefs.h                 \
        prefs-int.h             \
-       privileges.h            \
        proto.h                 \
        ptvcursor.h             \
        range.h                 \
        reassemble.h            \
+       reedsolomon.h           \
        report_err.h            \
        req_resp_hdrs.h         \
        rtp_pt.h                \
        sctpppids.h             \
-       sha1.h                  \
+       show_exception.h        \
        sigcomp_state_hdlr.h    \
        sigcomp-udvm.h          \
-       slab.h                  \
        sminmpec.h              \
        sna-utils.h             \
        stat_cmd_args.h         \
        stats_tree.h            \
        stats_tree_priv.h       \
        stream.h                \
+       strnatcmp.h             \
        strutil.h               \
        t35.h                   \
        tap.h                   \
-       timestamp.h             \
+       tap-voip.h              \
+       tcap-persistentdata.h   \
+       timestamp.h             \
+       timestats.h             \
+       tfs.h                   \
+       time_fmt.h              \
        to_str.h                \
        tvbparse.h              \
        tvbuff.h                \
+       tvbuff-int.h            \
+       uat.h                   \
+       uat-int.h               \
        value_string.h          \
        x264_prt_id.h           \
-       xdlc.h                  \
-       xmlstub.h
-
-
+       xdlc.h