set(GTK2_DEBUG false)
endif()
+if(BUILD_dumpcap)
+ set(PACKAGELIST ${PACKAGELIST} GTHREAD2)
+ set(GHTREAD2_REQUIRED)
+endif()
+
# SMI SNMP
if(ENABLE_SMI)
set(PACKAGELIST ${PACKAGELIST} SMI)
if(WIN32)
add_definitions(-D_NEED_VAR_IMPORT_)
set(WS_VAR_IMPORT "__declspec(dllimport) extern")
+ set(WS_MSVC_NORETURN "__declspec(noreturn)")
# Disable deprecation
if(MSVC80 OR MSVC90)
add_definitions(-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE)
endif()
+else()
+ set(WS_MSVC_NORETURN " ")
endif()
configure_file(${CMAKE_SOURCE_DIR}/cmakeconfig.h.in ${CMAKE_BINARY_DIR}/config.h)
cfile.c
clopts_common.c
disabled_protos.c
+ frame_data_sequence.c
packet-range.c
print.c
ps.c
tap-h225counter.c
tap-h225rassrt.c
tap-httpstat.c
+ tap-icmpstat.c
+ tap-icmpv6stat.c
tap-iostat.c
tap-iousers.c
tap-mgcpstat.c
set(INSTALL_DIRS
diameter
+ docbook
dtds
help
radius
proto_hier_stats.c
summary.c
tempfile.c
+ u3.c
${SHARK_COMMON_CAPTURE_SRC}
${WIRESHARK_COMMON_SRC}
)
if(BUILD_dumpcap)
set(dumpcap_LIBS
- wiretap
# @INET_NTOP_LO@
+ wsutil
${PCAP_LIBRARIES}
${CAP_LIBRARIES}
# @SOCKET_LIBS@
# @NSL_LIBS@
+ ${GLIB2_LIBRARIES}
+ ${GTHREAD2_LIBRARIES}
${ZLIB_LIBRARIES}
${APPLE_COCOA_LIBRARY}
)