diff options
author | Rüdiger Timm <rt@openoffice.org> | 2006-03-09 09:54:02 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2006-03-09 09:54:02 +0000 |
commit | 02f8b295f0e0168405734d003c7bbb7c00c8c3e5 (patch) | |
tree | c817c328be35d09d73f9a13fbd618cc74632e79f /cli_ure/source | |
parent | 287ed29a16a809faaaffd5cacd79d1fe96c89e8d (diff) |
INTEGRATION: CWS jl31 (1.15.4); FILE MERGED
2006/02/20 11:58:08 jl 1.15.4.1: #62141 facilitate version changes
Diffstat (limited to 'cli_ure/source')
-rw-r--r-- | cli_ure/source/ure/makefile.mk | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/cli_ure/source/ure/makefile.mk b/cli_ure/source/ure/makefile.mk index 6f902b27a545..1633aa67050d 100644 --- a/cli_ure/source/ure/makefile.mk +++ b/cli_ure/source/ure/makefile.mk @@ -4,9 +4,9 @@ # # $RCSfile: makefile.mk,v $ # -# $Revision: 1.15 $ +# $Revision: 1.16 $ # -# last change: $Author: kz $ $Date: 2006-02-03 17:15:52 $ +# last change: $Author: rt $ $Date: 2006-03-09 10:54:02 $ # # The Contents of this file are made available subject to # the terms of GNU Lesser General Public License Version 2.1. @@ -45,6 +45,8 @@ TARGET = ure .INCLUDE : $(PRJ)$/util$/target.pmk .INCLUDE : target.mk +.INCLUDE : $(BIN)$/cliureversion.mk + .IF "$(USE_SHELL)"!="4nt" ECHOQUOTE=' .ELSE @@ -53,17 +55,12 @@ ECHOQUOTE= .IF "$(BUILD_FOR_CLI)" != "" -POLICYASSEMBLY = policy.1.0.cli_ure.dll - -#!!! Always change version if code has changed. Provide a publisher -#policy assembly!!! -ASSEMBLY_VERSION="1.0.2.0" - ASSEMBLY_ATTRIBUTES = $(MISC)$/assembly_ure_$(TARGET).cs +POLICY_ASSEMBLY_FILE=$(BIN)$/$(CLI_URE_POLICY_ASSEMBLY).dll ALLTAR : \ $(BIN)$/cli_ure.dll \ - $(OUT)$/bin$/$(POLICYASSEMBLY) + $(POLICY_ASSEMBLY_FILE) CSFILES = \ @@ -73,14 +70,14 @@ CSFILES = \ uno$/util$/WeakComponentBase.cs \ $(ASSEMBLY_ATTRIBUTES) -$(ASSEMBLY_ATTRIBUTES) : assembly.cs makefile.mk $(BIN)$/cliuno.snk +$(ASSEMBLY_ATTRIBUTES) : assembly.cs $(BIN)$/cliuno.snk $(BIN)$/cliureversion.mk $(GNUCOPY) -p assembly.cs $@ +echo $(ECHOQUOTE) \ - [assembly:System.Reflection.AssemblyVersion( $(ASSEMBLY_VERSION))] \ + [assembly:System.Reflection.AssemblyVersion( "$(CLI_URE_NEW_VERSION)")] \ [assembly:System.Reflection.AssemblyKeyFile(@"$(BIN)$/cliuno.snk")]$(ECHOQUOTE) \ >> $@ -$(BIN)$/cli_ure.dll : $(CSFILES) $(BIN)$/cli_types.dll +$(BIN)$/cli_ure.dll : $(CSFILES) $(BIN)$/cli_types.dll $(BIN)$/cliureversion.mk +$(CSC) $(CSCFLAGS) \ -target:library \ -out:$@ \ @@ -91,12 +88,16 @@ $(BIN)$/cli_ure.dll : $(CSFILES) $(BIN)$/cli_types.dll #do not forget to deliver cli_ure.config. It is NOT embedded in the policy file. -$(OUT)$/bin$/$(POLICYASSEMBLY) : cli_ure.config - +$(COPY) cli_ure.config $(OUT)$/bin +$(POLICY_ASSEMBLY_FILE) : $(BIN)$/cli_ure.config +$(WRAPCMD) AL.exe -out:$@ \ - -version:2.0.0.0 \ + -version:$(CLI_URE_POLICY_VERSION) \ -keyfile:$(BIN)$/cliuno.snk \ - -link:cli_ure.config + -link:$(BIN)$/cli_ure.config + +#Create the config file that is used with the policy assembly +$(BIN)$/cli_ure.config: cli_ure_config $(BIN)$/cliureversion.mk + +$(PERL) $(PRJ)$/source$/scripts$/subst_template.pl \ + $< $@ .ENDIF |