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 \
|
2012-07-21 09:37:14 +00:00
|
|
|
libqpdf/BufferInputSource.cc \
|
2018-06-22 16:15:22 +00:00
|
|
|
libqpdf/ClosedFileInputSource.cc \
|
2018-02-02 23:21:34 +00:00
|
|
|
libqpdf/ContentNormalizer.cc \
|
2012-07-21 09:37:14 +00:00
|
|
|
libqpdf/FileInputSource.cc \
|
|
|
|
libqpdf/InputSource.cc \
|
2013-11-30 17:02:56 +00:00
|
|
|
libqpdf/InsecureRandomDataProvider.cc \
|
2018-12-17 16:55:11 +00:00
|
|
|
libqpdf/JSON.cc \
|
2008-04-29 12:55:25 +00:00
|
|
|
libqpdf/MD5.cc \
|
2012-12-25 19:38:18 +00:00
|
|
|
libqpdf/OffsetInputSource.cc \
|
2008-04-29 12:55:25 +00:00
|
|
|
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 \
|
2012-06-27 05:00:18 +00:00
|
|
|
libqpdf/Pl_Concatenate.cc \
|
2008-04-29 12:55:25 +00:00
|
|
|
libqpdf/Pl_Count.cc \
|
2017-08-18 23:52:53 +00:00
|
|
|
libqpdf/Pl_DCT.cc \
|
2008-04-29 12:55:25 +00:00
|
|
|
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 \
|
2017-08-16 10:26:31 +00:00
|
|
|
libqpdf/Pl_RunLength.cc \
|
2012-12-29 13:07:46 +00:00
|
|
|
libqpdf/Pl_SHA2.cc \
|
2008-04-29 12:55:25 +00:00
|
|
|
libqpdf/Pl_StdioFile.cc \
|
2018-01-13 19:15:20 +00:00
|
|
|
libqpdf/Pl_TIFFPredictor.cc \
|
2008-04-29 12:55:25 +00:00
|
|
|
libqpdf/QPDF.cc \
|
2018-06-19 13:26:41 +00:00
|
|
|
libqpdf/QPDFAcroFormDocumentHelper.cc \
|
|
|
|
libqpdf/QPDFAnnotationObjectHelper.cc \
|
2008-04-29 12:55:25 +00:00
|
|
|
libqpdf/QPDFExc.cc \
|
2018-06-19 13:26:41 +00:00
|
|
|
libqpdf/QPDFFormFieldObjectHelper.cc \
|
2018-12-19 02:56:56 +00:00
|
|
|
libqpdf/QPDFNameTreeObjectHelper.cc \
|
2018-12-18 18:08:55 +00:00
|
|
|
libqpdf/QPDFNumberTreeObjectHelper.cc \
|
2013-06-14 15:22:04 +00:00
|
|
|
libqpdf/QPDFObjGen.cc \
|
2008-04-29 12:55:25 +00:00
|
|
|
libqpdf/QPDFObject.cc \
|
|
|
|
libqpdf/QPDFObjectHandle.cc \
|
2018-12-19 02:08:53 +00:00
|
|
|
libqpdf/QPDFOutlineDocumentHelper.cc \
|
|
|
|
libqpdf/QPDFOutlineObjectHelper.cc \
|
2018-06-18 19:05:53 +00:00
|
|
|
libqpdf/QPDFPageDocumentHelper.cc \
|
2018-12-18 16:29:00 +00:00
|
|
|
libqpdf/QPDFPageLabelDocumentHelper.cc \
|
2018-06-18 19:05:53 +00:00
|
|
|
libqpdf/QPDFPageObjectHelper.cc \
|
2018-08-13 23:48:02 +00:00
|
|
|
libqpdf/QPDFSystemError.cc \
|
2008-04-29 12:55:25 +00:00
|
|
|
libqpdf/QPDFTokenizer.cc \
|
|
|
|
libqpdf/QPDFWriter.cc \
|
|
|
|
libqpdf/QPDFXRefEntry.cc \
|
|
|
|
libqpdf/QPDF_Array.cc \
|
|
|
|
libqpdf/QPDF_Bool.cc \
|
|
|
|
libqpdf/QPDF_Dictionary.cc \
|
2013-01-20 19:55:01 +00:00
|
|
|
libqpdf/QPDF_InlineImage.cc \
|
2008-04-29 12:55:25 +00:00
|
|
|
libqpdf/QPDF_Integer.cc \
|
|
|
|
libqpdf/QPDF_Name.cc \
|
|
|
|
libqpdf/QPDF_Null.cc \
|
2013-01-23 14:38:05 +00:00
|
|
|
libqpdf/QPDF_Operator.cc \
|
2008-04-29 12:55:25 +00:00
|
|
|
libqpdf/QPDF_Real.cc \
|
2012-07-08 18:19:19 +00:00
|
|
|
libqpdf/QPDF_Reserved.cc \
|
2008-04-29 12:55:25 +00:00
|
|
|
libqpdf/QPDF_Stream.cc \
|
|
|
|
libqpdf/QPDF_String.cc \
|
|
|
|
libqpdf/QPDF_encryption.cc \
|
|
|
|
libqpdf/QPDF_linearization.cc \
|
|
|
|
libqpdf/QPDF_optimization.cc \
|
2012-06-21 13:18:49 +00:00
|
|
|
libqpdf/QPDF_pages.cc \
|
2008-04-29 12:55:25 +00:00
|
|
|
libqpdf/QTC.cc \
|
|
|
|
libqpdf/QUtil.cc \
|
2009-09-27 03:11:29 +00:00
|
|
|
libqpdf/RC4.cc \
|
2013-11-30 17:02:56 +00:00
|
|
|
libqpdf/SecureRandomDataProvider.cc \
|
2009-10-17 15:01:20 +00:00
|
|
|
libqpdf/qpdf-c.cc \
|
2012-12-29 12:06:25 +00:00
|
|
|
libqpdf/rijndael.cc \
|
|
|
|
libqpdf/sha2.c \
|
|
|
|
libqpdf/sha2big.c
|
2008-04-29 12:55:25 +00:00
|
|
|
|
|
|
|
# -----
|
|
|
|
|
2012-12-29 12:06:25 +00:00
|
|
|
CCSRCS_libqpdf = $(filter %.cc,$(SRCS_libqpdf))
|
|
|
|
CSRCS_libqpdf = $(filter %.c,$(SRCS_libqpdf))
|
|
|
|
|
|
|
|
CCOBJS_libqpdf = $(call src_to_lobj,$(CCSRCS_libqpdf))
|
|
|
|
COBJS_libqpdf = $(call c_src_to_lobj,$(CSRCS_libqpdf))
|
|
|
|
OBJS_libqpdf = $(CCOBJS_libqpdf) $(COBJS_libqpdf)
|
2008-04-29 12:55:25 +00:00
|
|
|
|
|
|
|
ifeq ($(GENDEPS),1)
|
|
|
|
-include $(call lobj_to_dep,$(OBJS_libqpdf))
|
|
|
|
endif
|
|
|
|
|
2012-12-29 12:06:25 +00:00
|
|
|
$(CCOBJS_libqpdf): libqpdf/$(OUTPUT_DIR)/%.$(LOBJ): libqpdf/%.cc
|
2008-04-29 12:55:25 +00:00
|
|
|
$(call libcompile,$<,$(INCLUDES_libqpdf))
|
2012-12-29 12:06:25 +00:00
|
|
|
$(COBJS_libqpdf): libqpdf/$(OUTPUT_DIR)/%.$(LOBJ): libqpdf/%.c
|
|
|
|
$(call c_libcompile,$<,$(INCLUDES_libqpdf))
|
2008-04-29 12:55:25 +00:00
|
|
|
|
2017-08-11 08:56:22 +00:00
|
|
|
$(TARGETS_libqpdf): $(OBJS_libqpdf)
|
|
|
|
$(call makelib,$(OBJS_libqpdf),$@,$(LDFLAGS),$(LIBS),$(LT_CURRENT),$(LT_REVISION),$(LT_AGE))
|