office-gobmx/sdext/Library_pdfimport.mk
Stephan Bergmann f2876214d9 Get rid of StaticLibrary_pdfimport_s
...which contained the bulk of .cxx files that should logically go into
Library_pdfimport.  It was likely (only) used so that check_targets
CppunitTest_sdext_pdfimport, Executable_pdf2xml, and Executable_pdfunip could
access the library's internals without exporting them.  For the CppunitTest, use
the standard gb_CppunitTest_use_library_objects hack instead.  For the two
Executables, make that _use_library_objects hack available for Executables, too.
(It is a bit unclear whether those two Executables are really needed, they are
only referenced from the dead dmake-based
sdext/source/pdfimport/test/testdocs/makefile.mk and from vcl/README,
respectively; but just keep them alive for now.)

Change-Id: Ia2478508de216678be7a2302aba0c48f80de9d91
Reviewed-on: https://gerrit.libreoffice.org/20645
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-12-11 19:27:43 +00:00

63 lines
1.9 KiB
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Library_Library,pdfimport))
$(eval $(call gb_Library_set_componentfile,pdfimport,sdext/source/pdfimport/pdfimport))
$(eval $(call gb_Library_use_sdk_api,pdfimport))
$(eval $(call gb_Library_use_custom_headers,pdfimport,sdext/pdfimport))
$(eval $(call gb_Library_set_include,pdfimport,\
-I$(SRCDIR)/sdext/source/pdfimport/inc \
$$(INCLUDE) \
))
$(eval $(call gb_Library_use_libraries,pdfimport,\
basegfx \
comphelper \
vcl \
cppu \
cppuhelper \
sal \
))
$(eval $(call gb_Library_use_externals,pdfimport,\
boost_headers \
zlib \
$(if $(filter-out WNT MACOSX,$(OS)),fontconfig) \
))
$(eval $(call gb_Library_add_defs,pdfimport, \
-DBOOST_SPIRIT_USE_OLD_NAMESPACE \
))
$(eval $(call gb_Library_add_exception_objects,pdfimport,\
sdext/source/pdfimport/filterdet \
sdext/source/pdfimport/misc/pdfihelper \
sdext/source/pdfimport/misc/pwdinteract \
sdext/source/pdfimport/odf/odfemitter \
sdext/source/pdfimport/pdfiadaptor \
sdext/source/pdfimport/pdfparse/pdfentries \
sdext/source/pdfimport/pdfparse/pdfparse \
sdext/source/pdfimport/sax/emitcontext \
sdext/source/pdfimport/sax/saxattrlist \
sdext/source/pdfimport/services \
sdext/source/pdfimport/tree/drawtreevisiting \
sdext/source/pdfimport/tree/genericelements \
sdext/source/pdfimport/tree/imagecontainer \
sdext/source/pdfimport/tree/pdfiprocessor \
sdext/source/pdfimport/tree/style \
sdext/source/pdfimport/tree/treevisitorfactory \
sdext/source/pdfimport/tree/writertreevisiting \
sdext/source/pdfimport/wrapper/wrapper \
))
# vim:set noet sw=4 ts=4: