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 = .. 25PRJNAME = jvmfwk 26FRAMEWORKLIB=jvmfwk 27TARGET = $(FRAMEWORKLIB) 28ENABLE_EXCEPTIONS = TRUE 29 30.IF "$(OS)" != "WNT" && "$(GUI)"!="OS2" 31UNIXVERSIONNAMES = UDK 32.ENDIF # WNT 33 34.INCLUDE: settings.mk 35 36.IF "$(SYSTEM_LIBXML)" == "YES" 37CFLAGS+=-DSYSTEM_LIBXML $(LIBXML_CFLAGS) 38.ENDIF 39 40UNOUCROUT = $(OUT)$/inc 41 42SLOFILES = \ 43 $(SLO)$/framework.obj \ 44 $(SLO)$/libxmlutil.obj \ 45 $(SLO)$/fwkutil.obj \ 46 $(SLO)$/elements.obj \ 47 $(SLO)$/fwkbase.obj 48 49 50#LIB1TARGET=$(SLB)$/$(FRAMEWORKLIB).lib 51 52.IF "$(UNIXVERSIONNAMES)" == "" 53SHL1TARGET = $(FRAMEWORKLIB)$(UDK_MAJOR) 54.ELSE # UNIXVERSIONNAMES 55SHL1TARGET = $(FRAMEWORKLIB) 56.ENDIF # UNIXVERSIONNAMES 57 58#SHL1TARGET=$(FRAMEWORKLIB) 59SHL1DEPN= 60SHL1IMPLIB = i$(FRAMEWORKLIB) 61SHL1LIBS = $(SLB)$/$(TARGET).lib 62SHL1STDLIBS = $(CPPUHELPERLIB) $(SALLIB) $(LIBXML2LIB) 63SHL1RPATH = URELIB 64 65.IF "$(OS)" == "WNT" 66SHL1STDLIBS += $(ADVAPI32LIB) 67.ENDIF # WNT 68 69SHL1VERSIONMAP = framework.map 70SHL1DEF=$(MISC)$/$(SHL1TARGET).def 71DEF1NAME = $(SHL1TARGET) 72 73.IF "$(GUI)"=="UNX" 74RCFILE=$(BIN)$/jvmfwk3rc 75.ELIF "$(GUI)"=="WNT" || "$(GUI)"=="OS2" 76RCFILE=$(BIN)$/jvmfwk3.ini 77.END 78 79 80.INCLUDE: target.mk 81$(RCFILE): jvmfwk3rc 82 -$(COPY) $< $@ 83 84ALLTAR: \ 85 $(RCFILE) 86 87