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