2009-10-10 15:28:33 +00:00
|
|
|
TARGETS_libqpdf = libqpdf/$(OUTPUT_DIR)/$(call libname,qpdf)
|
2008-04-29 12:55:25 +00:00
|
|
|
|
2009-10-23 03:20:03 +00:00
|
|
|
INCLUDES_libqpdf = include libqpdf
|
2009-10-11 00:24:22 +00:00
|
|
|
LDFLAGS_libqpdf = -Llibqpdf/$(OUTPUT_DIR)
|
|
|
|
LIBS_libqpdf = -lqpdf
|
2008-04-29 12:55:25 +00:00
|
|
|
|
|
|
|
SRCS_libqpdf = \
|
|
|
|
libqpdf/BitStream.cc \
|
|
|
|
libqpdf/BitWriter.cc \
|
|
|
|
libqpdf/Buffer.cc \
|
|
|
|
libqpdf/MD5.cc \
|
|
|
|
libqpdf/PCRE.cc \
|
|
|
|
libqpdf/Pipeline.cc \
|
2009-10-17 03:14:47 +00:00
|
|
|
libqpdf/Pl_AES_PDF.cc \
|
2008-04-29 12:55:25 +00:00
|
|
|
libqpdf/Pl_ASCII85Decoder.cc \
|
|
|
|
libqpdf/Pl_ASCIIHexDecoder.cc \
|
|
|
|
libqpdf/Pl_Buffer.cc \
|
|
|
|
libqpdf/Pl_Count.cc \
|
|
|
|
libqpdf/Pl_Discard.cc \
|
|
|
|
libqpdf/Pl_Flate.cc \
|
|
|
|
libqpdf/Pl_LZWDecoder.cc \
|
|
|
|
libqpdf/Pl_MD5.cc \
|
|
|
|
libqpdf/Pl_PNGFilter.cc \
|
|
|
|
libqpdf/Pl_QPDFTokenizer.cc \
|
|
|
|
libqpdf/Pl_RC4.cc \
|
|
|
|
libqpdf/Pl_StdioFile.cc \
|
|
|
|
libqpdf/QPDF.cc \
|
|
|
|
libqpdf/QPDFExc.cc \
|
|
|
|
libqpdf/QPDFObject.cc \
|
|
|
|
libqpdf/QPDFObjectHandle.cc \
|
|
|
|
libqpdf/QPDFTokenizer.cc \
|
|
|
|
libqpdf/QPDFWriter.cc \
|
|
|
|
libqpdf/QPDFXRefEntry.cc \
|
|
|
|
libqpdf/QPDF_Array.cc \
|
|
|
|
libqpdf/QPDF_Bool.cc \
|
|
|
|
libqpdf/QPDF_Dictionary.cc \
|
|
|
|
libqpdf/QPDF_Integer.cc \
|
|
|
|
libqpdf/QPDF_Name.cc \
|
|
|
|
libqpdf/QPDF_Null.cc \
|
|
|
|
libqpdf/QPDF_Real.cc \
|
|
|
|
libqpdf/QPDF_Stream.cc \
|
|
|
|
libqpdf/QPDF_String.cc \
|
|
|
|
libqpdf/QPDF_encryption.cc \
|
|
|
|
libqpdf/QPDF_linearization.cc \
|
|
|
|
libqpdf/QPDF_optimization.cc \
|
|
|
|
libqpdf/QTC.cc \
|
|
|
|
libqpdf/QUtil.cc \
|
2009-09-27 03:11:29 +00:00
|
|
|
libqpdf/RC4.cc \
|
2009-10-17 15:01:20 +00:00
|
|
|
libqpdf/qpdf-c.cc \
|
|
|
|
libqpdf/rijndael.cc
|
2008-04-29 12:55:25 +00:00
|
|
|
|
|
|
|
# -----
|
|
|
|
|
|
|
|
OBJS_libqpdf = $(call src_to_lobj,$(SRCS_libqpdf))
|
|
|
|
|
|
|
|
ifeq ($(GENDEPS),1)
|
|
|
|
-include $(call lobj_to_dep,$(OBJS_libqpdf))
|
|
|
|
endif
|
|
|
|
|
2009-10-10 14:15:09 +00:00
|
|
|
$(OBJS_libqpdf): libqpdf/$(OUTPUT_DIR)/%.$(LOBJ): libqpdf/%.cc
|
2008-04-29 12:55:25 +00:00
|
|
|
$(call libcompile,$<,$(INCLUDES_libqpdf))
|
|
|
|
|
|
|
|
# Last three arguments to makelib are CURRENT,REVISION,AGE.
|
|
|
|
#
|
|
|
|
# * If any interfaces have been removed or changed, we are not binary
|
|
|
|
# compatible. Increment CURRENT, and set AGE and REVISION to 0.
|
2012-06-20 16:48:27 +00:00
|
|
|
# Also update libqpdf.map, changing the numeric portion to match
|
|
|
|
# CURRENT.
|
2008-04-29 12:55:25 +00:00
|
|
|
#
|
|
|
|
# * Otherwise, if any interfaces have been added since the last
|
|
|
|
# public release, then increment CURRENT and AGE, and set REVISION
|
|
|
|
# to 0.
|
|
|
|
#
|
|
|
|
# * Otherwise, increment REVISION
|
|
|
|
|
2009-10-10 14:15:09 +00:00
|
|
|
$(TARGETS_libqpdf): $(OBJS_libqpdf)
|
2012-06-20 16:48:27 +00:00
|
|
|
$(call makelib,$(OBJS_libqpdf),$@,$(LDFLAGS),$(LIBS),8,0,0)
|