merge the formfield patch from ooo-build
[ooovba.git] / javaunohelper / source / makefile.mk
blob4898c6a1179b53d16f554ef8ef541ba766bb8c9a
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.18 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 PRJ=..
34 PRJNAME=javaunohelper
35 TARGET=juh
36 USE_DEFFILE=TRUE
37 ENABLE_EXCEPTIONS=TRUE
38 LIBTARGET=NO
40 # --- Settings -----------------------------------------------------
42 .INCLUDE : settings.mk
44 .IF "$(SOLAR_JAVA)"==""
45 nojava:
46 @echo "Not building javaunohelper because Java is disabled"
47 .ENDIF
49 # ------------------------------------------------------------------
51 UNOUCRDEP=$(SOLARBINDIR)$/udkapi.rdb
52 UNOUCRRDB=$(SOLARBINDIR)$/udkapi.rdb
54 UNOUCROUT=$(OUT)$/inc$/comprehensive
55 INCPRE+=$(OUT)$/inc$/comprehensive
56 NO_OFFUH=TRUE
57 CPPUMAKERFLAGS+=-C
59 UNOTYPES= \
60 com.sun.star.beans.NamedValue \
61 com.sun.star.container.XHierarchicalNameAccess \
62 com.sun.star.loader.XImplementationLoader \
63 com.sun.star.registry.XRegistryKey \
64 com.sun.star.registry.XSimpleRegistry \
65 com.sun.star.beans.XPropertySet \
66 com.sun.star.lang.DisposedException \
67 com.sun.star.lang.IllegalArgumentException \
68 com.sun.star.lang.XTypeProvider \
69 com.sun.star.lang.XServiceInfo \
70 com.sun.star.lang.XMultiServiceFactory \
71 com.sun.star.lang.XMultiComponentFactory \
72 com.sun.star.lang.XSingleServiceFactory \
73 com.sun.star.lang.XSingleComponentFactory \
74 com.sun.star.uno.TypeClass \
75 com.sun.star.uno.XWeak \
76 com.sun.star.uno.XAggregation \
77 com.sun.star.uno.XComponentContext \
78 com.sun.star.lang.XInitialization \
79 com.sun.star.lang.XComponent
81 SLOFILES= \
82 $(SLO)$/javaunohelper.obj \
83 $(SLO)$/bootstrap.obj \
84 $(SLO)$/preload.obj \
85 $(SLO)$/vm.obj
87 # ------------------------------------------------------------------
89 LIB1TARGET=$(SLB)$/$(SHL1TARGET).lib
90 LIB1OBJFILES=\
91 $(SLO)$/javaunohelper.obj \
92 $(SLO)$/bootstrap.obj \
93 $(SLO)$/vm.obj
95 SHL1TARGET=juhx
97 SHL1STDLIBS= \
98 $(JVMACCESSLIB) \
99 $(SALHELPERLIB) \
100 $(SALLIB) \
101 $(CPPULIB) \
102 $(CPPUHELPERLIB)
104 SHL1VERSIONMAP = javaunohelper.map
106 SHL1DEPN=
107 SHL1IMPLIB=i$(SHL1TARGET)
108 SHL1LIBS=$(LIB1TARGET)
109 SHL1DEF=$(MISC)$/$(SHL1TARGET).def
110 SHL1RPATH=URELIB
112 DEF1NAME=$(SHL1TARGET)
114 # ------------------------------------------------------------------
116 LIB2TARGET=$(SLB)$/$(SHL2TARGET).lib
117 LIB2OBJFILES=\
118 $(SLO)$/preload.obj
120 SHL2TARGET=juh
122 SHL2STDLIBS= \
123 $(SALLIB)
125 SHL2VERSIONMAP = javaunohelper.map
127 SHL2DEPN=
128 SHL2IMPLIB=i$(SHL2TARGET)
129 SHL2LIBS=$(LIB2TARGET)
130 SHL2DEF=$(MISC)$/$(SHL2TARGET).def
131 SHL2RPATH=URELIB
133 DEF2NAME=$(SHL2TARGET)
135 # --- Targets ------------------------------------------------------
137 .INCLUDE : target.mk