# -*- 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/. # # CliNativeLibrary class gb_CliNativeLibrary_PLATFORM_DEFAULT := x86 gb_CliNativeLibrary_EXT := $(gb_CliAssembly_POLICYEXT) gb_CliNativeLibrary__get_library = $(call gb_CliAssembly_get_dll,$(1)) define gb_CliNativeLibrary__command $(call gb_Output_announce,$(2),$(true),SN ,4) $(call gb_Helper_abbreviate_dirs,\ $(GNUCOPY) $(CLI_NATIVE_LIBRARY) $(1).tmp && \ sn -R $(1).tmp $(CLI_NATIVE_KEYFILE) && \ mv $(1).tmp $(1) \ ) endef $(call gb_CliNativeLibrary_get_preparation_target,%) : mkdir -p $(dir $@) && touch $@ .PHONY : $(call gb_CliNativeLibrary_get_clean_target,%) $(call gb_CliNativeLibrary_get_clean_target,%) : $(call gb_Output_announce,$*,$(false),SN ,4) $(call gb_Helper_abbreviate_dirs,\ rm -rf $(call gb_CliNativeLibrary_get_target,$*) \ $(call gb_CliNativeLibrary_get_preparation_target,$*) \ ) # Create a CLI library for a native library # # CliNativeLibrary target define gb_CliNativeLibrary_CliNativeLibrary $(call gb_CliAssembly_CliAssembly,$(1),$(call gb_CliNativeLibrary_get_target,$(1))) $(call gb_CliNativeLibrary_get_target,$(1)) : CLI_NATIVE_ASSEMBLIES := $(gb_Helper_MISCDUMMY) $(call gb_CliNativeLibrary_get_target,$(1)) : CLI_NATIVE_KEYFILE := $(call gb_CliNativeLibrary_get_target,$(1)) : CLI_NATIVE_LIBRARY := $(call gb_CliNativeLibrary_set_keyfile,$(1),$(gb_CliAssembly_KEYFILE_DEFAULT)) $(call gb_CliAssembly_set_platform,$(1),$(gb_CliNativeLibrary_PLATFORM_DEFAULT)) $(call gb_CliNativeLibrary_get_target,$(1)) :| $(call gb_CliAssembly_get_target,$(1)) $(call gb_CliNativeLibrary_get_target,$(1)) :| $(dir $(call gb_CliNativeLibrary_get_target,$(1))).dir $(call gb_CliNativeLibrary_get_clean_target,$(1)) : $(call gb_CliAssembly_get_clean_target,$(1)) $$(eval $$(call gb_Module_register_target,$(call gb_CliNativeLibrary_get_target,$(1)),$(call gb_CliNativeLibrary_get_clean_target,$(1)))) $(call gb_Helper_make_userfriendly_targets,$(1),CliNativeLibrary) $(call gb_CliNativeLibrary_get_target,$(1)) : $$(call gb_CliNativeLibrary__command,$$@,$(1)) endef define gb_CliNativeLibrary_set_configfile $(call gb_CliAssembly_set_configfile,$(1),$(2),$(3)) endef define gb_CliNativeLibrary_set_keyfile $(call gb_CliAssembly_set_keyfile,$(1),$(2)) $(call gb_CliNativeLibrary_get_target,$(1)) : CLI_NATIVE_KEYFILE := $(2) $(call gb_CliNativeLibrary_get_target,$(1)) : $(2) endef define gb_CliNativeLibrary_set_platform $(call gb_CliAssembly_set_platform,$(1),$(2)) endef define gb_CliNativeLibrary_set_policy $(call gb_CliAssembly_set_policy,$(1),$(2),$(3)) endef define gb_CliNativeLibrary_wrap_library $(call gb_CliNativeLibrary_get_target,$(1)) : \ CLI_NATIVE_LIBRARY := $(call gb_CliNativeLibrary__get_library,$(2)) $(call gb_CliNativeLibrary_get_target,$(1)) : \ $(call gb_Library_get_target,$(2)) $(call gb_Library_get_headers_target,$(2)) : \ $(call gb_CliNativeLibrary_get_preparation_target,$(1)) endef define gb_CliNativeLibrary_use_assembly $(call gb_CliNativeLibrary_get_target,$(1)) : \ CLI_NATIVE_ASSEMBLIES += $(call gb_CliLibrary_get_target,$(2)) $(call gb_CliNativeLibrary_get_preparation_target,$(1)) : \ $(call gb_CliLibrary_get_target,$(2)) endef define gb_CliNativeLibrary_use_assemblies $(foreach assembly,$(2),$(call gb_CliNativeLibrary_use_assembly,$(1),$(assembly))) endef # vim: set noet sw=4 ts=4: -6.0'>distro/collabora/cp-6.0 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/slideshow/test
AgeCommit message (Expand)Author
2016-02-24boost::shared_ptr->std::shared_ptr in slideshowNoel Grandin
2016-02-09Remove excess newlinesChris Sherlock
2016-02-06vcl: rename EXC_* constants to EXCEPTION_*, EXC is too much like 'execute'Chris Sherlock
2016-01-25InterfaceContainer2 with vector instead of SequenceNoel Grandin
2015-11-05use uno::Reference::set method instead of assignmentNoel Grandin
2015-10-23Remove obsolete version map filesStephan Bergmann
2015-10-21remove untyped Link<>Noel Grandin
2015-10-19slideshow: remove unecessary boost/bind includesDaniel Robertson
2015-09-07slideshow: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe
2015-08-11slideshow: prefer value_type over manual type generationThorsten Behrens
2015-08-08tdf#92459 replace deprecated o3tl featuresDaniel Robertson
2015-08-07cppcheck:noExplicitConstructorNoel Grandin
2015-06-23Revert "Typo: iff->if"Julien Nabet
2015-06-23Typo: iff->ifJulien Nabet
2015-05-13slideshow: simplify code by replacing std::find_if by std::any_of/std::none_ofTakeshi Abe
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin
2014-11-05removed nTimeout variableJennifer Liebel
2014-09-23fdo#82577: Handle WindowNoel Grandin
2014-04-19fixincludeguards.sh: slideshowThomas Arnhold
2014-04-03remove unnecessary scope qualifier from sal_Bool usesNoel Grandin
2014-02-25Remove visual noise from slideshowAlexander Wilms
2014-02-23Remove unneccessary commentsAlexander Wilms
2013-07-14Mark as constTakeshi Abe
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
2013-03-04remove unused and commented out codeThomas Arnhold
2013-02-26String::CreateFromAscii removalRicardo Montania