More fixes for OSX - might work now :-)

svn path=/trunk/; revision=30093
This commit is contained in:
Jörg Mayer 2009-09-23 15:56:44 +00:00
parent 1b454d9012
commit cf326e0304
4 changed files with 43 additions and 0 deletions

View File

@ -1168,6 +1168,29 @@ add_lemon_files(LIBWIRESHARK_FILES
dtd_grammar.lemon
)
set(epan_LIBS
wiretap
wsutil
# @INET_ATON_LO@
# @INET_PTON_LO@
# @INET_NTOP_LO@
# @SSL_LIBS@
${PCRE_LIBRARIES}
${GLIB2_LIBRARIES}
${PCAP_LIBRARIES}
# @SOCKET_LIBS@
# @NSL_LIBS@
${CARES_LIBRARIES}
${ADNS_LIBRARIES}
${KERBEROS_LIBRARIES}
# @FRAMEWORKS@
${GEOIP_LIBRARIES}
${GCRYPT_LIBRARIES}
${GNUTLS_LIBRARIES}
${SMI_LIBRARIES}
${M_LIBRARIES}
)
add_library(epan SHARED
# Needed to trigger build of the include files for x11
#x11-declarations.h
@ -1189,6 +1212,8 @@ target_link_libraries(epan
${WSPYTHON_LIB}
)
target_link_libraries(epan ${epan_LIBS})
add_dependencies(epan lemon)
install(TARGETS epan

View File

@ -101,7 +101,13 @@ ADD_CUSTOM_COMMAND(
${CMAKE_SOURCE_DIR}/stat_menu.h
)
set(wslua_LIBS
${LUA_LIBRARIES}
)
add_library(wslua STATIC
${WSLUA_FILES}
)
target_link_libraries(wslua ${wslua_LIBS})

View File

@ -26,10 +26,16 @@ set(WSPYTHON_FILES
wspy_proto.c
)
set(wspython_LIBS
${PYTHON_LIBRARIES}
)
add_library(wspython STATIC
${WSPYTHON_FILES}
)
target_link_libraries(wspython ${wspython_LIBS})
install(PROGRAMS
register-dissector.py
wspy_dissector.py

View File

@ -79,10 +79,16 @@ add_yacc_files(WIRETAP_FILES
ascend.y
)
set(wiretap_LIBS
${GLIB2_LIBRARIES}
)
add_library(wiretap SHARED
${WIRETAP_FILES}
)
target_link_libraries(wiretap ${wiretap_LIBS})
install(TARGETS wiretap
LIBRARY DESTINATION lib
RUNTIME DESTINATION lib