1cdf0e10cSrcweir#*************************************************************************
2cdf0e10cSrcweir#
3cdf0e10cSrcweir# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4cdf0e10cSrcweir#
5cdf0e10cSrcweir# Copyright 2000, 2010 Oracle and/or its affiliates.
6cdf0e10cSrcweir#
7cdf0e10cSrcweir# OpenOffice.org - a multi-platform office productivity suite
8cdf0e10cSrcweir#
9cdf0e10cSrcweir# This file is part of OpenOffice.org.
10cdf0e10cSrcweir#
11cdf0e10cSrcweir# OpenOffice.org is free software: you can redistribute it and/or modify
12cdf0e10cSrcweir# it under the terms of the GNU Lesser General Public License version 3
13cdf0e10cSrcweir# only, as published by the Free Software Foundation.
14cdf0e10cSrcweir#
15cdf0e10cSrcweir# OpenOffice.org is distributed in the hope that it will be useful,
16cdf0e10cSrcweir# but WITHOUT ANY WARRANTY; without even the implied warranty of
17cdf0e10cSrcweir# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18cdf0e10cSrcweir# GNU Lesser General Public License version 3 for more details
19cdf0e10cSrcweir# (a copy is included in the LICENSE file that accompanied this code).
20cdf0e10cSrcweir#
21cdf0e10cSrcweir# You should have received a copy of the GNU Lesser General Public License
22cdf0e10cSrcweir# version 3 along with OpenOffice.org.  If not, see
23cdf0e10cSrcweir# <http://www.openoffice.org/license.html>
24cdf0e10cSrcweir# for a copy of the LGPLv3 License.
25cdf0e10cSrcweir#
26cdf0e10cSrcweir#*************************************************************************
27cdf0e10cSrcweir
28cdf0e10cSrcweirPRJ=..
29cdf0e10cSrcweir
30cdf0e10cSrcweirPRJNAME=javaunohelper
31cdf0e10cSrcweirTARGET=juh
32cdf0e10cSrcweirUSE_DEFFILE=TRUE
33cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE
34cdf0e10cSrcweirLIBTARGET=NO
35cdf0e10cSrcweir
36cdf0e10cSrcweir# --- Settings -----------------------------------------------------
37cdf0e10cSrcweir
38cdf0e10cSrcweir.INCLUDE :  settings.mk
39cdf0e10cSrcweir
40cdf0e10cSrcweir.IF "$(SOLAR_JAVA)"==""
41cdf0e10cSrcweirnojava:
42cdf0e10cSrcweir	@echo "Not building javaunohelper because Java is disabled"
43cdf0e10cSrcweir.ENDIF
44cdf0e10cSrcweir
45cdf0e10cSrcweir# ------------------------------------------------------------------
46cdf0e10cSrcweir
47cdf0e10cSrcweirUNOUCRDEP=$(SOLARBINDIR)$/udkapi.rdb
48cdf0e10cSrcweirUNOUCRRDB=$(SOLARBINDIR)$/udkapi.rdb
49cdf0e10cSrcweir
50cdf0e10cSrcweirUNOUCROUT=$(OUT)$/inc$/comprehensive
51cdf0e10cSrcweirINCPRE+=$(OUT)$/inc$/comprehensive
52cdf0e10cSrcweirNO_OFFUH=TRUE
53cdf0e10cSrcweirCPPUMAKERFLAGS+=-C
54cdf0e10cSrcweir
55cdf0e10cSrcweirUNOTYPES= \
56cdf0e10cSrcweir		com.sun.star.beans.NamedValue \
57cdf0e10cSrcweir		com.sun.star.container.XHierarchicalNameAccess		\
58cdf0e10cSrcweir		com.sun.star.loader.XImplementationLoader		\
59cdf0e10cSrcweir		com.sun.star.registry.XRegistryKey			\
60cdf0e10cSrcweir		com.sun.star.registry.XSimpleRegistry			\
61cdf0e10cSrcweir		com.sun.star.beans.XPropertySet				\
62cdf0e10cSrcweir 		com.sun.star.lang.DisposedException			\
63cdf0e10cSrcweir		com.sun.star.lang.IllegalArgumentException		\
64cdf0e10cSrcweir		com.sun.star.lang.XTypeProvider				\
65cdf0e10cSrcweir		com.sun.star.lang.XServiceInfo				\
66cdf0e10cSrcweir		com.sun.star.lang.XMultiServiceFactory			\
67cdf0e10cSrcweir		com.sun.star.lang.XMultiComponentFactory		\
68cdf0e10cSrcweir		com.sun.star.lang.XSingleServiceFactory			\
69cdf0e10cSrcweir		com.sun.star.lang.XSingleComponentFactory   		\
70cdf0e10cSrcweir		com.sun.star.uno.TypeClass				\
71cdf0e10cSrcweir		com.sun.star.uno.XWeak					\
72cdf0e10cSrcweir		com.sun.star.uno.XAggregation				\
73cdf0e10cSrcweir	        com.sun.star.uno.XComponentContext          		\
74cdf0e10cSrcweir		com.sun.star.lang.XInitialization           		\
75cdf0e10cSrcweir		com.sun.star.lang.XComponent
76cdf0e10cSrcweir
77cdf0e10cSrcweirSLOFILES= \
78cdf0e10cSrcweir		$(SLO)$/javaunohelper.obj				\
79cdf0e10cSrcweir		$(SLO)$/bootstrap.obj					\
80cdf0e10cSrcweir        $(SLO)$/preload.obj \
81cdf0e10cSrcweir        $(SLO)$/vm.obj
82cdf0e10cSrcweir
83cdf0e10cSrcweir# ------------------------------------------------------------------
84cdf0e10cSrcweir
85*5e7a3e64SPedro Giffuni.IF "$(GUI)" == "OS2"
86*5e7a3e64SPedro GiffuniSHL1OBJS=\
87*5e7a3e64SPedro Giffuni		$(SLO)$/javaunohelper.obj				\
88*5e7a3e64SPedro Giffuni        $(SLO)$/bootstrap.obj \
89*5e7a3e64SPedro Giffuni        $(SLO)$/vm.obj
90*5e7a3e64SPedro Giffuni.ELSE
91cdf0e10cSrcweirLIB1TARGET=$(SLB)$/$(SHL1TARGET).lib
92cdf0e10cSrcweirLIB1OBJFILES=\
93cdf0e10cSrcweir		$(SLO)$/javaunohelper.obj				\
94cdf0e10cSrcweir        $(SLO)$/bootstrap.obj \
95cdf0e10cSrcweir        $(SLO)$/vm.obj
96*5e7a3e64SPedro GiffuniSHL1VERSIONMAP = javaunohelper.map
97*5e7a3e64SPedro Giffuni.ENDIF
98cdf0e10cSrcweir
99cdf0e10cSrcweirSHL1TARGET=juhx
100cdf0e10cSrcweir
101cdf0e10cSrcweirSHL1STDLIBS= \
102cdf0e10cSrcweir		$(JVMACCESSLIB)		\
103cdf0e10cSrcweir		$(SALHELPERLIB)		\
104cdf0e10cSrcweir		$(SALLIB)		\
105cdf0e10cSrcweir		$(CPPULIB)		\
106cdf0e10cSrcweir		$(CPPUHELPERLIB)
107cdf0e10cSrcweir
108cdf0e10cSrcweirSHL1DEPN=
109cdf0e10cSrcweirSHL1IMPLIB=i$(SHL1TARGET)
110cdf0e10cSrcweirSHL1LIBS=$(LIB1TARGET)
111cdf0e10cSrcweirSHL1DEF=$(MISC)$/$(SHL1TARGET).def
112cdf0e10cSrcweirSHL1RPATH=URELIB
113cdf0e10cSrcweir
114cdf0e10cSrcweirDEF1NAME=$(SHL1TARGET)
115cdf0e10cSrcweir
116cdf0e10cSrcweir# ------------------------------------------------------------------
117cdf0e10cSrcweir
118*5e7a3e64SPedro Giffuni.IF "$(GUI)" == "OS2"
119*5e7a3e64SPedro GiffuniSHL2OBJS=\
120*5e7a3e64SPedro Giffuni		$(SLO)$/preload.obj
121*5e7a3e64SPedro Giffuni.ELSE
122cdf0e10cSrcweirLIB2TARGET=$(SLB)$/$(SHL2TARGET).lib
123cdf0e10cSrcweirLIB2OBJFILES=\
124cdf0e10cSrcweir		$(SLO)$/preload.obj
125*5e7a3e64SPedro GiffuniSHL2VERSIONMAP = javaunohelper.map
126*5e7a3e64SPedro Giffuni.ENDIF
127cdf0e10cSrcweir
128cdf0e10cSrcweirSHL2TARGET=juh
129cdf0e10cSrcweir
130cdf0e10cSrcweirSHL2STDLIBS= \
131cdf0e10cSrcweir		$(SALLIB)
132cdf0e10cSrcweir
133cdf0e10cSrcweir
134cdf0e10cSrcweirSHL2DEPN=
135cdf0e10cSrcweirSHL2IMPLIB=i$(SHL2TARGET)
136cdf0e10cSrcweirSHL2LIBS=$(LIB2TARGET)
137cdf0e10cSrcweirSHL2DEF=$(MISC)$/$(SHL2TARGET).def
138cdf0e10cSrcweirSHL2RPATH=URELIB
139cdf0e10cSrcweir
140cdf0e10cSrcweirDEF2NAME=$(SHL2TARGET)
141cdf0e10cSrcweir
142cdf0e10cSrcweir# --- Targets ------------------------------------------------------
143cdf0e10cSrcweir
144cdf0e10cSrcweir.INCLUDE :	target.mk
145cdf0e10cSrcweir
146