



########### next target ###############

set(kcal_groupware_LIB_SRCS kcal_resourcegroupware.cpp kcal_resourcegroupwareconfig.cpp kcal_resourcegroupware_plugin.cpp )


kde4_add_kcfg_files(kcal_groupware_LIB_SRCS kcal_groupwareprefsbase.kcfgc )

kde4_add_library(kcal_groupware SHARED ${kcal_groupware_LIB_SRCS})

target_link_libraries(kcal_groupware  ${KDE4_KDECORE_LIBS} ${KDE4_KCAL_LIBS} kdepim)

set_target_properties(kcal_groupware PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
install(TARGETS kcal_groupware ${INSTALL_TARGETS_DEFAULT_ARGS})


########### next target ###############

set(kabc_groupware_LIB_SRCS kabc_resourcegroupware.cpp kabc_resourcegroupwareconfig.cpp kabc_resourcegroupware_plugin.cpp )


kde4_add_kcfg_files(kabc_groupware_LIB_SRCS kabc_groupwareprefs.kcfgc )

kde4_add_library(kabc_groupware SHARED ${kabc_groupware_LIB_SRCS})

target_link_libraries(kabc_groupware  ${KDE4_KDECORE_LIBS} ${KDE4_KCAL_LIBS} kdepim ${KDE4_KABC_LIBS})

set_target_properties(kabc_groupware PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
install(TARGETS kabc_groupware ${INSTALL_TARGETS_DEFAULT_ARGS})


########### next target ###############

set(kcal_groupware_PART_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/dummy.cpp )


file(WRITE ${CMAKE_CURRENT_SOURCE_DIR}/dummy.cpp "//autogenerated file by cmake\n")
kde4_add_plugin(kcal_groupware ${kcal_groupware_PART_SRCS})



target_link_libraries(kcal_groupware  ${KDE4_KDECORE_LIBS} )

install(TARGETS kcal_groupware  DESTINATION ${PLUGIN_INSTALL_DIR})


########### next target ###############

set(kabc_groupware_PART_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/dummy.cpp )


file(WRITE ${CMAKE_CURRENT_SOURCE_DIR}/dummy.cpp "//autogenerated file by cmake\n")
kde4_add_plugin(kabc_groupware ${kabc_groupware_PART_SRCS})



target_link_libraries(kabc_groupware  ${KDE4_KDECORE_LIBS} )

install(TARGETS kabc_groupware  DESTINATION ${PLUGIN_INSTALL_DIR})


########### install files ###############

install( FILES kabc_groupware.desktop  DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kabc)
install( FILES kcal_groupware.desktop  DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kcal)


