f2876214d9
...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>
60 lines
1.5 KiB
Makefile
60 lines
1.5 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_CppunitTest_CppunitTest,sdext_pdfimport))
|
|
|
|
$(eval $(call gb_CppunitTest_use_api,sdext_pdfimport,\
|
|
offapi \
|
|
udkapi \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_set_include,sdext_pdfimport,\
|
|
-I$(SRCDIR)/sdext/source/pdfimport/inc \
|
|
$$(INCLUDE) \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_externals,sdext_pdfimport,\
|
|
boost_headers \
|
|
zlib \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_libraries,sdext_pdfimport,\
|
|
basegfx \
|
|
vcl \
|
|
comphelper \
|
|
cppu \
|
|
cppuhelper \
|
|
sal \
|
|
test \
|
|
unotest \
|
|
$(gb_UWINAPI) \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_library_objects,sdext_pdfimport,pdfimport))
|
|
|
|
$(eval $(call gb_CppunitTest_add_exception_objects,sdext_pdfimport,\
|
|
sdext/source/pdfimport/test/tests \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_executable,sdext_pdfimport,xpdfimport))
|
|
|
|
$(eval $(call gb_CppunitTest_use_ure,sdext_pdfimport))
|
|
$(eval $(call gb_CppunitTest_use_vcl,sdext_pdfimport))
|
|
|
|
$(eval $(call gb_CppunitTest_use_components,sdext_pdfimport,\
|
|
comphelper/util/comphelp \
|
|
configmgr/source/configmgr \
|
|
i18npool/util/i18npool \
|
|
ucb/source/core/ucb1 \
|
|
ucb/source/ucp/file/ucpfile1 \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_configuration,sdext_pdfimport))
|
|
|
|
# vim:set noet sw=4 ts=4:
|