2 +++ cli_ure/source/bootstrap/makefile.mk
4 +#************************************************************************
10 +# last change: $Author: $ $Date: $
12 +# The Contents of this file are made available subject
13 +# to the terms of GNU Lesser General Public License Version 2.1
16 +# GNU Lesser General Public License Version 2.1
17 +# =============================================
18 +# Copyright 2000 by Sun Microsystems, Inc.
19 +# 901 San Antonio Road, Palo Alto, CA 94303, USA
21 +# This library is free software; you can redistribute it and/or
22 +# modify it under the terms of the GNU Lesser General Public
23 +# License version 2.1, as published by the Free Software Foundation.
25 +# This library is distributed in the hope that it will be useful,
26 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
27 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
28 +# Lesser General Public License for more details.
30 +# You should have received a copy of the GNU Lesser General Public
31 +# License along with this library; if not, write to the Free Software
32 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
35 +#***********************************************************************/
40 +TARGET = cli_uno_glue
41 +ENABLE_EXCEPTIONS=TRUE
43 +.INCLUDE : settings.mk
44 +.INCLUDE : $(PRJ)$/util$/makefile.pmk
46 +.IF "$(USE_SHELL)"!="4nt"
53 +.IF "$(ENABLE_MONO)" != "YES"
55 + @echo "Mono binding disabled - skipping ..."
58 +.INCLUDE : $(BIN)$/cliureversion.mk
60 +ASSEMBLY_KEY="$(BIN)$/cliuno.snk"
62 +ASSEMBLY_ATTRIBUTES = $(MISC)$/assembly_cppuhelper.cs
66 + $(ASSEMBLY_ATTRIBUTES) \
67 + $(BIN)$/cli_cppuhelper.dll
70 + managed_bootstrap.cs \
71 + $(ASSEMBLY_ATTRIBUTES)
73 +$(ASSEMBLY_ATTRIBUTES) .PHONY: assembly.cs $(BIN)$/cliuno.snk $(BIN)$/cliureversion.mk
74 + $(GNUCOPY) -p assembly.cs $@
75 + +echo $(ECHOQUOTE) \
76 + [assembly:System.Reflection.AssemblyVersion( "$(CLI_CPPUHELPER_NEW_VERSION)" )] $(ECHOQUOTE) \
77 + $(ECHOQUOTE) [assembly:System.Reflection.AssemblyKeyFile($(ASSEMBLY_KEY))] $(ECHOQUOTE) \
80 +EXTERNAL_DIR=$(PRJ)$/..$/external/cli
82 +$(OUT)$/bin$/cli_uretypes.dll : $(EXTERNAL_DIR)$/cli_uretypes.dll
85 +$(BIN)$/cli_cppuhelper.dll : $(CSFILES) $(OUT)$/bin$/cli_uretypes.dll
86 + +$(CSC) $(CSCFLAGS) \
89 + -reference:$(OUT)$/bin$/cli_uretypes.dll \
90 + -reference:System.dll \
92 + @echo "If code has changed then provide a policy assembly and change the version!"
94 +CFLAGS += $(MONO_CFLAGS)
97 + $(SLO)$/native_glue.obj
99 +SHL1OBJS = $(SLOFILES)
106 +SHL1STDLIBS += $(MONO_LIBS)
108 +SHL1TARGET = $(TARGET)
112 +.INCLUDE : $(PRJ)$/util$/target.pmk
113 +.INCLUDE : target.mk