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