1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23 24PRJ=.. 25 26PRJNAME=javaunohelper 27TARGET=juh 28USE_DEFFILE=TRUE 29ENABLE_EXCEPTIONS=TRUE 30LIBTARGET=NO 31 32# --- Settings ----------------------------------------------------- 33 34.INCLUDE : settings.mk 35 36.IF "$(SOLAR_JAVA)"=="" 37nojava: 38 @echo "Not building javaunohelper because Java is disabled" 39.ENDIF 40 41# ------------------------------------------------------------------ 42 43UNOUCRDEP=$(SOLARBINDIR)$/udkapi.rdb 44UNOUCRRDB=$(SOLARBINDIR)$/udkapi.rdb 45 46UNOUCROUT=$(OUT)$/inc$/comprehensive 47INCPRE+=$(OUT)$/inc$/comprehensive 48NO_OFFUH=TRUE 49CPPUMAKERFLAGS+=-C 50 51UNOTYPES= \ 52 com.sun.star.beans.NamedValue \ 53 com.sun.star.container.XHierarchicalNameAccess \ 54 com.sun.star.loader.XImplementationLoader \ 55 com.sun.star.registry.XRegistryKey \ 56 com.sun.star.registry.XSimpleRegistry \ 57 com.sun.star.beans.XPropertySet \ 58 com.sun.star.lang.DisposedException \ 59 com.sun.star.lang.IllegalArgumentException \ 60 com.sun.star.lang.XTypeProvider \ 61 com.sun.star.lang.XServiceInfo \ 62 com.sun.star.lang.XMultiServiceFactory \ 63 com.sun.star.lang.XMultiComponentFactory \ 64 com.sun.star.lang.XSingleServiceFactory \ 65 com.sun.star.lang.XSingleComponentFactory \ 66 com.sun.star.uno.TypeClass \ 67 com.sun.star.uno.XWeak \ 68 com.sun.star.uno.XAggregation \ 69 com.sun.star.uno.XComponentContext \ 70 com.sun.star.lang.XInitialization \ 71 com.sun.star.lang.XComponent 72 73SLOFILES= \ 74 $(SLO)$/javaunohelper.obj \ 75 $(SLO)$/bootstrap.obj \ 76 $(SLO)$/preload.obj \ 77 $(SLO)$/vm.obj 78 79# ------------------------------------------------------------------ 80 81.IF "$(GUI)" == "OS2" 82SHL1OBJS=\ 83 $(SLO)$/javaunohelper.obj \ 84 $(SLO)$/bootstrap.obj \ 85 $(SLO)$/vm.obj 86.ELSE 87LIB1TARGET=$(SLB)$/$(SHL1TARGET).lib 88LIB1OBJFILES=\ 89 $(SLO)$/javaunohelper.obj \ 90 $(SLO)$/bootstrap.obj \ 91 $(SLO)$/vm.obj 92SHL1VERSIONMAP = javaunohelper.map 93.ENDIF 94 95SHL1TARGET=juhx 96 97SHL1STDLIBS= \ 98 $(JVMACCESSLIB) \ 99 $(SALHELPERLIB) \ 100 $(SALLIB) \ 101 $(CPPULIB) \ 102 $(CPPUHELPERLIB) 103 104SHL1DEPN= 105SHL1IMPLIB=i$(SHL1TARGET) 106SHL1LIBS=$(LIB1TARGET) 107SHL1DEF=$(MISC)$/$(SHL1TARGET).def 108SHL1RPATH=URELIB 109 110DEF1NAME=$(SHL1TARGET) 111 112# ------------------------------------------------------------------ 113 114.IF "$(GUI)" == "OS2" 115SHL2OBJS=\ 116 $(SLO)$/preload.obj 117.ELSE 118LIB2TARGET=$(SLB)$/$(SHL2TARGET).lib 119LIB2OBJFILES=\ 120 $(SLO)$/preload.obj 121SHL2VERSIONMAP = javaunohelper.map 122.ENDIF 123 124SHL2TARGET=juh 125 126SHL2STDLIBS= \ 127 $(SALLIB) 128 129 130SHL2DEPN= 131SHL2IMPLIB=i$(SHL2TARGET) 132SHL2LIBS=$(LIB2TARGET) 133SHL2DEF=$(MISC)$/$(SHL2TARGET).def 134SHL2RPATH=URELIB 135 136DEF2NAME=$(SHL2TARGET) 137 138# --- Targets ------------------------------------------------------ 139 140.INCLUDE : target.mk 141 142