1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
6 # the License or as specified alternatively below. You may obtain a copy of
7 # the License at http://www.mozilla.org/MPL/
9 # Software distributed under the License is distributed on an "AS IS" basis,
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 # for the specific language governing rights and limitations under the
14 # Major Contributor(s):
15 # Copyright (C) 2010 Red Hat, Inc., David Tardon <dtardon@redhat.com>
18 # All Rights Reserved.
20 # For minor contributions see the git repository.
22 # Alternatively, the contents of this file may be used under the terms of
23 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
24 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
25 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
26 # instead of those above.
28 include $(SRCDIR
)/unoil
/climaker
/version.txt
30 $(eval
$(call gb_CustomTarget_CustomTarget
,unoil
/climaker
))
32 unoil_CLIDIR
:= $(call gb_CustomTarget_get_workdir
,unoil
/climaker
)
34 $(call gb_CustomTarget_get_target
,unoil
/climaker
) : \
35 $(unoil_CLIDIR
)/cli_oootypes.dll \
36 $(unoil_CLIDIR
)/cli_oootypes.config \
37 $(unoil_CLIDIR
)/$(CLI_OOOTYPES_POLICY_ASSEMBLY
).dll
39 $(unoil_CLIDIR
)/cli_oootypes.dll
: $(SRCDIR
)/unoil
/climaker
/version.txt \
40 $(OUTDIR
)/bin
/offapi.rdb
$(OUTDIR
)/bin
/udkapi.rdb \
41 $(OUTDIR
)/bin
/cliuno.snk
$(OUTDIR
)/bin
/cli_uretypes.dll \
42 $(call gb_Executable_get_target_for_build
,climaker
) \
43 |
$(unoil_CLIDIR
)/.
dir
44 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),$(true
),CLM
,1)
45 $(call gb_Helper_abbreviate_dirs
, \
46 $(call gb_Helper_execute
,climaker \
47 $(if
$(filter -s
,$(MAKEFLAGS
)),,--verbose
) \
49 --assembly-version
$(CLI_OOOTYPES_NEW_VERSION
) \
50 --assembly-company
"LibreOffice" \
51 --assembly-description
"This assembly contains metadata for the LibreOffice API." \
52 -X
$(OUTDIR
)/bin
/udkapi.rdb \
53 -r
$(OUTDIR
)/bin
/cli_uretypes.dll \
54 --keyfile
$(OUTDIR
)/bin
/cliuno.snk \
55 $(OUTDIR
)/bin
/offapi.rdb
) > /dev
/null
)
57 $(unoil_CLIDIR
)/cli_oootypes.config
: \
58 $(SRCDIR
)/unoil
/climaker
/cli_oootypes_config \
59 $(SRCDIR
)/unoil
/climaker
/version.txt |
$(unoil_CLIDIR
)/.
dir
60 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),$(true
),PRL
,1)
61 $(call gb_Helper_abbreviate_dirs
, \
62 perl
$(SRCDIR
)/solenv
/bin
/clipatchconfig.pl
$^
$@
)
64 $(unoil_CLIDIR
)/$(CLI_OOOTYPES_POLICY_ASSEMBLY
).dll
: \
65 $(unoil_CLIDIR
)/cli_oootypes.config \
66 $(unoil_CLIDIR
)/cli_oootypes.dll
$(OUTDIR
)/bin
/cliuno.snk
67 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),$(true
),AL
,1)
68 $(call gb_Helper_abbreviate_dirs
, \
70 -version
:$(CLI_OOOTYPES_POLICY_VERSION
) \
71 -keyfile
:$(OUTDIR
)/bin
/cliuno.snk \
74 # vim:set shiftwidth=4 tabstop=4 noexpandtab: