Move the declaration of "register_tap_menu_item()" into a new
[obnox/wireshark/wip.git] / gtk / Makefile.am
1 # Makefile.am
2 # Automake file for the GTK interface routines for Ethereal
3 #
4 # $Id: Makefile.am,v 1.90 2004/02/11 04:17:02 guy Exp $
5 #
6 # Ethereal - Network traffic analyzer
7 # By Gerald Combs <gerald@ethereal.com>
8 # Copyright 1998 Gerald Combs
9 #
10 # This program is free software; you can redistribute it and/or
11 # modify it under the terms of the GNU General Public License
12 # as published by the Free Software Foundation; either version 2
13 # of the License, or (at your option) any later version.
14 #
15 # This program is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 # GNU General Public License for more details.
19 #
20 # You should have received a copy of the GNU General Public License
21 # along with this program; if not, write to the Free Software
22 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
23
24 include Makefile.common
25
26 noinst_LIBRARIES = libui.a
27
28 CLEANFILES = \
29         libui.a         \
30         *~
31
32 ethereal-tap-register.c: $(ETHEREAL_TAP_SRC) $(top_srcdir)/make-tapreg-dotc
33         @echo Making ethereal-tap-register.c
34         @$(top_srcdir)/make-tapreg-dotc ethereal-tap-register.c $(srcdir) $(ETHEREAL_TAP_SRC)
35
36 noinst_HEADERS = \
37         capture_combo_utils.h \
38         capture_dlg.h   \
39         capture_prefs.h \
40         color_dlg.h     \
41         color_filters.h \
42         color_utils.h   \
43         colors.h        \
44         column_prefs.h  \
45         compat_macros.h \
46         decode_as_dlg.h \
47         dfilter_expr_dlg.h \
48         dlg_utils.h     \
49         endpoint_talkers_table.h \
50         file_dlg.h      \
51         filter_prefs.h  \
52         find_dlg.h      \
53         follow_dlg.h    \
54         goto_dlg.h      \
55         gtkglobals.h    \
56         gtk_stat_util.h \
57         gui_prefs.h     \
58         help_dlg.h      \
59         keys.h          \
60         main.h          \
61         menu.h          \
62         nameres_prefs.h \
63         packet_list.h   \
64         packet_win.h    \
65         prefs_dlg.h     \
66         print_prefs.h   \
67         proto_dlg.h     \
68         proto_draw.h    \
69         proto_hier_stats_dlg.h  \
70         recent.h        \
71         rtp_analysis.h  \
72         rtp_stream.h    \
73         rtp_stream_dlg.h \
74         service_response_time_table.h   \
75         stream_prefs.h  \
76         summary_dlg.h   \
77         supported_protos_dlg.h   \
78         tap_dfilter_dlg.h \
79         tap_menu.h      \
80         tcp_graph.h     \
81         toolbar.h       \
82         ui_util.h
83
84 if USE_GTK2
85 libui_a_SOURCES = \
86         $(ETHEREAL_GTK_SRC) \
87         $(noinst_HEADERS) \
88         $(ETHEREAL_TAP_SRC)
89 else
90 libui_a_SOURCES = \
91         ethclist.c      \
92         ethclist.h      \
93         $(ETHEREAL_GTK_SRC) \
94         $(noinst_HEADERS) \
95         $(ETHEREAL_TAP_SRC)
96 endif
97
98 EXTRA_DIST = \
99         Makefile.nmake \
100         print_mswin.c  \
101         print_mswin.h
102
103 # Common headers
104 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap