1 #************************************************************************
7 # last change: $Author: $ $Date: $
9 # The Contents of this file are made available subject
10 # to the terms of GNU Lesser General Public License Version 2.1
13 # GNU Lesser General Public License Version 2.1
14 # =============================================
15 # Copyright 2000 by Sun Microsystems, Inc.
16 # 901 San Antonio Road, Palo Alto, CA 94303, USA
18 # This library is free software; you can redistribute it and/or
19 # modify it under the terms of the GNU Lesser General Public
20 # License version 2.1, as published by the Free Software Foundation.
22 # This library is distributed in the hope that it will be useful,
23 # but WITHOUT ANY WARRANTY; without even the implied warranty of
24 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
25 # Lesser General Public License for more details.
27 # You should have received a copy of the GNU Lesser General Public
28 # License along with this library; if not, write to the Free Software
29 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
32 #***********************************************************************/
38 ENABLE_EXCEPTIONS
=TRUE
40 .INCLUDE
: settings.mk
41 .INCLUDE
: $(PRJ
)$/util
$/makefile.pmk
43 .IF
"$(USE_SHELL)"!="4nt"
50 .IF
"$(ENABLE_MONO)" != "YES"
52 @echo
"Mono binding disabled - skipping ..."
55 .INCLUDE
: $(BIN
)$/cliureversion.mk
57 ASSEMBLY_KEY
="$(BIN)$/cliuno.snk"
59 ASSEMBLY_ATTRIBUTES
= $(MISC
)$/assembly_cppuhelper.cs
61 POLICY_ASSEMBLY_FILE
=$(BIN
)$/$(CLI_CPPUHELPER_POLICY_ASSEMBLY
).dll
65 $(ASSEMBLY_ATTRIBUTES
) \
66 $(BIN
)$/cli_cppuhelper.dll \
67 $(BIN
)$/cli_cppuhelper.config \
68 $(POLICY_ASSEMBLY_FILE
)
71 managed_bootstrap.cs \
72 $(ASSEMBLY_ATTRIBUTES
)
74 $(ASSEMBLY_ATTRIBUTES
) .PHONY
: assembly.cs
$(BIN
)$/cliuno.snk
$(BIN
)$/cliureversion.mk
75 $(GNUCOPY
) -p assembly.cs
$@
77 [assembly
:System.Reflection.AssemblyVersion
( "$(CLI_CPPUHELPER_NEW_VERSION)" )] $(ECHOQUOTE
) \
78 $(ECHOQUOTE
) [assembly
:System.Reflection.AssemblyKeyFile
($(ASSEMBLY_KEY
))] $(ECHOQUOTE
) \
81 EXTERNAL_DIR
=$(PRJ
)$/..
$/external
/cli
83 .IF
"$(ENABLE_MONO_CLIMAKER)" != "YES"
85 $(OUT
)$/bin
$/cli_uretypes.dll
: $(EXTERNAL_DIR
)$/cli_uretypes.dll
$(EXTERNAL_DIR
)$/cli_uretypes.config
$(EXTERNAL_DIR
)$/policy
.1.0.cli_uretypes.dll
86 +$(COPY
) $?
$(OUT
)$/bin
$/
90 $(BIN
)$/cli_cppuhelper.dll
: $(CSFILES
) $(OUT
)$/bin
$/cli_uretypes.dll
94 -keyfile
:$(BIN
)$/cliuno.snk \
95 -reference
:$(OUT
)$/bin
$/cli_uretypes.dll \
96 -reference
:System.dll \
98 @echo
"If code has changed then provide a policy assembly and change the version!"
100 CFLAGS
+= $(MONO_CFLAGS
)
103 $(SLO
)$/native_glue.obj
105 SHL1OBJS
= $(SLOFILES
)
112 SHL1STDLIBS
+= $(MONO_LIBS
)
114 SHL1TARGET
= $(TARGET
)
116 $(POLICY_ASSEMBLY_FILE
) : $(BIN
)$/cli_cppuhelper.config
117 $(WRAPCMD
) $(AL
) -out
:$@ \
118 -version
:$(CLI_CPPUHELPER_POLICY_VERSION
) \
119 -keyfile
:$(BIN
)$/cliuno.snk \
120 -link
:cli_cppuhelper.config
,$(BIN
)$/cli_cppuhelper.config
122 #Create the config file that is used with the policy assembly
123 $(BIN
)$/cli_cppuhelper.config
: ..
/native
/cli_cppuhelper_config
$(BIN
)$/cliureversion.mk
124 $(PERL
) $(SOLARENV
)$/bin
$/clipatchconfig.pl \
129 .INCLUDE
: $(PRJ
)$/util
$/target.pmk