aux_source_directory(src SOURCES)
ADD_LIBRARY(${fw_name} SHARED ${SOURCES})
+SET_TARGET_PROPERTIES(${fw_name}
+ PROPERTIES
+ VERSION ${FULLVER}
+ SOVERSION ${MAJORVER}
+ CLEAN_DIRECT_OUTPUT 1
+)
+
+
TARGET_LINK_LIBRARIES(${fw_name} ${${fw_name}_LDFLAGS})
INSTALL(TARGETS ${fw_name} DESTINATION lib)
-capi-media-camera (0.1.0-7) unstable; urgency=low
+capi-media-camera (0.1.0-8) unstable; urgency=low
- * Update version
+ * add so version
+ * Git: slp-source.sec.samsung.net:slp/api/camera
+ * Tag: capi-media-camera_0.1.0-8
- -- Seungkeun Lee <sngn.lee@samsung.com> Thu, 15 Dec 2011 12:52:02 +0900
+ -- Seungkeun Lee <sngn.lee@samsung.com> Tue, 14 Feb 2012 16:43:04 +0900
capi-media-camera (0.0.1-1) unstable; urgency=low
#!/usr/bin/make -f
+FULLVER ?= $(shell dpkg-parsechangelog | grep Version: | cut -d ' ' -f 2 | cut -d '-' -f 1)
+MAJORVER ?= $(shell echo $(FULLVER) | cut -d '.' -f 1)
+
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
configure: configure-stamp
configure-stamp:
dh_testdir
- mkdir -p $(CMAKE_BUILD_DIR) && cd $(CMAKE_BUILD_DIR) && cmake ..
+ mkdir -p $(CMAKE_BUILD_DIR) && cd $(CMAKE_BUILD_DIR) && cmake .. -DFULLVER=${FULLVER} -DMAJORVER=${MAJORVER}
touch configure-stamp