diff options
author | Fridrich Strba <fridrich.strba@bluewin.ch> | 2011-08-10 06:37:59 -0600 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-10-13 12:24:52 +0200 |
commit | b3fef69f7047238f96b91ccc8c4ad0a1f34b9bb3 (patch) | |
tree | 4bfe453191d3a8709fa17bb44fd4f19088d39b57 | |
parent | 263e82d49d374fd550dfbdeb30f2596569367a9a (diff) |
[mono] Make cli_ure build on windows again
Change-Id: I4b79502121f9cb1577214a2c22ffa20bb599e419
-rw-r--r-- | cli_ure/prj/build.lst | 2 | ||||
-rw-r--r-- | cli_ure/source/basetypes/makefile.mk | 2 | ||||
-rw-r--r-- | cli_ure/source/native/makefile.mk | 2 | ||||
-rw-r--r-- | cli_ure/source/ure/makefile.mk | 2 | ||||
-rw-r--r-- | cli_ure/unotypes/makefile.mk | 5 | ||||
-rw-r--r-- | cli_ure/util/makefile.pmk | 16 | ||||
-rw-r--r-- | config_host.mk.in | 2 | ||||
-rw-r--r-- | configure.in | 5 |
8 files changed, 27 insertions, 9 deletions
diff --git a/cli_ure/prj/build.lst b/cli_ure/prj/build.lst index f9560449c895..7448a708d855 100644 --- a/cli_ure/prj/build.lst +++ b/cli_ure/prj/build.lst @@ -11,5 +11,5 @@ ure cli_ure\source\ure nmake - all ure_source_u ure cli_ure\source\uno_bridge nmake - w,vc7 ure_source_uno_bridge ure_source_basetypes ure_unotypes ure_source_ure ure_inc NULL ure cli_ure\source\mono_bridge nmake - u ure_source_mono_bridge ure_unotypes ure_source_ure ure_inc NULL ure cli_ure\source\mono_loader nmake - u ure_source_mono_loader ure_unotypes ure_source_ure ure_inc NULL -ure cli_ure\source\native nmake - w,vc7 ure_source_native ure_source_version ure_source_source ure_source_ure ure_unotypes ure_source_uno_bridge ure_inc NULL +ure cli_ure\source\native nmake - w,vc7 ure_source_native ure_source_version ure_source_source ure_source_ure ure_unotypes ure_source_uno_bridge.w ure_inc NULL #ure cli_ure\util nmake - w,vc7 ure_util ure_source_ure ure_source_native NULL diff --git a/cli_ure/source/basetypes/makefile.mk b/cli_ure/source/basetypes/makefile.mk index e24b6fbc8ac2..1fe21adb16b5 100644 --- a/cli_ure/source/basetypes/makefile.mk +++ b/cli_ure/source/basetypes/makefile.mk @@ -91,7 +91,7 @@ $(POLICY_ASSEMBLY_FILE) : $(BIN)$/cli_basetypes.config $(WRAPCMD) $(AL) -out:$@ \ -version:$(CLI_BASETYPES_POLICY_VERSION) \ -keyfile:$(BIN)$/cliuno.snk \ - -link:cli_basetypes.config,$(BIN)$/cli_basetypes.config + -link:$(CLI_BASETYPES_CONFIG) #Create the config file that is used with the policy assembly diff --git a/cli_ure/source/native/makefile.mk b/cli_ure/source/native/makefile.mk index 8d4128350075..367e2704c117 100644 --- a/cli_ure/source/native/makefile.mk +++ b/cli_ure/source/native/makefile.mk @@ -150,7 +150,7 @@ $(POLICY_ASSEMBLY_FILE) : $(BIN)$/cli_cppuhelper.config $(WRAPCMD) $(AL) -out:$@ \ -version:$(CLI_CPPUHELPER_POLICY_VERSION) \ -keyfile:$(BIN)$/cliuno.snk \ - -link:cli_cppuhelper.config,$(BIN)$/cli_cppuhelper.config \ + -link:$(BIN)$/cli_cppuhelper.config \ -platform:x86 #Create the config file that is used with the policy assembly diff --git a/cli_ure/source/ure/makefile.mk b/cli_ure/source/ure/makefile.mk index 175256baf885..b394e8bf3e37 100644 --- a/cli_ure/source/ure/makefile.mk +++ b/cli_ure/source/ure/makefile.mk @@ -99,7 +99,7 @@ $(POLICY_ASSEMBLY_FILE) : $(BIN)$/cli_ure.config $(WRAPCMD) $(AL) -out:$@ \ -version:$(CLI_URE_POLICY_VERSION) \ -keyfile:$(BIN)$/cliuno.snk \ - -link:cli_ure.config,$(BIN)$/cli_ure.config + -link:$(CLI_URE_CONFIG) #Create the config file that is used with the policy assembly $(BIN)$/cli_ure.config: cli_ure_config $(BIN)$/cliureversion.mk diff --git a/cli_ure/unotypes/makefile.mk b/cli_ure/unotypes/makefile.mk index 546583ca0acb..e278de4a4575 100644 --- a/cli_ure/unotypes/makefile.mk +++ b/cli_ure/unotypes/makefile.mk @@ -43,7 +43,8 @@ TARGET = unotypes WRAPCMD=MONO_PATH=$(OUT)/bin:$(MONO_PATH) LD_LIBRARY_PATH=$(SOLARLIBDIR):$(OUT)/lib CLIMAKER=$(BIN)$/climaker .ELSE -CLIMAKER=climaker.exe +WRAPCMD=$(AUGMENT_LIBRARY_PATH) +CLIMAKER=$(BIN)$/climaker.exe .ENDIF .INCLUDE : $(BIN)$/cliureversion.mk @@ -75,7 +76,7 @@ $(POLICY_ASSEMBLY_FILE) : $(BIN)$/cli_uretypes.config $(OUT)$/bin$/cli_uretypes. $(WRAPCMD) $(AL) -out:$@ \ -version:$(CLI_URETYPES_POLICY_VERSION) \ -keyfile:$(BIN)$/cliuno.snk \ - -link:cli_uretypes.config,$(BIN)$/cli_uretypes.config + -link:$(CLI_URETYPES_CONFIG) #Create the config file that is used with the policy assembly $(BIN)$/cli_uretypes.config: cli_uretypes_config $(BIN)$/cliureversion.mk diff --git a/cli_ure/util/makefile.pmk b/cli_ure/util/makefile.pmk index 7dbe19172f29..2422dc2d373d 100644 --- a/cli_ure/util/makefile.pmk +++ b/cli_ure/util/makefile.pmk @@ -27,9 +27,23 @@ # no translation here anyway .IF "$(L10N_framework)"=="" -.IF "$(COM)$(COMEX)" == "MSC11" || "$(COM)$(COMEX)"== "MSC10" || "$(ENABLE_MONO)" == "YES" +.IF "$(COM)" == "MSC" || "$(ENABLE_MONO)" == "YES" BUILD_FOR_CLI = "true" CFLAGSENABLESYMBOLS:=-Z7 .ENDIF +CLI_BASETYPES_CONFIG= +CLI_URETYPES_CONFIG= +CLI_URE_CONFIG= +.IF "$(ENABLE_MONO)" == "YES" +CLI_BASETYPES_CONFIG=cli_basetypes.config,$(BIN)$/cli_basetypes.config +CLI_URETYPES_CONFIG=cli_uretypes.config,$(BIN)$/cli_uretypes.config +CLI_URE_CONFIG=cli_ure.config,$(BIN)$/cli_ure.config +.ENDIF +.IF "$(COM)" == "MSC" +CLI_BASETYPES_CONFIG=$(BIN)$/cli_basetypes.config +CLI_URETYPES_CONFIG=$(BIN)$/cli_uretypes.config +CLI_URE_CONFIG=$(BIN)$/cli_ure.config +.ENDIF + .ENDIF # "L10N_framework"=="" diff --git a/config_host.mk.in b/config_host.mk.in index 38ae226742b6..9f38be91d5cc 100644 --- a/config_host.mk.in +++ b/config_host.mk.in @@ -65,7 +65,7 @@ export CPUNAME=@CPUNAME@ export CPUNAME_FOR_BUILD=@CPUNAME_FOR_BUILD@ export CPU_FOR_BUILD=@CPU_FOR_BUILD@ export CROSS_COMPILING=@CROSS_COMPILING@ -export CSC=@CSC@ +@x_Mono@ export CSC=@CSC@ export CSC_PATH=@CSC_PATH@ export CT2N_EXTENSION_PACK=@CT2N_EXTENSION_PACK@ export CURL_CFLAGS=@CURL_CFLAGS@ diff --git a/configure.in b/configure.in index cb45b778fcf4..7f144130a5ed 100644 --- a/configure.in +++ b/configure.in @@ -4211,7 +4211,8 @@ if test "$build_os" = "cygwin" ; then PathFormat "$CSC_PATH" CSC_PATH="$formatted_path" - + + x_Mono=[\#] fi if test "$_os" = "Linux"; then @@ -4244,6 +4245,7 @@ if test "$_os" = "Linux"; then "`echo $MCS_VERSION | cut -d"." -f3`" -ge "8"; then ENABLE_MONO=YES CSC=$MCS + x_Mono= AC_PATH_PROG(GMCS, gmcs, no) AC_PATH_PROG(MKBUNDLE2, mkbundle2, no) AC_PATH_PROG(MKBUNDLE, mkbundle, no) @@ -4283,6 +4285,7 @@ if test "$_os" = "Linux"; then MONO_GAC_ROOT=$with_mono_gac_root fi fi +AC_SUBST(x_Mono) AC_SUBST(CSC_PATH) AC_SUBST(CSC) AC_SUBST(AL) |