Bump version to 4.1-6
[LibreOffice.git] / unoil / CustomTarget_climaker.mk
blob016f662b6992f8e2ab23defccccc120f1d62720e
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 include $(SRCDIR)/unoil/climaker/version.txt
12 $(eval $(call gb_CustomTarget_CustomTarget,unoil/climaker))
14 unoil_CLIDIR := $(call gb_CustomTarget_get_workdir,unoil/climaker)
16 $(call gb_CustomTarget_get_target,unoil/climaker) : \
17 $(unoil_CLIDIR)/cli_oootypes.dll \
18 $(unoil_CLIDIR)/cli_oootypes.config \
19 $(unoil_CLIDIR)/$(CLI_OOOTYPES_POLICY_ASSEMBLY).dll
21 $(unoil_CLIDIR)/cli_oootypes.dll : $(SRCDIR)/unoil/climaker/version.txt \
22 $(call gb_UnoApiTarget_get_target,offapi) \
23 $(call gb_UnoApiTarget_get_target,udkapi) \
24 $(OUTDIR)/bin/cliuno.snk $(OUTDIR)/bin/cli_uretypes.dll \
25 $(call gb_Executable_get_runtime_dependencies,climaker) \
26 | $(unoil_CLIDIR)/.dir
27 $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),CLM,1)
28 $(call gb_Helper_abbreviate_dirs, \
29 $(call gb_Helper_execute,climaker \
30 $(if $(filter -s,$(MAKEFLAGS)),,--verbose) \
31 --out $@ \
32 --assembly-version $(CLI_OOOTYPES_NEW_VERSION) \
33 --assembly-company "LibreOffice" \
34 --assembly-description "This assembly contains metadata for the LibreOffice API." \
35 -X $(call gb_UnoApiTarget_get_target,udkapi) \
36 -r $(OUTDIR)/bin/cli_uretypes.dll \
37 --keyfile $(OUTDIR)/bin/cliuno.snk \
38 $(call gb_UnoApiTarget_get_target,offapi)) > /dev/null)
40 $(unoil_CLIDIR)/cli_oootypes.config : \
41 $(SRCDIR)/unoil/climaker/cli_oootypes_config \
42 $(SRCDIR)/unoil/climaker/version.txt | $(unoil_CLIDIR)/.dir
43 $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,1)
44 $(call gb_Helper_abbreviate_dirs, \
45 perl $(SRCDIR)/solenv/bin/clipatchconfig.pl $^ $@)
47 $(unoil_CLIDIR)/$(CLI_OOOTYPES_POLICY_ASSEMBLY).dll : \
48 $(unoil_CLIDIR)/cli_oootypes.config \
49 $(unoil_CLIDIR)/cli_oootypes.dll $(OUTDIR)/bin/cliuno.snk
50 $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),AL ,1)
51 $(call gb_Helper_abbreviate_dirs, \
52 al -out:$@ \
53 -version:$(CLI_OOOTYPES_POLICY_VERSION) \
54 -keyfile:$(OUTDIR)/bin/cliuno.snk \
55 -link:$<)
57 # vim:set shiftwidth=4 tabstop=4 noexpandtab: