carve out the (currently disabled) welcome page into it's own file to slightly reduce...
[obnox/wireshark/wip.git] / gtk / Makefile.am
1 # Makefile.am
2 # Automake file for the GTK interface routines for Wireshark
3 #
4 # $Id$
5 #
6 # Wireshark - Network traffic analyzer
7 # By Gerald Combs <gerald@wireshark.org>
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 if HAVE_WARNINGS_AS_ERRORS
27 AM_CFLAGS = -Werror
28 endif
29
30 noinst_LIBRARIES = libui.a
31
32 CLEANFILES = \
33         libui.a         \
34         *~
35
36 MAINTAINERCLEANFILES = \
37         $(GENERATED_FILES)      \
38         Makefile.in
39
40 wireshark-tap-register.c: $(WIRESHARK_TAP_SRC) $(top_srcdir)/make-tapreg-dotc
41         @echo Making wireshark-tap-register.c
42         @$(top_srcdir)/make-tapreg-dotc wireshark-tap-register.c $(srcdir) $(WIRESHARK_TAP_SRC)
43
44 noinst_HEADERS = \
45         about_dlg.h     \
46         airpcap_dlg.h \
47         airpcap_gui_utils.h \
48         capture_dlg.h   \
49         capture_file_dlg.h      \
50         capture_if_details_dlg.h        \
51         capture_prefs.h \
52         cfilter_combo_utils.h \
53         color_dlg.h     \
54         color_edit_dlg.h        \
55         colors.h        \
56         column_prefs.h  \
57         compat_macros.h \
58         conversations_table.h \
59         decode_as_ber.h \
60         decode_as_dlg.h \
61         decode_as_dcerpc.h \
62         dfilter_expr_dlg.h \
63         dlg_utils.h     \
64         expert_comp_table.h     \
65         export_object.h \
66         file_dlg.h      \
67         fileset_dlg.h   \
68         filter_dlg.h    \
69         find_dlg.h      \
70         firewall_dlg.h  \
71         follow_ssl.h    \
72         follow_stream.h \
73         follow_tcp.h    \
74         follow_udp.h    \
75         font_utils.h    \
76         goto_dlg.h      \
77         graph_analysis.h \
78         gsm_map_stat.h  \
79         gtkglobals.h    \
80         gtkvumeter.h \
81         gui_stat_util.h \
82         gui_prefs.h     \
83         gui_utils.h     \
84         help_dlg.h      \
85         hostlist_table.h \
86         isprint.h       \
87         keys.h          \
88         layout_prefs.h  \
89         macros_dlg.h    \
90         main.h          \
91         main_welcome.h          \
92         menu.h          \
93         mtp3_stat.h     \
94         nameres_prefs.h \
95         packet_history.h        \
96         packet_list.h   \
97         packet_win.h    \
98         pixmap_save.h   \
99         plugins_dlg.h   \
100         prefs_dlg.h     \
101         print_prefs.h   \
102         profile_dlg.h   \
103         proto_dlg.h     \
104         proto_draw.h    \
105         proto_hier_stats_dlg.h  \
106         range_utils.h \
107         recent.h        \
108         rtp_analysis.h  \
109         rtp_player.h    \
110         rtp_player_prefs.h      \
111         rtp_stream.h    \
112         rtp_stream_dlg.h \
113         mcast_stream.h  \
114         mcast_stream_dlg.h \
115         sat.h           \
116         sctp_stat.h     \
117         service_response_time_table.h   \
118         gui_stat_menu.h \
119         stream_prefs.h  \
120         summary_dlg.h   \
121         supported_protos_dlg.h   \
122         text_page.h     \
123         toolbar.h       \
124         u3.h \
125         uat_gui.h \
126         voip_calls.h    \
127         voip_calls_dlg.h \
128         webbrowser.h
129
130 if USE_GTK2
131 libui_a_SOURCES = \
132         $(WIRESHARK_GTK_SRC) \
133         $(noinst_HEADERS) \
134         $(WIRESHARK_TAP_SRC)
135 else
136 libui_a_SOURCES = \
137         ethclist.c      \
138         ethclist.h      \
139         $(WIRESHARK_GTK_SRC) \
140         $(noinst_HEADERS) \
141         $(WIRESHARK_TAP_SRC)
142 endif
143
144 libui_a_DEPENDENCIES = 
145
146 EXTRA_DIST = \
147         airpcap_dlg.c \
148         airpcap_gui_utils.c \
149         capture_if_details_dlg.c        \
150         doxygen.cfg.in \
151         ethclist.c      \
152         ethclist.h      \
153         Makefile.common \
154         Makefile.nmake \
155         print_mswin.c  \
156         print_mswin.h  \
157         win32-file-dlg.c \
158         win32-file-dlg.h
159
160 # Common headers
161 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap $(LIBGCRYPT_CFLAGS) $(LIBGNUTLS_CFLAGS) $(PORTAUDIO_INCLUDES)
162
163
164 doxygen:
165 if HAVE_DOXYGEN
166         $(DOXYGEN) doxygen.cfg
167 endif           # HAVE_DOXYGEN
168