1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
11 # OpenOffice.org is free software: you can redistribute it and/or modify
12 # it under the terms of the GNU Lesser General Public License version 3
13 # only, as published by the Free Software Foundation.
15 # OpenOffice.org is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU Lesser General Public License version 3 for more details
19 # (a copy is included in the LICENSE file that accompanied this code).
21 # You should have received a copy of the GNU Lesser General Public License
22 # version 3 along with OpenOffice.org. If not, see
23 # <http://www.openoffice.org/license.html>
24 # for a copy of the LGPLv3 License.
26 #*************************************************************************
34 .INCLUDE
: settings.mk
35 .INCLUDE
: $(PRJ
)$/util
$/makefile.pmk
37 .INCLUDE
: $(PRJ
)$/util
$/target.pmk
40 .IF
"$(BUILD_FOR_CLI)" != ""
42 .INCLUDE
: $(BIN
)$/cliureversion.mk
44 POLICY_ASSEMBLY_FILE
=$(BIN
)/$(CLI_URETYPES_POLICY_ASSEMBLY
).dll
47 $(OUT
)$/bin
$/cli_uretypes.dll \
48 $(POLICY_ASSEMBLY_FILE
)
52 CLIMAKERFLAGS
+= --verbose
55 #When changing the assembly version then this must also be done in scp2
56 $(OUT
)$/bin
$/cli_uretypes.dll
: $(BIN
)$/climaker.exe
$(SOLARBINDIR
)$/types.rdb
$(BIN
)$/cliureversion.mk
57 $(subst,$(SOLARBINDIR
)$/climaker
,$(BIN
)$/climaker
$(CLIMAKER
)) $(CLIMAKERFLAGS
) \
59 --keyfile
$(BIN
)$/cliuno.snk \
60 --assembly-version
$(CLI_URETYPES_NEW_VERSION
) \
61 --assembly-description
"This assembly contains metadata for the StarOffice/OpenOffice.org API." \
62 --assembly-company
"OpenOffice.org" \
63 $(SOLARBINDIR
)$/udkapi.rdb
65 #do not forget to deliver cli_uretypes.config. It is NOT embedded in the policy file.
66 #see i62886 for the dependency on cli_uretypes.dll
67 $(POLICY_ASSEMBLY_FILE
) : $(BIN
)$/cli_uretypes.config
$(OUT
)$/bin
$/cli_uretypes.dll
68 $(WRAPCMD
) AL.exe
-out
:$@ \
69 -version
:$(CLI_URETYPES_POLICY_VERSION
) \
70 -keyfile
:$(BIN
)$/cliuno.snk \
71 -link
:$(BIN
)$/cli_uretypes.config
73 #Create the config file that is used with the policy assembly
74 $(BIN
)$/cli_uretypes.config
: cli_uretypes_config
$(BIN
)$/cliureversion.mk
75 $(PERL
) $(SOLARENV
)$/bin
$/clipatchconfig.pl \