5 # Wireshark - Network traffic analyzer
6 # By Gerald Combs <gerald@wireshark.org>
7 # Copyright 1998 Gerald Combs
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.
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.
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.
42 dissector_tables_dlg.c
56 filter_expression_save_dlg.c
73 main_airpcap_toolbar.c
92 prefs_filter_expressions.c
105 proto_hier_stats_dlg.c
110 sctp_byte_graph_dlg.c
114 service_response_time_table.c
118 supported_protos_dlg.c
128 set(WIRESHARK_TAP_SRC
146 conversations_tcpip.c
148 conversations_udpip.c
197 sctp_chunk_stat_dlg.c
214 add_lex_files(WIRESHARK_GTK_SRC
215 text_import_scanner.l
219 set_source_files_properties(
222 COMPILE_FLAGS -Werror
228 # We are only allowed to include gtk/gtk.h, no other files. When
229 # violating this with gtk3 the compiler will complain anyway.
230 -DGTK_DISABLE_SINGLE_INCLUDES
232 # GTK+ 3 removes many implementation details and struct members from its
233 # public headers. Make the compiler catch all uses of direct access to
234 # struct fields so that you can go through them one by one and replace
235 # them with a call to an accessor function instead.
238 # To verify that your program does not use any deprecated symbols,
239 # you can use defines to remove deprecated symbols from the header files
240 -DGDK_DISABLE_DEPRECATED
241 -DGTK_DISABLE_DEPRECATED
245 if (WANT_PACKET_EDITOR)
251 # add_definitions(-DNEW_MENU_CODE)
253 if (ENABLE_UI_MANAGER)
255 -DMAIN_MENU_USE_UIMANAGER
261 capture_if_details_dlg_win32.c
266 register_tap_files(wireshark-tap-register.c
270 add_library(ui STATIC
274 wireshark-tap-register.c
276 set_target_properties(ui PROPERTIES LINK_FLAGS "${WS_LINK_FLAGS}")
281 DIRECTORY_PERMISSIONS
282 OWNER_EXECUTE OWNER_WRITE OWNER_READ
283 GROUP_EXECUTE GROUP_READ
284 WORLD_EXECUTE WORLD_READ
286 ${CMAKE_INSTALL_DATADIR}/${CPACK_PACKAGE_NAME}
287 PATTERN ".svn" EXCLUDE
291 # LIBRARY DESTINATION lib
292 # RUNTIME DESTINATION lib
293 # ARCHIVE DESTINATION lib