office-gobmx/sdext/Module_sdext.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

35 lines
889 B
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_Module_Module,sdext))
$(eval $(call gb_Module_add_targets,sdext,\
Library_PresenterScreen \
))
$(eval $(call gb_Module_add_targets,sdext,\
Library_PresentationMinimizer \
))
ifeq ($(ENABLE_PDFIMPORT),TRUE)
$(eval $(call gb_Module_add_targets,sdext,\
CustomTarget_pdfimport \
Executable_xpdfimport \
Library_pdfimport \
Package_pdfimport_xpdfimport \
))
$(eval $(call gb_Module_add_check_targets,sdext,\
CppunitTest_sdext_pdfimport \
Executable_pdf2xml \
Executable_pdfunzip \
))
endif
# vim:set noet sw=4 ts=4: