From Martin Mathieson:
[obnox/wireshark/wip.git] / Makefile.am
index 9bcea6c8d2f165da74992c70819a7d2d4dc11e58..c883e71ef5ca5b211b7f354630ff660bb45e924b 100644 (file)
@@ -71,11 +71,11 @@ EXTRA_PROGRAMS = wireshark tshark capinfos editcap mergecap dftest \
 EXTRA_SCRIPTS = idl2wrs
 
 idl2wrs: tools/idl2wrs.sh Makefile
-       $(do_subst) < $(srcdir)/tools/idl2wrs.sh > idl2wrs
+       cp $(srcdir)/tools/idl2wrs.sh idl2wrs
        chmod +x idl2wrs
 
 #
-# Ethereal configuration files are put in $(pkgdatadir).
+# Wireshark configuration files are put in $(pkgdatadir).
 #
 pkgdata_DATA = AUTHORS-SHORT manuf wireshark.html tshark.html \
        wireshark-filter.html capinfos.html editcap.html \
@@ -105,9 +105,13 @@ dtdsdir = $(pkgdatadir)/dtds
 dtds_DATA = \
        dtds/dc.dtd \
        dtds/itunes.dtd \
+       dtds/pocsettings.dtd \
+       dtds/presence.dtd \
+       dtds/reginfo.dtd \
        dtds/rss.dtd \
-       dtds/smil.dtd
-
+       dtds/smil.dtd \
+       dtds/xcap-caps.dtd \
+       dtds/watcherinfo.dtd
 #
 # Install the RADIUS directory files in the "radius" subdirectory
 # of that directory.
@@ -213,6 +217,7 @@ plugin_libs = \
        plugins/rlm/rlm.la \
        plugins/rtnet/rtnet.la \
        plugins/rudp/rudp.la \
+       plugins/sbus/sbus.la \
        plugins/stats_tree/stats_tree.la \
        plugins/v5ua/v5ua.la
 
@@ -253,6 +258,7 @@ plugin_ldadd = \
        "-dlopen" plugins/rlm/rlm.la \
        "-dlopen" plugins/rtnet/rtnet.la \
        "-dlopen" plugins/rudp/rudp.la \
+       "-dlopen" plugins/sbus/sbus.la \
        "-dlopen" plugins/stats_tree/stats_tree.la \
        "-dlopen" plugins/v5ua/v5ua.la
 
@@ -290,7 +296,7 @@ wireshark_DEPENDENCIES = \
 
 # This automake variable adds to the link-line for the executable.
 #
-# Note that Ethereal doesn't have to be linked with @GLIB_LIBS@, as
+# Note that Wireshark doesn't have to be linked with @GLIB_LIBS@, as
 # they are included in @GTK_LIBS@, and doesn't have to be linked with
 # @SOCKET_LIBS@ or @NSL_LIBS@, as those should also be included in
 # @GTK_LIBS@ (as those are also needed for X applications, and GTK+
@@ -309,6 +315,8 @@ wireshark_LDADD = \
        $(plugin_ldadd)                 \
        @PCRE_LIBS@                     \
        @PCAP_LIBS@ @GTK_LIBS@ @ADNS_LIBS@ @KRB5_LIBS@ @FRAMEWORKS@ \
+       @LIBICONV@                      \
+       @LIBGCRYPT_LIBS@                \
        @LIBGNUTLS_LIBS@
 
 # Additional libs that I know how to build. These will be
@@ -332,6 +340,8 @@ tshark_LDADD = \
        @PCRE_LIBS@                     \
        @GLIB_LIBS@ -lm                 \
        @PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ @ADNS_LIBS@ @KRB5_LIBS@ \
+       @LIBICONV@                      \
+       @LIBGCRYPT_LIBS@                \
        @LIBGNUTLS_LIBS@
 
 if ENABLE_STATIC
@@ -449,6 +459,8 @@ dftest_LDADD = \
        @PCRE_LIBS@                     \
        @GLIB_LIBS@ -lm                 \
        @PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ @ADNS_LIBS@ @KRB5_LIBS@ \
+       @LIBICONV@                      \
+       @LIBGCRYPT_LIBS@                \
        @LIBGNUTLS_LIBS@
 
 dftest_LDFLAGS = -export-dynamic
@@ -515,6 +527,7 @@ EXTRA_DIST = \
        aclocal-fallback/glib.m4 \
        aclocal-fallback/gtk-2.0.m4 \
        aclocal-fallback/gtk.m4 \
+       aclocal-fallback/iconv.m4 \
        aclocal-flags           \
        autogen.sh              \
        capinfos.c              \
@@ -566,44 +579,35 @@ EXTRA_DIST = \
        editcap.c               \
        epan/libwireshark.def   \
        wireshark.desktop       \
