summaryrefslogtreecommitdiff
path: root/cli_ure/source
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-07-29 11:53:28 +0200
committerDavid Tardon <dtardon@redhat.com>2012-09-22 08:15:27 +0200
commit97eb770d288a5411d767391cc7b6421069fdd38d (patch)
tree8f6399b59dadf2ae163ad1e21ef50f9be19f66b9 /cli_ure/source
parent39c530ce5551ab1d104fa8a9ffd12aa308923c0d (diff)
switch cli_ure to gbuild
Change-Id: Icad2f8019130781f036b5d46105cf5a99709663f
Diffstat (limited to 'cli_ure/source')
-rw-r--r--cli_ure/source/basetypes/makefile.mk96
-rw-r--r--cli_ure/source/climaker/makefile.mk117
-rw-r--r--cli_ure/source/makefile.mk39
-rw-r--r--cli_ure/source/native/makefile.mk152
-rw-r--r--cli_ure/source/native/msvc.map24
-rw-r--r--cli_ure/source/uno_bridge/bridge_exports.map26
-rw-r--r--cli_ure/source/uno_bridge/makefile.mk77
-rw-r--r--cli_ure/source/ure/makefile.mk93
8 files changed, 0 insertions, 624 deletions
diff --git a/cli_ure/source/basetypes/makefile.mk b/cli_ure/source/basetypes/makefile.mk
deleted file mode 100644
index df9654db21d6..000000000000
--- a/cli_ure/source/basetypes/makefile.mk
+++ /dev/null
@@ -1,96 +0,0 @@
-#
-# This file is part of the LibreOffice project.
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-# This file incorporates work covered by the following license notice:
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed
-# with this work for additional information regarding copyright
-# ownership. The ASF licenses this file to you under the Apache
-# License, Version 2.0 (the "License"); you may not use this file
-# except in compliance with the License. You may obtain a copy of
-# the License at http://www.apache.org/licenses/LICENSE-2.0 .
-#
-
-PRJ = ..$/..
-PRJNAME = cli_ure
-
-# for dummy
-TARGET = basetypes
-
-.INCLUDE : settings.mk
-.INCLUDE : $(PRJ)$/util$/makefile.pmk
-
-.INCLUDE : $(PRJ)$/util$/target.pmk
-.INCLUDE : target.mk
-
-.IF "$(BUILD_FOR_CLI)" != ""
-
-.INCLUDE : $(BIN)$/cliureversion.mk
-
-ASSEMBLY_ATTRIBUTES = $(MISC)$/assembly_ure_$(TARGET).cs
-POLICY_ASSEMBLY_FILE=$(BIN)$/$(CLI_BASETYPES_POLICY_ASSEMBLY).dll
-
-ALLTAR : \
- $(BIN)$/cli_basetypes.dll \
- $(POLICY_ASSEMBLY_FILE)
-
-.IF "$(CCNUMVER)" >= "001399999999"
-CSCFLAGS+=-keyfile:"$(BIN)$/cliuno.snk"
-.ENDIF
-
-CSFILES = \
- uno$/Any.cs \
- uno$/BoundAttribute.cs \
- uno$/ExceptionAttribute.cs \
- uno$/ParameterizedTypeAttribute.cs \
- uno$/TypeParametersAttribute.cs \
- uno$/TypeArgumentsAttribute.cs \
- uno$/OnewayAttribute.cs \
- uno$/PolymorphicType.cs \
- $(ASSEMBLY_ATTRIBUTES)
-
-.IF "$(CCNUMVER)" <= "001399999999"
-$(ASSEMBLY_ATTRIBUTES) : assembly.cs makefile.mk $(BIN)$/cliuno.snk $(BIN)$/cliureversion.mk
- $(GNUCOPY) -p assembly.cs $@
- echo \
- '[assembly:System.Reflection.AssemblyVersion( "$(CLI_BASETYPES_NEW_VERSION)")] \
- [assembly:System.Reflection.AssemblyKeyFile(@"$(BIN)$/cliuno.snk")]' \
- >> $@
-.ELSE
-$(ASSEMBLY_ATTRIBUTES) : assembly.cs makefile.mk $(BIN)$/cliuno.snk $(BIN)$/cliureversion.mk
- $(GNUCOPY) -p assembly.cs $@
- echo \
- '[assembly:System.Reflection.AssemblyVersion( "$(CLI_BASETYPES_NEW_VERSION)")]' \
- >> $@
-.ENDIF
-
-$(BIN)$/cli_basetypes.dll : $(CSFILES) $(BIN)$/cliureversion.mk
- $(CSC) $(CSCFLAGS) \
- -target:library \
- -out:$@ \
- -reference:System.dll \
- $(CSFILES)
- @echo "If code has changed then provide a policy assembly and change the version!"
-
-#do not forget to deliver cli_uretypes.config. It is NOT embedded in the policy file.
-$(POLICY_ASSEMBLY_FILE) : $(BIN)$/cli_basetypes.config
- $(WRAPCMD) AL.exe -out:$@ \
- -version:$(CLI_BASETYPES_POLICY_VERSION) \
- -keyfile:$(BIN)$/cliuno.snk \
- -link:$(BIN)$/cli_basetypes.config
-
-
-#Create the config file that is used with the policy assembly
-$(BIN)$/cli_basetypes.config: cli_basetypes_config $(BIN)$/cliureversion.mk
- $(PERL) $(SOLARENV)$/bin$/clipatchconfig.pl \
- $< $@
-
-
-.ENDIF
-
-
diff --git a/cli_ure/source/climaker/makefile.mk b/cli_ure/source/climaker/makefile.mk
deleted file mode 100644
index f151987dc0f0..000000000000
--- a/cli_ure/source/climaker/makefile.mk
+++ /dev/null
@@ -1,117 +0,0 @@
-#
-# This file is part of the LibreOffice project.
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-# This file incorporates work covered by the following license notice:
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed
-# with this work for additional information regarding copyright
-# ownership. The ASF licenses this file to you under the Apache
-# License, Version 2.0 (the "License"); you may not use this file
-# except in compliance with the License. You may obtain a copy of
-# the License at http://www.apache.org/licenses/LICENSE-2.0 .
-#
-
-PRJ = ..$/..
-PRJNAME = cli_ure
-
-TARGET = climaker
-TARGETTYPE = CUI
-LIBTARGET = NO
-ENABLE_EXCEPTIONS = TRUE
-
-# disable caching to avoid stale objects
-# on version changes
-CCACHE_DISABLE=TRUE
-.EXPORT : CCACHE_DISABLE
-
-.INCLUDE : settings.mk
-.INCLUDE : $(PRJ)$/util$/makefile.pmk
-
-.IF "$(BUILD_FOR_CLI)" != ""
-
-NO_OFFUH=TRUE
-CPPUMAKERFLAGS =
-
-UNOTYPES = \
- com.sun.star.uno.TypeClass \
- com.sun.star.uno.XAggregation \
- com.sun.star.uno.XWeak \
- com.sun.star.uno.XComponentContext \
- com.sun.star.lang.XTypeProvider \
- com.sun.star.lang.XInitialization \
- com.sun.star.lang.XComponent \
- com.sun.star.lang.XMultiComponentFactory \
- com.sun.star.lang.XMultiServiceFactory \
- com.sun.star.lang.XSingleComponentFactory \
- com.sun.star.container.XSet \
- com.sun.star.container.XHierarchicalNameAccess \
- com.sun.star.loader.XImplementationLoader \
- com.sun.star.registry.XSimpleRegistry \
- com.sun.star.registry.XRegistryKey \
- com.sun.star.reflection.XTypeDescriptionEnumerationAccess \
- com.sun.star.reflection.XConstantTypeDescription \
- com.sun.star.reflection.XConstantsTypeDescription \
- com.sun.star.reflection.XIndirectTypeDescription \
- com.sun.star.reflection.XEnumTypeDescription \
- com.sun.star.reflection.XInterfaceTypeDescription2 \
- com.sun.star.reflection.XInterfaceMethodTypeDescription \
- com.sun.star.reflection.XInterfaceAttributeTypeDescription2 \
- com.sun.star.reflection.XCompoundTypeDescription \
- com.sun.star.reflection.XServiceTypeDescription2 \
- com.sun.star.reflection.XSingletonTypeDescription2 \
- com.sun.star.reflection.XStructTypeDescription
-
-CFLAGSCXX +=-AI$(BIN)
-
-
-# When compiling for CLR, disable "warning C4339: use of undefined type detected
-# in CLR meta-data - use of this type may lead to a runtime exception":
-CFLAGSCXX += -clr -LN -wd4339 -wd4715
-
-OBJFILES = \
- $(OBJ)$/climaker_app.obj \
- $(OBJ)$/climaker_emit.obj
-
-APP1TARGET = $(TARGET)
-APP1OBJS = $(OBJFILES)
-
-
-APP1STDLIBS = \
- $(CPPUHELPERLIB) \
- $(CPPULIB) \
- $(SALLIB) \
- mscoree.lib
-
-.IF "$(USE_DEBUG_RUNTIME)" == ""
-APP1STDLIBS += \
- msvcmrt.lib
-.ELSE
-APP1STDLIBS += \
- msvcmrtd.lib
-.ENDIF
-
-.ENDIF
-
-.INCLUDE : $(PRJ)$/util$/target.pmk
-.INCLUDE : target.mk
-
-CLIMAKER_CONFIG = $(BIN)$/climaker.exe.config
-
-ALLTAR: \
- $(CLIMAKER_CONFIG)
-
-#Create the config file that is used with the policy assembly
-$(CLIMAKER_CONFIG): climaker.exe.config
- $(COPY) $< $@
- chmod +x $@
-
-.IF "$(BUILD_FOR_CLI)" != ""
-
-$(OBJFILES): $(BIN)$/cli_basetypes.dll
-
-.ENDIF
diff --git a/cli_ure/source/makefile.mk b/cli_ure/source/makefile.mk
deleted file mode 100644
index f7001ae4b0bd..000000000000
--- a/cli_ure/source/makefile.mk
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# This file is part of the LibreOffice project.
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-# This file incorporates work covered by the following license notice:
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed
-# with this work for additional information regarding copyright
-# ownership. The ASF licenses this file to you under the Apache
-# License, Version 2.0 (the "License"); you may not use this file
-# except in compliance with the License. You may obtain a copy of
-# the License at http://www.apache.org/licenses/LICENSE-2.0 .
-#
-
-PRJ = ..
-PRJNAME = cli_ure
-
-# for dummy
-TARGET = sourcedir
-
-.INCLUDE : settings.mk
-.INCLUDE : $(PRJ)$/util$/makefile.pmk
-
-.INCLUDE : $(PRJ)$/util$/target.pmk
-.INCLUDE : target.mk
-
-.IF "$(BUILD_FOR_CLI)" != ""
-
-ALLTAR : \
- $(OUT)$/bin$/cliuno.snk
-
-$(OUT)$/bin$/cliuno.snk :
- $(GNUCOPY) -p cliuno.snk $@
-
-.ENDIF
diff --git a/cli_ure/source/native/makefile.mk b/cli_ure/source/native/makefile.mk
deleted file mode 100644
index 68f534e2108b..000000000000
--- a/cli_ure/source/native/makefile.mk
+++ /dev/null
@@ -1,152 +0,0 @@
-#
-# This file is part of the LibreOffice project.
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-# This file incorporates work covered by the following license notice:
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed
-# with this work for additional information regarding copyright
-# ownership. The ASF licenses this file to you under the Apache
-# License, Version 2.0 (the "License"); you may not use this file
-# except in compliance with the License. You may obtain a copy of
-# the License at http://www.apache.org/licenses/LICENSE-2.0 .
-#
-
-PRJ = ..$/..
-PRJNAME = cli_ure
-
-TARGET = cli_cppuhelper
-ENABLE_EXCEPTIONS = TRUE
-LIBTARGET = NO
-USE_DEFFILE = TRUE
-
-# disable caching to avoid stale objects
-# on version changes
-CCACHE_DISABLE=TRUE
-.EXPORT : CCACHE_DISABLE
-
-.INCLUDE : settings.mk
-.INCLUDE : $(PRJ)$/util$/makefile.pmk
-
-use_shl_versions=
-
-.IF "$(BUILD_FOR_CLI)" == ""
-#do not even build the cxx files because they contain cli cpp
-all:
-.ELSE
-
-.INCLUDE : $(BIN)$/cliureversion.mk
-
-ASSEMBLY_KEY="$(BIN)$/cliuno.snk"
-
-ASSEMBLY_ATTRIBUTES = $(MISC)$/assembly_cppuhelper.cxx
-
-POLICY_ASSEMBLY_FILE=$(BIN)$/$(CLI_CPPUHELPER_POLICY_ASSEMBLY).dll
-
-ASSEMBLY_KEY_X=$(subst,\,\\ $(ASSEMBLY_KEY))
-
-
-LINKFLAGS += /delayload:cppuhelper3MSC.dll \
- /delayload:cppu3.dll \
- /delayload:sal3.dll
-
-UWINAPILIB=
-
-NO_OFFUH=TRUE
-CPPUMAKERFLAGS =
-UNOTYPES = \
- com.sun.star.lang.XSingleComponentFactory \
- com.sun.star.loader.CannotActivateFactoryException \
- com.sun.star.container.XHierarchicalNameAccess \
- com.sun.star.registry.CannotRegisterImplementationException \
- com.sun.star.registry.XRegistryKey \
- com.sun.star.registry.XSimpleRegistry
-
-#loader lock was solved as of VS 2005 (CCNUMVER = 0014..)
-# When compiling for CLR, disable "warning C4339: use of undefined type detected
-# in CLR meta-data - use of this type may lead to a runtime exception":
-CFLAGSCXX += -clr:oldSyntax -AI $(BIN) -wd4339
-
-SLOFILES = \
- $(SLO)$/native_bootstrap.obj \
- $(SLO)$/path.obj \
- $(SLO)$/assembly_cppuhelper.obj
-
-
-SHL1OBJS = $(SLOFILES)
-
-SHL1TARGET = $(TARGET)
-
-SHL1STDLIBS = \
- $(CPPUHELPERLIB) \
- $(CPPULIB) \
- $(SALLIB) \
- delayimp.lib \
- advapi32.lib \
- mscoree.lib \
- Advapi32.lib
-
-.IF "$(USE_DEBUG_RUNTIME)" == ""
-SHL1STDLIBS += \
- msvcmrt.lib
-.ELSE
-SHL1STDLIBS += \
- msvcmrtd.lib
-.ENDIF
-
-SHL1VERSIONMAP = msvc.map
-
-SHL1DEF = $(MISC)$/$(SHL1TARGET).def
-DEF1NAME = $(SHL1TARGET)
-
-
-.INCLUDE : $(PRJ)$/util$/target.pmk
-.INCLUDE : target.mk
-
-SIGN= $(MISC)$/cppuhelper_is_signed_flag
-
-ALLTAR: \
- $(POLICY_ASSEMBLY_FILE) \
- $(SIGN)
-
-
-CFLAGSCXX += -clr:oldSyntax
-
-$(ASSEMBLY_ATTRIBUTES) : assembly.cxx $(BIN)$/cliuno.snk $(BIN)$/cliureversion.mk
- @echo $(ASSEMBLY_KEY_X)
- $(GNUCOPY) -p assembly.cxx $@
- echo \
- '[assembly:System::Reflection::AssemblyVersion( "$(CLI_CPPUHELPER_NEW_VERSION)" )];' \
- >> $(OUT)$/misc$/assembly_cppuhelper.cxx
- echo \
- '[assembly:System::Reflection::AssemblyKeyFile($(ASSEMBLY_KEY_X))];' \
- >> $(OUT)$/misc$/assembly_cppuhelper.cxx
-
-#make sure we build cli_cppuhelper after the version changed
-$(SHL1OBJS) : $(BIN)$/cli_cppuhelper.config
-
-$(SIGN): $(SHL1TARGETN)
- $(WRAPCMD) sn.exe -R $(BIN)$/$(TARGET).dll $(BIN)$/cliuno.snk && $(TOUCH) $@
-
-#do not forget to deliver cli_cppuhelper.config. It is NOT embedded in the policy file.
-# If the x86 switch is ommitted then the system assumes the assembly to be MSIL.
-# The policy file is still found when an application tries to load an older
-# cli_cppuhelper.dll but the system cannot locate it. It possibly assumes that the
-# assembly is also 'MSIL' like its policy file.
-$(POLICY_ASSEMBLY_FILE) : $(BIN)$/cli_cppuhelper.config
- $(WRAPCMD) AL.exe -out:$@ \
- -version:$(CLI_CPPUHELPER_POLICY_VERSION) \
- -keyfile:$(BIN)$/cliuno.snk \
- -link:$(BIN)$/cli_cppuhelper.config \
- -platform:x86
-
-#Create the config file that is used with the policy assembly
-$(BIN)$/cli_cppuhelper.config: cli_cppuhelper_config $(BIN)$/cliureversion.mk
- $(PERL) $(SOLARENV)$/bin$/clipatchconfig.pl \
- $< $@
-
-.ENDIF # "$(BUILD_FOR_CLI)" != ""
diff --git a/cli_ure/source/native/msvc.map b/cli_ure/source/native/msvc.map
deleted file mode 100644
index fd4444651e13..000000000000
--- a/cli_ure/source/native/msvc.map
+++ /dev/null
@@ -1,24 +0,0 @@
-#
-# This file is part of the LibreOffice project.
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-# This file incorporates work covered by the following license notice:
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed
-# with this work for additional information regarding copyright
-# ownership. The ASF licenses this file to you under the Apache
-# License, Version 2.0 (the "License"); you may not use this file
-# except in compliance with the License. You may obtain a copy of
-# the License at http://www.apache.org/licenses/LICENSE-2.0 .
-#
-
-UDK_3_0_0 {
- global:
-
- local:
- *;
-};
diff --git a/cli_ure/source/uno_bridge/bridge_exports.map b/cli_ure/source/uno_bridge/bridge_exports.map
deleted file mode 100644
index becb6d4a86e3..000000000000
--- a/cli_ure/source/uno_bridge/bridge_exports.map
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-# This file is part of the LibreOffice project.
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-# This file incorporates work covered by the following license notice:
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed
-# with this work for additional information regarding copyright
-# ownership. The ASF licenses this file to you under the Apache
-# License, Version 2.0 (the "License"); you may not use this file
-# except in compliance with the License. You may obtain a copy of
-# the License at http://www.apache.org/licenses/LICENSE-2.0 .
-#
-
-UDK_3_0_0 {
- global:
- component_canUnload;
- uno_initEnvironment;
- uno_ext_getMapping;
- local:
- *;
-};
diff --git a/cli_ure/source/uno_bridge/makefile.mk b/cli_ure/source/uno_bridge/makefile.mk
deleted file mode 100644
index 0c5e04959a8e..000000000000
--- a/cli_ure/source/uno_bridge/makefile.mk
+++ /dev/null
@@ -1,77 +0,0 @@
-#
-# This file is part of the LibreOffice project.
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-# This file incorporates work covered by the following license notice:
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed
-# with this work for additional information regarding copyright
-# ownership. The ASF licenses this file to you under the Apache
-# License, Version 2.0 (the "License"); you may not use this file
-# except in compliance with the License. You may obtain a copy of
-# the License at http://www.apache.org/licenses/LICENSE-2.0 .
-#
-
-PRJ = ..$/..
-PRJNAME = cli_ure
-
-TARGET = cli_uno
-ENABLE_EXCEPTIONS = TRUE
-USE_DEFFILE = TRUE
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE : settings.mk
-.INCLUDE : $(PRJ)$/util$/makefile.pmk
-
-.IF "$(COM)" == "MSC"
-# When compiling for CLR, disable "warning C4339: use of undefined type detected
-# in CLR meta-data - use of this type may lead to a runtime exception":
-CFLAGSCXX += -clr:oldSyntax -AI $(DLLDEST) -AI $(SOLARBINDIR) -wd4339
-
-.IF "$(debug)" != ""
-CFLAGS += -Ob0
-.ENDIF
-
-# --- Files --------------------------------------------------------
-
-SLOFILES = \
- $(SLO)$/cli_environment.obj \
- $(SLO)$/cli_bridge.obj \
- $(SLO)$/cli_data.obj \
- $(SLO)$/cli_proxy.obj \
- $(SLO)$/cli_uno.obj
-
-SHL1OBJS = $(SLOFILES)
-
-SHL1TARGET = $(TARGET)
-
-SHL1STDLIBS = \
- $(CPPULIB) \
- $(SALLIB) \
- mscoree.lib
-
-.IF "$(USE_DEBUG_RUNTIME)" == ""
-SHL1STDLIBS += \
- msvcmrt.lib
-.ELSE
-SHL1STDLIBS += \
- msvcmrtd.lib
-.ENDIF
-
-SHL1VERSIONMAP = bridge_exports.map
-
-SHL1IMPLIB = i$(TARGET)
-SHL1LIBS = $(SLB)$/$(TARGET).lib
-SHL1DEF = $(MISC)$/$(SHL1TARGET).def
-DEF1NAME = $(SHL1TARGET)
-
-.ENDIF
-
-# --- Targets ------------------------------------------------------
-
-.INCLUDE : target.mk
diff --git a/cli_ure/source/ure/makefile.mk b/cli_ure/source/ure/makefile.mk
deleted file mode 100644
index 0d745ce7a1cf..000000000000
--- a/cli_ure/source/ure/makefile.mk
+++ /dev/null
@@ -1,93 +0,0 @@
-#
-# This file is part of the LibreOffice project.
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-# This file incorporates work covered by the following license notice:
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed
-# with this work for additional information regarding copyright
-# ownership. The ASF licenses this file to you under the Apache
-# License, Version 2.0 (the "License"); you may not use this file
-# except in compliance with the License. You may obtain a copy of
-# the License at http://www.apache.org/licenses/LICENSE-2.0 .
-#
-
-PRJ = ..$/..
-PRJNAME = cli_ure
-
-# for dummy
-TARGET = ure
-
-.INCLUDE : settings.mk
-.INCLUDE : $(PRJ)$/util$/makefile.pmk
-
-.INCLUDE : $(PRJ)$/util$/target.pmk
-.INCLUDE : target.mk
-
-.IF "$(BUILD_FOR_CLI)" != ""
-
-.INCLUDE : $(BIN)$/cliureversion.mk
-
-ASSEMBLY_ATTRIBUTES = $(MISC)$/assembly_ure_$(TARGET).cs
-
-POLICY_ASSEMBLY_FILE=$(BIN)$/$(CLI_URE_POLICY_ASSEMBLY).dll
-ALLTAR : \
- $(BIN)$/cli_ure.dll \
- $(POLICY_ASSEMBLY_FILE)
-
-.IF "$(CCNUMVER)" >= "001399999999"
-CSCFLAGS+=-keyfile:"$(BIN)$/cliuno.snk"
-.ENDIF
-
-CSFILES = \
- uno$/util$/DisposeGuard.cs \
- uno$/util$/WeakAdapter.cs \
- uno$/util$/WeakBase.cs \
- uno$/util$/WeakComponentBase.cs \
- $(ASSEMBLY_ATTRIBUTES)
-
-.IF "$(CCNUMVER)" <= "001399999999"
-$(ASSEMBLY_ATTRIBUTES) : assembly.cs makefile.mk $(BIN)$/cliuno.snk $(BIN)$/cliureversion.mk
- $(GNUCOPY) -p assembly.cs $@
- echo \
- '[assembly:System.Reflection.AssemblyVersion( "$(CLI_URE_NEW_VERSION)")] \
- [assembly:System.Reflection.AssemblyKeyFile(@"$(BIN)$/cliuno.snk")]' \
- >> $@
-.ELSE
-$(ASSEMBLY_ATTRIBUTES) : assembly.cs makefile.mk $(BIN)$/cliuno.snk $(BIN)$/cliureversion.mk
- $(GNUCOPY) -p assembly.cs $@
- echo \
- '[assembly:System.Reflection.AssemblyVersion( "$(CLI_URE_NEW_VERSION)")]' \
- >> $@
-.ENDIF
-
-$(BIN)$/cli_ure.dll : $(CSFILES) $(BIN)$/cli_uretypes.dll $(BIN)$/cliureversion.mk
- $(CSC) $(CSCFLAGS) \
- -target:library \
- -out:$@ \
- -reference:$(OUT)$/bin$/cli_uretypes.dll \
- -reference:System.dll \
- $(CSFILES)
- @echo "If code has changed then provide a policy assembly and change the version!"
-
-
-#do not forget to deliver cli_ure.config. It is NOT embedded in the policy file.
-$(POLICY_ASSEMBLY_FILE) : $(BIN)$/cli_ure.config
- $(WRAPCMD) AL.exe -out:$@ \
- -version:$(CLI_URE_POLICY_VERSION) \
- -keyfile:$(BIN)$/cliuno.snk \
- -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) $(SOLARENV)$/bin$/clipatchconfig.pl \
- $< $@
-
-
-.ENDIF
-
-