263924a7ff
2005/09/05 17:42:40 rt 1.22.10.1: #i54170# Change license header: remove SISSL
98 lines
2.7 KiB
Makefile
98 lines
2.7 KiB
Makefile
#*************************************************************************
|
|
#
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
|
#
|
|
# $RCSfile: makefile.mk,v $
|
|
#
|
|
# $Revision: 1.23 $
|
|
#
|
|
# last change: $Author: rt $ $Date: 2005-09-08 17:01:19 $
|
|
#
|
|
# 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=salhelper
|
|
TARGET=salhelper
|
|
|
|
ENABLE_EXCEPTIONS=TRUE
|
|
NO_BSYMBOLIC=TRUE
|
|
USE_DEFFILE=TRUE
|
|
|
|
.IF "$(OS)" != "WNT"
|
|
UNIXVERSIONNAMES=UDK
|
|
.ENDIF # WNT
|
|
|
|
# --- Settings -----------------------------------------------------
|
|
|
|
.INCLUDE : settings.mk
|
|
|
|
.IF "$(OS)" == "WNT"
|
|
CFLAGS+= -GR # enable RTTI
|
|
.ENDIF # WNT
|
|
|
|
# --- Files --------------------------------------------------------
|
|
|
|
SLOFILES= \
|
|
$(SLO)$/condition.obj \
|
|
$(SLO)$/dynload.obj \
|
|
$(SLO)$/simplereferenceobject.obj
|
|
|
|
# SCO: the linker does know about weak symbols, but we can't ignore multiple defined symbols
|
|
.IF "$(OS)"=="SCO" || "$(OS)$(COM)"=="OS2GCC"
|
|
SLOFILES+=$(SLO)$/staticmb.obj
|
|
.ENDIF
|
|
|
|
.IF "$(GUI)" == "WNT"
|
|
SHL1TARGET= $(TARGET)$(UDK_MAJOR)$(COMID)
|
|
.ELSE
|
|
SHL1TARGET= uno_$(TARGET)$(COMID)
|
|
.ENDIF
|
|
|
|
SHL1STDLIBS=$(SALLIB)
|
|
|
|
SHL1DEPN=
|
|
SHL1IMPLIB= i$(TARGET)
|
|
SHL1LIBS= $(SLB)$/$(TARGET).lib
|
|
SHL1DEF= $(MISC)$/$(SHL1TARGET).def
|
|
|
|
DEF1NAME= $(SHL1TARGET)
|
|
|
|
.IF "$(COMNAME)"=="msci"
|
|
SHL1VERSIONMAP=msci.map
|
|
.ELIF "$(COMNAME)"=="sunpro5"
|
|
SHL1VERSIONMAP=sols.map
|
|
.ELIF "$(OS)$(CPU)$(COMNAME)"=="LINUXIgcc3"
|
|
SHL1VERSIONMAP=gcc3_linux_intel.map
|
|
.ELIF "$(OS)$(CPU)$(COMNAME)"=="FREEBSDIgcc3"
|
|
SHL1VERSIONMAP=gcc3_linux_intel.map
|
|
.ELIF "$(OS)$(CPU)$(COMNAME)"=="LINUXSgcc3"
|
|
SHL1VERSIONMAP=gcc3_linux_intel.map
|
|
.ENDIF
|
|
|
|
# --- Targets ------------------------------------------------------
|
|
|
|
.INCLUDE : target.mk
|
|
|