-       image/Ethereal.icns     \
-       image/Makefile.nmake    \
-       image/README.image      \
        image/capinfos.rc.in    \
        image/clist_ascend.xpm  \
        image/clist_descend.xpm \
        image/dn_arrow.xpm      \
        image/dumpcap.rc.in     \
        image/editcap.rc.in     \
-       image/wsicon16.xpm      \
-       image/wsicon32.xpm      \
-       image/wsicon48.xpm      \
-       image/wsicon64.xpm      \
-       image/eiconcap16.xpm    \
-       image/eiconcap32.xpm    \
-       image/eiconcap48.xpm    \
-       image/elogo3d48x48.png  \
-       image/wireshark.exe.manifest.in \
-       image/wireshark.ico     \
-       image/wireshark.rc.in   \
-       image/ethereal48x48-trans.png  \
-       image/ethereal48x48.png \
-       image/hi16-app-ethereal.png     \
-       image/hi32-app-ethereal.png     \
-       image/hi48-app-ethereal.png     \
+       image/hi16-app-wireshark.png    \
+       image/hi32-app-wireshark.png    \
+       image/hi48-app-wireshark.png    \
+       image/icon_layout_1.xpm \
+       image/icon_layout_2.xpm \
+       image/icon_layout_3.xpm \
+       image/icon_layout_4.xpm \
+       image/icon_layout_5.xpm \
+       image/icon_layout_6.xpm \
        image/libwireshark.rc.in        \
-       image/lo16-app-ethereal.png     \
-       image/lo32-app-ethereal.png     \
-       image/lo48-app-ethereal.png     \
+       image/lo16-app-wireshark.png    \
+       image/lo32-app-wireshark.png    \
+       image/lo48-app-wireshark.png    \
+       image/Makefile.nmake    \
        image/mergecap.rc.in    \
        image/nsis-checked.bmp  \
        image/nsis-unchecked.bmp        \
+       image/README.image      \
        image/stock_dialog_error_48.xpm \
-       image/stock_dialog_warning_48.xpm       \
-       image/stock_dialog_question_48.xpm      \
        image/stock_dialog_info_48.xpm  \
+       image/stock_dialog_question_48.xpm      \
        image/stock_dialog_stop_48.xpm  \
-       image/tshark.rc.in      \
+       image/stock_dialog_warning_48.xpm       \
        image/text2pcap.rc.in   \
        image/toolbar/autoscroll_24.xpm \
        image/toolbar/capture_filter_24.xpm     \
@@ -651,21 +655,29 @@ EXTRA_DIST = \
        image/toolbar/time_24.xpm       \
        image/toolbar/web_support_24.xpm        \
        image/toolbar/wiki_24.xpm       \
+       image/tshark.rc.in      \
        image/up_arrow.xpm      \
-       image/icon_layout_1.xpm \
-       image/icon_layout_2.xpm \
-       image/icon_layout_3.xpm \
-       image/icon_layout_4.xpm \
-       image/icon_layout_5.xpm \
-       image/icon_layout_6.xpm \
        image/win32-file-dlg.rc \
+       image/wireshark.exe.manifest.in \
+       image/wireshark.ico     \
+       image/wireshark.rc.in   \
        image/wiretap.rc.in     \
+       image/wsicon.svg        \
        image/wsicon16.png      \
+       image/wsicon16.xpm      \
        image/wsicon200.png     \
        image/wsicon32.png      \
+       image/wsicon32.xpm      \
        image/wsicon48.png      \
+       image/wsicon48.xpm      \
        image/wsicon64.png      \
-       image/wsicon.svg        \
+       image/wsicon64.xpm      \
+       image/wsiconcap.svg     \
+       image/wsiconcap16.xpm   \
+       image/wsiconcap200.png  \
+       image/wsiconcap32.xpm   \
+       image/wsiconcap48.xpm   \
+       image/wslogo.eps        \
        image/wslogo.svg        \
        image/wssplash.xpm      \
        make-authors-format.pl  \
@@ -696,7 +708,7 @@ else
 install-exec-hook:
 endif
 
-DIST_SUBDIRS = tools wiretap doc epan plugins packaging gtk help
+DIST_SUBDIRS = asn1 doc epan gtk help packaging plugins tools wiretap
 
 if HAVE_PLUGINS
 SUBDIRS = tools wiretap doc epan plugins packaging help @wireshark_SUBDIRS@
@@ -809,7 +821,7 @@ rpm-package: dist
                cd SOURCES ; \
                ln -s ../../../$(distdir).tar.gz ; \
                ln -s ../../../wireshark.desktop ; \
-               ln -s ../../../image/elogo3d64x64.png ethereal.png ; \
+               ln -s ../../../image/wsicon64.png wireshark.png ; \
                cd .. ; \
                rpmbuild --define "_topdir `cd . && pwd`" -bb SPECS/wireshark.spec && \
                        echo "Package successfully built in `pwd`/RPMS." ; \