f9e2c878a0a4199f63d8cf22731cfc8d8353ac79
[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         menu.h          \
92         mtp3_stat.h     \
93         nameres_prefs.h \
94         packet_history.h        \
95         packet_list.h   \
96         packet_win.h    \
97         pixmap_save.h   \
98         plugins_dlg.h   \
99         prefs_dlg.h     \
100         print_prefs.h   \
101         proto_dlg.h     \
102         proto_draw.h    \
103         proto_hier_stats_dlg.h  \
104         range_utils.h \
105         recent.h        \
106         rtp_analysis.h  \
107         rtp_player.h    \
108         rtp_stream.h    \
109         rtp_stream_dlg.h \
110         mcast_stream.h  \
111         mcast_stream_dlg.h \
112         sat.h           \
113         sctp_stat.h     \
114         service_response_time_table.h   \
115         gui_stat_menu.h \
116         stream_prefs.h  \
117         summary_dlg.h   \
118         supported_protos_dlg.h   \
119         text_page.h     \
120         toolbar.h       \
121         u3.h \
122         uat_gui.h \
123         voip_calls.h    \
124         voip_calls_dlg.h \
125         webbrowser.h
126
127 if USE_GTK2
128 libui_a_SOURCES = \
129         $(WIRESHARK_GTK_SRC) \
130         $(noinst_HEADERS) \
131         $(WIRESHARK_TAP_SRC)
132 else
133 libui_a_SOURCES = \
134         ethclist.c      \
135         ethclist.h      \
136         $(WIRESHARK_GTK_SRC) \
137         $(noinst_HEADERS) \
138         $(WIRESHARK_TAP_SRC)
139 endif
140
141 libui_a_DEPENDENCIES = 
142
143 EXTRA_DIST = \
144         airpcap_dlg.c \
145         airpcap_gui_utils.c \
146         capture_if_details_dlg.c        \
147         doxygen.cfg.in \
148         ethclist.c      \
149         ethclist.h      \
150         Makefile.common \
151         Makefile.nmake \
152         print_mswin.c  \
153         print_mswin.h  \
154         win32-file-dlg.c \
155         win32-file-dlg.h
156
157 # Common headers
158 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap $(LIBGCRYPT_CFLAGS) $(LIBGNUTLS_CFLAGS) $(PORTAUDIO_INCLUDES)
159
160
161 doxygen:
162 if HAVE_DOXYGEN
163         $(DOXYGEN) doxygen.cfg
164 endif           # HAVE_DOXYGEN
165