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
85LIB1TARGET=$(SLB)$/$(SHL1TARGET).lib
86LIB1OBJFILES=\
87		$(SLO)$/javaunohelper.obj				\
88        $(SLO)$/bootstrap.obj \
89        $(SLO)$/vm.obj
90
91SHL1TARGET=juhx
92
93SHL1STDLIBS= \
94		$(JVMACCESSLIB)		\
95		$(SALHELPERLIB)		\
96		$(SALLIB)		\
97		$(CPPULIB)		\
98		$(CPPUHELPERLIB)
99
100SHL1VERSIONMAP = javaunohelper.map
101
102SHL1DEPN=
103SHL1IMPLIB=i$(SHL1TARGET)
104SHL1LIBS=$(LIB1TARGET)
105SHL1DEF=$(MISC)$/$(SHL1TARGET).def
106SHL1RPATH=URELIB
107
108DEF1NAME=$(SHL1TARGET)
109
110# ------------------------------------------------------------------
111
112LIB2TARGET=$(SLB)$/$(SHL2TARGET).lib
113LIB2OBJFILES=\
114		$(SLO)$/preload.obj
115
116SHL2TARGET=juh
117
118SHL2STDLIBS= \
119		$(SALLIB)
120
121SHL2VERSIONMAP = javaunohelper.map
122
123SHL2DEPN=
124SHL2IMPLIB=i$(SHL2TARGET)
125SHL2LIBS=$(LIB2TARGET)
126SHL2DEF=$(MISC)$/$(SHL2TARGET).def
127SHL2RPATH=URELIB
128
129DEF2NAME=$(SHL2TARGET)
130
131# --- Targets ------------------------------------------------------
132
133.INCLUDE :	target.mk
134
135