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