dace5e43ea2138d7532da0fc3c62c93640e4eac5
[obnox/wireshark/wip.git] / gtk / Makefile.am
1 # Makefile.am
2 # Automake file for the GTK interface routines for Ethereal
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 noinst_LIBRARIES = libui.a
27
28 CLEANFILES = \
29         libui.a         \
30         *~
31
32 MAINTAINERCLEANFILES = \
33         $(GENERATED_FILES)      \
34         Makefile.in
35
36 ethereal-tap-register.c: $(ETHEREAL_TAP_SRC) $(top_srcdir)/make-tapreg-dotc
37         @echo Making ethereal-tap-register.c
38         @$(top_srcdir)/make-tapreg-dotc ethereal-tap-register.c $(srcdir) $(ETHEREAL_TAP_SRC)
39
40 noinst_HEADERS = \
41         about_dlg.h     \
42         capture_dlg.h   \
43         capture_file_dlg.h      \
44         capture_if_details_dlg.h        \
45         capture_prefs.h \
46         cfilter_combo_utils.h \
47         color_dlg.h     \
48         colors.h        \
49         column_prefs.h  \
50         compat_macros.h \
51         conversations_table.h \
52         decode_as_dlg.h \
53         decode_as_dcerpc.h \
54         dfilter_expr_dlg.h \
55         dlg_utils.h     \
56         expert_comp_table.h     \
57         file_dlg.h      \
58         fileset_dlg.h   \
59         filter_dlg.h    \
60         find_dlg.h      \
61         follow_dlg.h    \
62         font_utils.h    \
63         goto_dlg.h      \
64         graph_analysis.h \
65         gsm_map_stat.h  \
66         gtkglobals.h    \
67         gui_stat_util.h \
68         gui_prefs.h     \
69         gui_utils.h     \
70         help_dlg.h      \
71         hostlist_table.h \
72         isprint.h       \
73         keys.h          \
74         layout_prefs.h  \
75         main.h          \
76         menu.h          \
77         mtp3_stat.h     \
78         nameres_prefs.h \
79         packet_history.h        \
80         packet_list.h   \
81         packet_win.h    \
82         plugins_dlg.h   \
83         prefs_dlg.h     \
84         print_prefs.h   \
85         proto_dlg.h     \
86         proto_draw.h    \
87         proto_hier_stats_dlg.h  \
88         range_utils.h \
89         recent.h        \
90         rtp_analysis.h  \
91         rtp_stream.h    \
92         rtp_stream_dlg.h \
93         mcast_stream.h  \
94         mcast_stream_dlg.h \
95         sat.h           \
96         sctp_stat.h     \
97         service_response_time_table.h   \
98         gui_stat_menu.h \
99         ssl-dlg.h       \
100         stream_prefs.h  \
101         summary_dlg.h   \
102         supported_protos_dlg.h   \
103         text_page.h     \
104         toolbar.h       \
105         voip_calls.h    \
106         voip_calls_dlg.h \
107         webbrowser.h
108
109 if USE_GTK2
110 libui_a_SOURCES = \
111         $(ETHEREAL_GTK_SRC) \
112         $(noinst_HEADERS) \
113         $(ETHEREAL_TAP_SRC)
114 else
115 libui_a_SOURCES = \
116         ethclist.c      \
117         ethclist.h      \
118         $(ETHEREAL_GTK_SRC) \
119         $(noinst_HEADERS) \
120         $(ETHEREAL_TAP_SRC)
121 endif
122
123 libui_a_DEPENDENCIES = 
124
125 EXTRA_DIST = \
126         capture_if_details_dlg.c        \
127         doxygen.cfg.in \
128         ethclist.c      \
129         ethclist.h      \
130         Makefile.common \
131         Makefile.nmake \
132         print_mswin.c  \
133         print_mswin.h  \
134         win32-file-dlg.c \
135         win32-file-dlg.h
136
137 # Common headers
138 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap
139
140 doxygen:
141 if HAVE_DOXYGEN
142         $(DOXYGEN) doxygen.cfg
143 endif           # HAVE_DOXYGEN
144