CMake:
[obnox/wireshark/wip.git] / gtk / CMakeLists.txt
1 # CMakeLists.txt
2 #
3 # $Id$
4 #
5 # Wireshark - Network traffic analyzer
6 # By Gerald Combs <gerald@wireshark.org>
7 # Copyright 1998 Gerald Combs
8 #
9 # This program is free software; you can redistribute it and/or
10 # modify it under the terms of the GNU General Public License
11 # as published by the Free Software Foundation; either version 2
12 # of the License, or (at your option) any later version.
13 #
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 # GNU General Public License for more details.
18 #
19 # You should have received a copy of the GNU General Public License
20 # along with this program; if not, write to the Free Software
21 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22 #
23
24
25 set(WIRESHARK_GTK_SRC
26         about_dlg.c
27         airpcap_dlg.c
28         airpcap_gui_utils.c
29         capture_dlg.c
30         capture_file_dlg.c
31         capture_if_dlg.c
32         capture_info_dlg.c
33         cfilter_combo_utils.c
34         color_dlg.c
35         color_edit_dlg.c
36         color_utils.c
37         conversations_table.c
38         decode_as_ber.c
39         decode_as_dcerpc.c
40         decode_as_dlg.c
41         dfilter_expr_dlg.c
42         dlg_utils.c
43         drag_and_drop.c
44         expert_comp_table.c
45         export_object.c
46         export_object_dicom.c
47         export_object_http.c
48         filter_autocomplete.c
49         file_dlg.c
50         fileset_dlg.c
51         filter_dlg.c
52         filter_utils.c
53         find_dlg.c
54         firewall_dlg.c
55         follow_ssl.c
56         follow_stream.c
57         follow_tcp.c
58         follow_udp.c
59         font_utils.c
60         goto_dlg.c
61         graph_analysis.c
62         gtkvumeter.c
63         gui_stat_util.c
64         gui_utils.c
65         help_dlg.c
66         hostlist_table.c
67         macros_dlg.c
68         main.c
69         main_airpcap_toolbar.c
70         main_filter_toolbar.c
71         menus.c
72         main_packet_list.c
73         main_proto_draw.c
74         main_statusbar.c
75         main_toolbar.c
76         main_welcome.c
77         mcast_stream.c
78         new_packet_list.c
79         packet_history.c
80         packet_list_store.c
81         packet_win.c
82         pixmap_save.c
83         plugins_dlg.c
84         prefs_capture.c
85         prefs_column.c
86         prefs_dlg.c
87         prefs_gui.c
88         prefs_layout.c
89         prefs_nameres.c
90         prefs_print.c
91         prefs_protocols.c
92         prefs_taps.c
93         prefs_stream.c
94         print_dlg.c
95         profile_dlg.c
96         progress_dlg.c
97         proto_dlg.c
98         proto_hier_stats_dlg.c
99         range_utils.c
100         recent.c
101         rtp_player.c
102         rtp_stream.c
103         sctp_byte_graph_dlg.c
104         sctp_error_dlg.c
105         sctp_graph_dlg.c
106         sctp_stat.c
107         service_response_time_table.c
108         simple_dialog.c
109         stock_icons.c
110         summary_dlg.c
111         supported_protos_dlg.c
112         tap_dfilter_dlg.c
113         text_page_utils.c
114         u3.c
115         uat_gui.c
116         voip_calls.c
117         webbrowser.c
118 )
119
120 set(WIRESHARK_TAP_SRC
121         afp_stat.c
122         ansi_a_stat.c
123         ansi_map_stat.c
124         bootp_stat.c
125         camel_counter.c
126         camel_srt.c
127         compare_stat.c
128         conversations_eth.c
129         conversations_fc.c
130         conversations_fddi.c
131         conversations_ip.c
132         conversations_ipx.c
133         conversations_jxta.c
134         conversations_ncp.c
135         conversations_rsvp.c
136         conversations_sctp.c
137         conversations_tcpip.c
138         conversations_tr.c
139         conversations_udpip.c
140         conversations_usb.c
141         conversations_wlan.c
142         dcerpc_stat.c
143         diameter_stat.c
144         expert_comp_dlg.c
145         expert_dlg.c
146         fc_stat.c
147         flow_graph.c
148         funnel_stat.c
149         gsm_a_stat.c
150         gsm_map_stat.c
151         gsm_map_summary.c
152         gtp_stat.c
153         h225_counter.c
154         h225_ras_srt.c
155         hostlist_eth.c
156         hostlist_fc.c
157         hostlist_fddi.c
158         hostlist_ip.c
159         hostlist_ipx.c
160         hostlist_jxta.c
161         hostlist_ncp.c
162         hostlist_rsvp.c
163         hostlist_sctp.c
164         hostlist_tcpip.c
165         hostlist_tr.c
166         hostlist_udpip.c
167         hostlist_usb.c
168         hostlist_wlan.c
169         iax2_analysis.c
170         io_stat.c
171         ldap_stat.c
172         mac_lte_stat_dlg.c
173         mcast_stream_dlg.c
174         megaco_stat.c
175         mgcp_stat.c
176         mtp3_stat.c
177         mtp3_summary.c
178         ncp_stat.c
179         radius_stat.c
180         rpc_progs.c
181         rpc_stat.c
182         rtp_analysis.c
183         rtp_stream_dlg.c
184         scsi_stat.c
185         sctp_assoc_analyse.c
186         sctp_chunk_stat.c
187         sctp_chunk_stat_dlg.c
188         sctp_stat_dlg.c
189         sip_stat.c
190         smb_stat.c
191         smb2_stat.c
192         stats_tree_stat.c
193         t38_analysis.c
194         tcp_graph.c
195         voip_calls_dlg.c
196         wlan_stat_dlg.c
197         wsp_stat.c
198 )
199
200 # todo
201 # about_dlg.c main_welcome.c: ../image/wssplash.xpm ../image/wssplash-dev.xpm
202
203 ADD_CUSTOM_COMMAND(
204         OUTPUT wireshark-tap-register.c
205         COMMAND ${SHELL}
206           ${CMAKE_SOURCE_DIR}/make-tapreg-dotc
207           wireshark-tap-register.c
208           ${CMAKE_CURRENT_SOURCE_DIR}
209           ${WIRESHARK_TAP_SRC}
210         DEPENDS
211           ${CMAKE_SOURCE_DIR}/make-tapreg-dotc
212           ${WIRESHARK_TAP_SRC}
213 )
214
215 add_library(ui STATIC
216         ${WIRESHARK_GTK_SRC}
217         ${WIRESHARK_TAP_SRC}
218         wireshark-tap-register.c
219 )
220
221 #install(TARGETS ui
222 #       LIBRARY DESTINATION lib
223 #       RUNTIME DESTINATION lib
224 #       ARCHIVE DESTINATION lib
225 #)
226