office-gobmx/stoc/source/javavm/makefile.mk
Vladimir Glazounov a1b9c9d416 INTEGRATION: CWS sb71 (1.21.2); FILE MERGED
2007/06/14 15:07:08 sb 1.21.2.1: #i75466# Adapted to new APP|SHLnRPATH.
2007-10-15 11:01:39 +00:00

103 lines
2.8 KiB
Makefile

#*************************************************************************
#
# OpenOffice.org - a multi-platform office productivity suite
#
# $RCSfile: makefile.mk,v $
#
# $Revision: 1.22 $
#
# last change: $Author: vg $ $Date: 2007-10-15 12:01:39 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
#
#
# GNU Lesser General Public License Version 2.1
# =============================================
# Copyright 2005 by Sun Microsystems, Inc.
# 901 San Antonio Road, Palo Alto, CA 94303, USA
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License version 2.1, as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA
#
#*************************************************************************
PRJ=..$/..
PRJNAME=stoc
TARGET = javavm.uno
ENABLE_EXCEPTIONS=TRUE
COMP1TYPELIST = jen
.IF "$(SOLAR_JAVA)" == "TRUE"
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
DLLPRE =
# --- Files --------------------------------------------------------
# Kollision zwischen bool.h aus Java und bool.h aus der STL.
# Das Problem tritt fuer alle Plattformen auf, aber anscheinend stolpert nur der
# GCC darueber
.IF "$(COM)" == "GCC"
CDEFS += -D__SGI_STL_BOOL_H
.ENDIF
.INCLUDE : ..$/cppumaker.mk
SLOFILES= \
$(SLO)$/javavm.obj \
$(SLO)$/jvmargs.obj \
$(SLO)$/interact.obj
.IF "$(COM)"=="C52"
# Code generation bug in conjunction with exception handling
# You can find a codesample in javavm.cxx in a comment
# at the top of the file
NOOPTFILES= \
$(SLO)$/javavm.obj
.ENDIF # "$(COM)"=="C52"
SHL1TARGET= $(TARGET)
SHL1VERSIONMAP = jen.map
SHL1STDLIBS= \
$(CPPUHELPERLIB) \
$(CPPULIB) \
$(SALLIB) \
$(JVMACCESSLIB) \
$(SALHELPERLIB) \
$(JVMFWKLIB)
.IF "$(GUI)"=="WNT"
SHL1STDLIBS += $(ADVAPI32LIB)
.ENDIF
SHL1DEPN=
SHL1IMPLIB= i$(TARGET)
SHL1LIBS= $(SLB)$/$(TARGET).lib
SHL1DEF= $(MISC)$/$(SHL1TARGET).def
SHL1RPATH= URELIB
DEF1NAME= $(SHL1TARGET)
.ELSE # SOLAR_JAVA
all:
@echo Nothing to do: SOLAR_JAVA not set
.ENDIF
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk