1*7871dc3eSAndrew Rist#**************************************************************
2*7871dc3eSAndrew Rist#
3*7871dc3eSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
4*7871dc3eSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
5*7871dc3eSAndrew Rist#  distributed with this work for additional information
6*7871dc3eSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
7*7871dc3eSAndrew Rist#  to you under the Apache License, Version 2.0 (the
8*7871dc3eSAndrew Rist#  "License"); you may not use this file except in compliance
9*7871dc3eSAndrew Rist#  with the License.  You may obtain a copy of the License at
10*7871dc3eSAndrew Rist#
11*7871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12*7871dc3eSAndrew Rist#
13*7871dc3eSAndrew Rist#  Unless required by applicable law or agreed to in writing,
14*7871dc3eSAndrew Rist#  software distributed under the License is distributed on an
15*7871dc3eSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*7871dc3eSAndrew Rist#  KIND, either express or implied.  See the License for the
17*7871dc3eSAndrew Rist#  specific language governing permissions and limitations
18*7871dc3eSAndrew Rist#  under the License.
19*7871dc3eSAndrew Rist#
20*7871dc3eSAndrew Rist#**************************************************************
21*7871dc3eSAndrew Rist
22*7871dc3eSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweirPRJ=..
25cdf0e10cSrcweir
26cdf0e10cSrcweirPRJNAME=javaunohelper
27cdf0e10cSrcweirTARGET=juh
28cdf0e10cSrcweirUSE_DEFFILE=TRUE
29cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE
30cdf0e10cSrcweirLIBTARGET=NO
31cdf0e10cSrcweir
32cdf0e10cSrcweir# --- Settings -----------------------------------------------------
33cdf0e10cSrcweir
34cdf0e10cSrcweir.INCLUDE :  settings.mk
35cdf0e10cSrcweir
36cdf0e10cSrcweir.IF "$(SOLAR_JAVA)"==""
37cdf0e10cSrcweirnojava:
38cdf0e10cSrcweir	@echo "Not building javaunohelper because Java is disabled"
39cdf0e10cSrcweir.ENDIF
40cdf0e10cSrcweir
41cdf0e10cSrcweir# ------------------------------------------------------------------
42cdf0e10cSrcweir
43cdf0e10cSrcweirUNOUCRDEP=$(SOLARBINDIR)$/udkapi.rdb
44cdf0e10cSrcweirUNOUCRRDB=$(SOLARBINDIR)$/udkapi.rdb
45cdf0e10cSrcweir
46cdf0e10cSrcweirUNOUCROUT=$(OUT)$/inc$/comprehensive
47cdf0e10cSrcweirINCPRE+=$(OUT)$/inc$/comprehensive
48cdf0e10cSrcweirNO_OFFUH=TRUE
49cdf0e10cSrcweirCPPUMAKERFLAGS+=-C
50cdf0e10cSrcweir
51cdf0e10cSrcweirUNOTYPES= \
52cdf0e10cSrcweir		com.sun.star.beans.NamedValue \
53cdf0e10cSrcweir		com.sun.star.container.XHierarchicalNameAccess		\
54cdf0e10cSrcweir		com.sun.star.loader.XImplementationLoader		\
55cdf0e10cSrcweir		com.sun.star.registry.XRegistryKey			\
56cdf0e10cSrcweir		com.sun.star.registry.XSimpleRegistry			\
57cdf0e10cSrcweir		com.sun.star.beans.XPropertySet				\
58cdf0e10cSrcweir 		com.sun.star.lang.DisposedException			\
59cdf0e10cSrcweir		com.sun.star.lang.IllegalArgumentException		\
60cdf0e10cSrcweir		com.sun.star.lang.XTypeProvider				\
61cdf0e10cSrcweir		com.sun.star.lang.XServiceInfo				\
62cdf0e10cSrcweir		com.sun.star.lang.XMultiServiceFactory			\
63cdf0e10cSrcweir		com.sun.star.lang.XMultiComponentFactory		\
64cdf0e10cSrcweir		com.sun.star.lang.XSingleServiceFactory			\
65cdf0e10cSrcweir		com.sun.star.lang.XSingleComponentFactory   		\
66cdf0e10cSrcweir		com.sun.star.uno.TypeClass				\
67cdf0e10cSrcweir		com.sun.star.uno.XWeak					\
68cdf0e10cSrcweir		com.sun.star.uno.XAggregation				\
69cdf0e10cSrcweir	        com.sun.star.uno.XComponentContext          		\
70cdf0e10cSrcweir		com.sun.star.lang.XInitialization           		\
71cdf0e10cSrcweir		com.sun.star.lang.XComponent
72cdf0e10cSrcweir
73cdf0e10cSrcweirSLOFILES= \
74cdf0e10cSrcweir		$(SLO)$/javaunohelper.obj				\
75cdf0e10cSrcweir		$(SLO)$/bootstrap.obj					\
76cdf0e10cSrcweir        $(SLO)$/preload.obj \
77cdf0e10cSrcweir        $(SLO)$/vm.obj
78cdf0e10cSrcweir
79cdf0e10cSrcweir# ------------------------------------------------------------------
80cdf0e10cSrcweir
815e7a3e64SPedro Giffuni.IF "$(GUI)" == "OS2"
825e7a3e64SPedro GiffuniSHL1OBJS=\
835e7a3e64SPedro Giffuni		$(SLO)$/javaunohelper.obj				\
845e7a3e64SPedro Giffuni        $(SLO)$/bootstrap.obj \
855e7a3e64SPedro Giffuni        $(SLO)$/vm.obj
865e7a3e64SPedro Giffuni.ELSE
87cdf0e10cSrcweirLIB1TARGET=$(SLB)$/$(SHL1TARGET).lib
88cdf0e10cSrcweirLIB1OBJFILES=\
89cdf0e10cSrcweir		$(SLO)$/javaunohelper.obj				\
90cdf0e10cSrcweir        $(SLO)$/bootstrap.obj \
91cdf0e10cSrcweir        $(SLO)$/vm.obj
925e7a3e64SPedro GiffuniSHL1VERSIONMAP = javaunohelper.map
935e7a3e64SPedro Giffuni.ENDIF
94cdf0e10cSrcweir
95cdf0e10cSrcweirSHL1TARGET=juhx
96cdf0e10cSrcweir
97cdf0e10cSrcweirSHL1STDLIBS= \
98cdf0e10cSrcweir		$(JVMACCESSLIB)		\
99cdf0e10cSrcweir		$(SALHELPERLIB)		\
100cdf0e10cSrcweir		$(SALLIB)		\
101cdf0e10cSrcweir		$(CPPULIB)		\
102cdf0e10cSrcweir		$(CPPUHELPERLIB)
103cdf0e10cSrcweir
104cdf0e10cSrcweirSHL1DEPN=
105cdf0e10cSrcweirSHL1IMPLIB=i$(SHL1TARGET)
106cdf0e10cSrcweirSHL1LIBS=$(LIB1TARGET)
107cdf0e10cSrcweirSHL1DEF=$(MISC)$/$(SHL1TARGET).def
108cdf0e10cSrcweirSHL1RPATH=URELIB
109cdf0e10cSrcweir
110cdf0e10cSrcweirDEF1NAME=$(SHL1TARGET)
111cdf0e10cSrcweir
112cdf0e10cSrcweir# ------------------------------------------------------------------
113cdf0e10cSrcweir
1145e7a3e64SPedro Giffuni.IF "$(GUI)" == "OS2"
1155e7a3e64SPedro GiffuniSHL2OBJS=\
1165e7a3e64SPedro Giffuni		$(SLO)$/preload.obj
1175e7a3e64SPedro Giffuni.ELSE
118cdf0e10cSrcweirLIB2TARGET=$(SLB)$/$(SHL2TARGET).lib
119cdf0e10cSrcweirLIB2OBJFILES=\
120cdf0e10cSrcweir		$(SLO)$/preload.obj
1215e7a3e64SPedro GiffuniSHL2VERSIONMAP = javaunohelper.map
1225e7a3e64SPedro Giffuni.ENDIF
123cdf0e10cSrcweir
124cdf0e10cSrcweirSHL2TARGET=juh
125cdf0e10cSrcweir
126cdf0e10cSrcweirSHL2STDLIBS= \
127cdf0e10cSrcweir		$(SALLIB)
128cdf0e10cSrcweir
129cdf0e10cSrcweir
130cdf0e10cSrcweirSHL2DEPN=
131cdf0e10cSrcweirSHL2IMPLIB=i$(SHL2TARGET)
132cdf0e10cSrcweirSHL2LIBS=$(LIB2TARGET)
133cdf0e10cSrcweirSHL2DEF=$(MISC)$/$(SHL2TARGET).def
134cdf0e10cSrcweirSHL2RPATH=URELIB
135cdf0e10cSrcweir
136cdf0e10cSrcweirDEF2NAME=$(SHL2TARGET)
137cdf0e10cSrcweir
138cdf0e10cSrcweir# --- Targets ------------------------------------------------------
139cdf0e10cSrcweir
140cdf0e10cSrcweir.INCLUDE :	target.mk
141cdf0e10cSrcweir
142