summaryrefslogtreecommitdiff
path: root/zlib-flate/build.mk
diff options
context:
space:
mode:
authorHyungKyu Song <hk76.song@samsung.com>2013-02-16 00:53:53 +0900
committerHyungKyu Song <hk76.song@samsung.com>2013-02-16 00:53:53 +0900
commit630bf4ddf6be4761ce511907bad30a9d7cffb29a (patch)
tree3b7e9e6c8da998871d335586b9a8d475b8a4aa68 /zlib-flate/build.mk
parent004ea5d29ad94c8310c81ea071c0176bfddc46f7 (diff)
downloadqpdf-tizen_2.0.tar.gz
qpdf-tizen_2.0.tar.bz2
qpdf-tizen_2.0.zip
Diffstat (limited to 'zlib-flate/build.mk')
-rw-r--r--zlib-flate/build.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/zlib-flate/build.mk b/zlib-flate/build.mk
new file mode 100644
index 0000000..3a17f94
--- /dev/null
+++ b/zlib-flate/build.mk
@@ -0,0 +1,22 @@
+TARGETS_zlib-flate = \
+ zlib-flate/$(OUTPUT_DIR)/$(call binname,zlib-flate)
+
+$(TARGETS_zlib-flate): $(TARGETS_libqpdf)
+
+INCLUDES_zlib-flate = include
+
+SRCS_zlib-flate = zlib-flate/zlib-flate.cc
+
+# -----
+
+OBJS_zlib-flate = $(call src_to_obj,$(SRCS_zlib-flate))
+
+ifeq ($(GENDEPS),1)
+-include $(call obj_to_dep,$(OBJS_zlib-flate))
+endif
+
+$(OBJS_zlib-flate): zlib-flate/$(OUTPUT_DIR)/%.$(OBJ): zlib-flate/%.cc
+ $(call compile,$<,$(INCLUDES_zlib-flate))
+
+zlib-flate/$(OUTPUT_DIR)/$(call binname,zlib-flate): $(OBJS_zlib-flate)
+ $(call makebin,$(OBJS_zlib-flate),$@,$(LDFLAGS) $(LDFLAGS_libqpdf),$(LIBS_libqpdf) $(LIBS))