Add Visual C++ project files to the distribution.
[obnox/wireshark/wip.git] / gtk / Makefile.am
index f91adfe53e406c5daed6279b9ceb228b3630a12b..59bddeb5af59cf9a05f142d1d038b5a506064358 100644 (file)
@@ -1,10 +1,10 @@
 # Makefile.am
-# Automake file for the GTK interface routines for Ethereal
+# Automake file for the GTK interface routines for Wireshark
 #
 # $Id$
 #
-# Ethereal - Network traffic analyzer
-# By Gerald Combs <gerald@ethereal.com>
+# Wireshark - Network traffic analyzer
+# By Gerald Combs <gerald@wireshark.org>
 # Copyright 1998 Gerald Combs
 #
 # This program is free software; you can redistribute it and/or
 
 include Makefile.common
 
+if HAVE_WARNINGS_AS_ERRORS
+AM_CFLAGS = -Werror
+endif
+
 noinst_LIBRARIES = libui.a
 
 CLEANFILES = \
@@ -33,105 +37,61 @@ MAINTAINERCLEANFILES = \
        $(GENERATED_FILES)      \
        Makefile.in
 
-ethereal-tap-register.c: $(ETHEREAL_TAP_SRC) $(top_srcdir)/make-tapreg-dotc
-       @echo Making ethereal-tap-register.c
-       @$(top_srcdir)/make-tapreg-dotc ethereal-tap-register.c $(srcdir) $(ETHEREAL_TAP_SRC)
+wireshark-tap-register.c: $(WIRESHARK_TAP_SRC) $(top_srcdir)/tools/make-tapreg-dotc
+       @echo Making wireshark-tap-register.c
+       @$(top_srcdir)/tools/make-tapreg-dotc wireshark-tap-register.c $(srcdir) $(WIRESHARK_TAP_SRC)
 
-noinst_HEADERS = \
-       about_dlg.h     \
-       capture_dlg.h   \
-       capture_prefs.h \
-       capture_if_details_dlg.h        \
-       cfilter_combo_utils.h \
-       color_dlg.h     \
-       colors.h        \
-       column_prefs.h  \
-       compat_macros.h \
-       conversations_table.h \
-       decode_as_dlg.h \
-       decode_as_dcerpc.h \
-       dfilter_expr_dlg.h \
-       dlg_utils.h     \
-       file_dlg.h      \
-       fileset_dlg.h   \
-       filter_dlg.h    \
-       find_dlg.h      \
-       follow_dlg.h    \
-       font_utils.h    \
-       goto_dlg.h      \
-       graph_analysis.h \
-       gsm_map_stat.h  \
-       gtkglobals.h    \
-       gtk_stat_util.h \
-       gui_prefs.h     \
-       help_dlg.h      \
-       hostlist_table.h \
-       isprint.h       \
-       keys.h          \
-       layout_prefs.h  \
-       main.h          \
-       menu.h          \
-       mtp3_stat.h     \
-       nameres_prefs.h \
-       packet_history.h        \
-       packet_list.h   \
-       packet_win.h    \
-       prefs_dlg.h     \
-       print_prefs.h   \
-       proto_dlg.h     \
-       proto_draw.h    \
-       proto_hier_stats_dlg.h  \
-       range_utils.h \
-       recent.h        \
-       rtp_analysis.h  \
-       rtp_stream.h    \
-       rtp_stream_dlg.h \
-       sat.h           \
-       sctp_stat.h     \
-       service_response_time_table.h   \
-       stat_menu.h     \
-       stream_prefs.h  \
-       summary_dlg.h   \
-       supported_protos_dlg.h   \
-       tap_dfilter_dlg.h \
-       text_page.h     \
-       toolbar.h       \
-       ui_util.h       \
-       voip_calls.h    \
-       voip_calls_dlg.h \
-       webbrowser.h
-
-if USE_GTK2
 libui_a_SOURCES = \
-       $(ETHEREAL_GTK_SRC) \
+       $(WIRESHARK_GTK_SRC) \
+       $(GENERATED_C_FILES) \
        $(noinst_HEADERS) \
-       $(ETHEREAL_TAP_SRC)
-else
-libui_a_SOURCES = \
-       ethclist.c      \
-       ethclist.h      \
-       $(ETHEREAL_GTK_SRC) \
-       $(noinst_HEADERS) \
-       $(ETHEREAL_TAP_SRC)
-endif
+       $(WIRESHARK_TAP_SRC)
 
 libui_a_DEPENDENCIES = 
 
-EXTRA_DIST = \
-       capture_if_details_dlg.c        \
-       doxygen.cfg.in \
-       ethclist.c      \
-       ethclist.h      \
-       Makefile.common \
-       Makefile.nmake \
-       print_mswin.c  \
-       print_mswin.h
-
 # Common headers
-AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap
+AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap $(LIBGCRYPT_CFLAGS) $(LIBGNUTLS_CFLAGS) $(PORTAUDIO_INCLUDES)
+
 
 doxygen:
 if HAVE_DOXYGEN
        $(DOXYGEN) doxygen.cfg
 endif          # HAVE_DOXYGEN
 
+checkapi:
+       $(PERL) ../tools/checkAPIs.pl \
+       $(WIRESHARK_GTK_SRC) \
+       $(WIRESHARK_TAP_SRC) \
+       capture_if_details_dlg_win32.c  \
+       file_dlg_win32.c \
+       print_win32.c
+
+expert_indicators.h:
+       echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
+       echo >> $@
+       for elevel in chat error none note warn ; do \
+               gdk-pixbuf-csource --raw --name=expert_$${elevel}_pb_data ../image/expert_$${elevel}.png >> $@ ;\
+       done
+
+network_icons.h:
+       echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
+       echo >> $@
+       for icon in bluetooth usb wired wireless ; do \
+               gdk-pixbuf-csource --raw --name=network_$${icon}_pb_data ../image/toolbar/network_$${icon}_16.png >> $@ ;\
+       done
+
+EXTRA_DIST = \
+       airpcap_dlg.c                   \
+       airpcap_gui_utils.c             \
+       capture_if_details_dlg_win32.c  \
+       capture_if_details_dlg_win32.h  \
+       doxygen.cfg.in                  \
+       file_dlg_win32.c                \
+       file_dlg_win32.h                \
+       libui.vcproj                    \
+       main_airpcap_toolbar.c          \
+       Makefile.common                 \
+       Makefile.nmake                  \
+       print_win32.c                   \
+       print_win32.h                   \
+       CMakeLists.txt