INTEGRATION: CWS jl104 (1.18.4); FILE MERGED

2008/06/18 14:25:02 jl 1.18.4.1: #i88078#  cli_ure moved to URE, therefore it can only build ure types, tests moved to testtools
This commit is contained in:
Kurt Zenker 2008-06-25 11:15:59 +00:00
parent 8832b0ddd4
commit 11da28c837

View File

@ -8,7 +8,7 @@
# #
# $RCSfile: makefile.mk,v $ # $RCSfile: makefile.mk,v $
# #
# $Revision: 1.18 $ # $Revision: 1.19 $
# #
# This file is part of OpenOffice.org. # This file is part of OpenOffice.org.
# #
@ -45,43 +45,37 @@ TARGET = unotypes
.INCLUDE : $(BIN)$/cliureversion.mk .INCLUDE : $(BIN)$/cliureversion.mk
POLICY_ASSEMBLY_FILE=$(BIN)/$(CLI_TYPES_POLICY_ASSEMBLY).dll POLICY_ASSEMBLY_FILE=$(BIN)/$(CLI_URETYPES_POLICY_ASSEMBLY).dll
ALLTAR : \ ALLTAR : \
$(OUT)$/bin$/cli_types.dll \ $(OUT)$/bin$/cli_uretypes.dll \
$(POLICY_ASSEMBLY_FILE) $(POLICY_ASSEMBLY_FILE)
CLIMAKERFLAGS = CLIMAKERFLAGS =
.IF "$(debug)" != "" .IF "$(debug)" != ""
CLIMAKERFLAGS += --verbose CLIMAKERFLAGS += --verbose
.ENDIF .ENDIF
#When changing the assembly version then this must also be done in scp2 #When changing the assembly version then this must also be done in scp2
$(OUT)$/bin$/cli_types.dll : $(OUT)$/bin$/climaker.exe $(SOLARBINDIR)$/types.rdb $(BIN)$/cliureversion.mk $(OUT)$/bin$/cli_uretypes.dll : $(BIN)$/climaker.exe $(SOLARBINDIR)$/types.rdb $(BIN)$/cliureversion.mk
$(WRAPCMD) $(OUT)$/bin$/climaker.exe $(CLIMAKERFLAGS) \ $(WRAPCMD) $(BIN)$/climaker.exe $(CLIMAKERFLAGS) \
--out $@ \ --out $@ \
--keyfile $(BIN)$/cliuno.snk \ --keyfile $(BIN)$/cliuno.snk \
--assembly-version $(CLI_TYPES_NEW_VERSION) \ --assembly-version $(CLI_URETYPES_NEW_VERSION) \
--assembly-description "This assembly contains metadata for the StarOffice/OpenOffice.org API." \ --assembly-description "This assembly contains metadata for the StarOffice/OpenOffice.org API." \
--assembly-company "OpenOffice.org" \ --assembly-company "OpenOffice.org" \
$(SOLARBINDIR)$/types_doc.rdb $(SOLARBINDIR)$/udkapi.rdb
# --assembly-copyright "2003" \ #do not forget to deliver cli_uretypes.config. It is NOT embedded in the policy file.
$(POLICY_ASSEMBLY_FILE) : $(BIN)$/cli_uretypes.config $(OUT)$/bin$/cli_uretypes.dll
#do not forget to deliver cli_types.config. It is NOT embedded in the policy file.
# iz62624: Add dependency for "$(OUT)$/bin$/cli_types.dll" because climaker locks cliuno.mk.
$(POLICY_ASSEMBLY_FILE) : $(BIN)$/cli_types.config $(OUT)$/bin$/cli_types.dll
$(WRAPCMD) AL.exe -out:$@ \ $(WRAPCMD) AL.exe -out:$@ \
-version:$(CLI_TYPES_POLICY_VERSION) \ -version:$(CLI_URETYPES_POLICY_VERSION) \
-keyfile:$(BIN)$/cliuno.snk \ -keyfile:$(BIN)$/cliuno.snk \
-link:$(BIN)$/cli_types.config -link:$(BIN)$/cli_uretypes.config
#Create the config file that is used with the policy assembly #Create the config file that is used with the policy assembly
$(BIN)$/cli_types.config: cli_types_config $(BIN)$/cliureversion.mk $(BIN)$/cli_uretypes.config: cli_uretypes_config $(BIN)$/cliureversion.mk
$(PERL) $(PRJ)$/source$/scripts$/subst_template.pl \ $(PERL) $(SOLARENV)$/bin$/clipatchconfig.pl \
$< $@ $< $@