SET(description "Telephony SIM Framework")
SET(service "telephony")
SET(submodule "sim")
-SET(dependents "dlog tapi glib-2.0 vconf capi-base-common")
-SET(deb_dependents "dlog-dev libslp-tapi-dev libglib2.0-dev libvconf-dev capi-base-common-dev")
+SET(dependents "dlog tapi glib-2.0 capi-base-common")
+SET(pc_dependents "capi-base-common")
+SET(deb_dependents "dlog-dev libslp-tapi-dev libglib2.0-dev capi-base-common-dev")
SET(Services
"application"
TARGET_LINK_LIBRARIES(${fw_name} ${${fw_name}_LDFLAGS})
+SET_TARGET_PROPERTIES(${fw_name}
+ PROPERTIES
+ VERSION ${FULLVER}
+ SOVERSION ${MAJORVER}
+ CLEAN_DIRECT_OUTPUT 1
+)
+
INSTALL(TARGETS ${fw_name} DESTINATION lib)
INSTALL(
DIRECTORY ${INC_DIR}/ DESTINATION include/${service}
)
SET(PC_NAME ${fw_name})
-SET(PC_REQUIRED ${dependents})
+SET(PC_REQUIRED ${pc_dependents})
SET(PC_LDFLAGS -l${fw_name})
-SET(PC_CFLAGS -I\${includedir}/${service})
CONFIGURE_FILE(
capi-telephony-sim.pc.in
)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${fw_name}.pc DESTINATION lib/pkgconfig)
-ADD_SUBDIRECTORY(test)
-
IF(UNIX)
ADD_CUSTOM_TARGET (distclean @echo cleaning for source distribution)