update dev300-m58
[ooovba.git] / cli_ure / source / mono_bridge / makefile.mk
blob94b0e5e6497c3271b33db74573daa3dacb1bbf59
1 #*************************************************************************
3 # $RCSfile: $
5 # $Revision: $
7 # last change: $Author: $ $Date: $
9 # The Contents of this file are made available subject to the terms of
10 # either of the following licenses
12 # - GNU Lesser General Public License Version 2.1
13 # - Sun Industry Standards Source License Version 1.1
15 # Sun Microsystems Inc., October, 2000
17 # GNU Lesser General Public License Version 2.1
18 # =============================================
19 # Copyright 2000 by Sun Microsystems, Inc.
20 # 901 San Antonio Road, Palo Alto, CA 94303, USA
22 # This library is free software; you can redistribute it and/or
23 # modify it under the terms of the GNU Lesser General Public
24 # License version 2.1, as published by the Free Software Foundation.
26 # This library is distributed in the hope that it will be useful,
27 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
29 # Lesser General Public License for more details.
31 # You should have received a copy of the GNU Lesser General Public
32 # License along with this library; if not, write to the Free Software
33 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
34 # MA 02111-1307 USA
37 # Sun Industry Standards Source License Version 1.1
38 # =================================================
39 # The contents of this file are subject to the Sun Industry Standards
40 # Source License Version 1.1 (the "License"); You may not use this file
41 # except in compliance with the License. You may obtain a copy of the
42 # License at http://www.openoffice.org/license.html.
44 # Software provided under this License is provided on an "AS IS" basis,
45 # WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
46 # WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
47 # MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
48 # See the License for the specific provisions governing your rights and
49 # obligations concerning the Software.
51 # The Initial Developer of the Original Code is: Sun Microsystems, Inc.
53 # Copyright: 2000 by Sun Microsystems, Inc.
55 # All Rights Reserved.
57 # Contributor(s): _______________________________________
61 #*************************************************************************
63 PRJ=..$/..
65 PRJNAME=bridges
66 TARGET=cli_uno
67 USE_DEFFILE=TRUE
68 ENABLE_EXCEPTIONS=TRUE
70 .IF "$(ENABLE_MONO)" != "YES"
71 dummy:
72 @echo "Mono binding disabled - skipping ..."
73 .ELSE
75 # --- Settings -----------------------------------------------------
77 .INCLUDE : settings.mk
78 CFLAGS+=$(MONO_CFLAGS)
80 # --- Files --------------------------------------------------------
82 ALLTAR : \
83 $(SHL1TARGETN) \
84 $(BIN)$/cli_uno_bridge.dll
86 CSFILES= \
87 assemblyinfo.cs \
88 binaryuno.cs \
89 bridge.cs \
90 cli_environment.cs \
91 managed_proxy.cs \
92 rtl_ustring.cs \
93 typeclass.cs \
94 typedescription.cs \
95 uik.cs \
96 uno_proxy.cs
98 ASSEMBLIES_DIR=$(SOLARVERSION)$/$(INPATH)$/bin$(EXT_UPDMINOR)
99 $(BIN)$/cli_uno_bridge.dll : $(CSFILES)
100 +$(CSC) $(CSCFLAGS) \
101 -target:library \
102 -unsafe \
103 -out:$@ \
104 -keyfile:$(BIN)$/cliuno.snk \
105 -reference:$(BIN)$/cli_basetypes.dll \
106 -reference:$(BIN)$/cli_uretypes.dll \
107 $(CSFILES)
109 SLOFILES= \
110 $(SLO)$/mono_bridge.obj \
111 $(SLO)$/mono_proxy.obj \
112 $(SLO)$/uno_glue.obj
114 SHL1TARGET=$(TARGET)
116 SHL1STDLIBS= \
117 $(CPPULIB) \
118 $(SALLIB) \
119 $(SALHELPERLIB)
122 SHL1STDLIBS+=$(MONO_LIBS)
124 # SHL1VERSIONMAP=..$/bridge_exports.map
126 SHL1IMPLIB=i$(TARGET)
127 SHL1LIBS=$(SLB)$/$(TARGET).lib
128 SHL1DEF=$(MISC)$/$(SHL1TARGET).def
129 DEF1NAME=$(SHL1TARGET)
133 # --- Targets ------------------------------------------------------
135 .ENDIF
137 .INCLUDE : target.mk