2000-09-18 09:29:57 -05:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
2008-04-11 05:06:41 -05:00
|
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
#
|
2010-02-12 08:01:35 -06:00
|
|
|
# Copyright 2000, 2010 Oracle and/or its affiliates.
|
2000-09-18 09:29:57 -05:00
|
|
|
#
|
2008-04-11 05:06:41 -05:00
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
2000-09-18 09:29:57 -05:00
|
|
|
#
|
2008-04-11 05:06:41 -05:00
|
|
|
# This file is part of OpenOffice.org.
|
2000-09-18 09:29:57 -05:00
|
|
|
#
|
2008-04-11 05:06:41 -05:00
|
|
|
# OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
# only, as published by the Free Software Foundation.
|
2000-09-18 09:29:57 -05:00
|
|
|
#
|
2008-04-11 05:06:41 -05:00
|
|
|
# OpenOffice.org 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 version 3 for more details
|
|
|
|
# (a copy is included in the LICENSE file that accompanied this code).
|
2000-09-18 09:29:57 -05:00
|
|
|
#
|
2008-04-11 05:06:41 -05:00
|
|
|
# You should have received a copy of the GNU Lesser General Public License
|
|
|
|
# version 3 along with OpenOffice.org. If not, see
|
|
|
|
# <http://www.openoffice.org/license.html>
|
|
|
|
# for a copy of the LGPLv3 License.
|
2000-09-18 09:29:57 -05:00
|
|
|
#
|
|
|
|
#*************************************************************************
|
|
|
|
PRJ=..
|
|
|
|
|
|
|
|
PRJNAME=cppu
|
|
|
|
TARGET=cppu
|
|
|
|
USE_DEFFILE=TRUE
|
|
|
|
ENABLE_EXCEPTIONS=TRUE
|
|
|
|
NO_BSYMBOLIC=TRUE
|
|
|
|
|
2007-05-09 07:51:07 -05:00
|
|
|
.IF "$(OS)" != "WNT"
|
2001-05-04 07:40:00 -05:00
|
|
|
UNIXVERSIONNAMES=UDK
|
2007-05-09 07:51:07 -05:00
|
|
|
.ENDIF
|
|
|
|
|
2001-05-04 07:40:00 -05:00
|
|
|
|
2000-09-18 09:29:57 -05:00
|
|
|
# --- Settings -----------------------------------------------------
|
2001-11-09 02:14:31 -06:00
|
|
|
|
2000-09-18 09:29:57 -05:00
|
|
|
.INCLUDE : settings.mk
|
2007-05-09 07:51:07 -05:00
|
|
|
.INCLUDE : ../source/helper/purpenv/export.mk
|
2000-09-18 09:29:57 -05:00
|
|
|
|
|
|
|
# --- Files --------------------------------------------------------
|
|
|
|
|
|
|
|
SHL1LIBS= \
|
2001-11-09 02:14:31 -06:00
|
|
|
$(SLB)$/cppu_typelib.lib \
|
|
|
|
$(SLB)$/cppu_uno.lib \
|
2002-08-19 01:18:50 -05:00
|
|
|
$(SLB)$/cppu_threadpool.lib \
|
|
|
|
$(SLB)$/cppu_cppu.lib
|
2000-09-18 09:29:57 -05:00
|
|
|
|
2011-04-16 02:08:29 -05:00
|
|
|
.IF "$(GUI)" == "WNT"
|
2007-05-09 07:51:07 -05:00
|
|
|
SHL1TARGET=$(TARGET)$(UDK_MAJOR)
|
2004-11-03 01:50:07 -06:00
|
|
|
.ELSE
|
|
|
|
SHL1TARGET= uno_$(TARGET)
|
|
|
|
.ENDIF
|
2000-09-18 09:29:57 -05:00
|
|
|
|
2009-04-27 06:24:10 -05:00
|
|
|
SHL1STDLIBS = $(SALLIB)
|
2000-09-18 09:29:57 -05:00
|
|
|
|
|
|
|
SHL1DEPN=
|
2001-11-09 02:14:31 -06:00
|
|
|
SHL1IMPLIB=i$(TARGET)
|
2011-02-15 06:15:27 -06:00
|
|
|
.IF "$(OS)"!="FREEBSD" && "$(OS)"!="NETBSD" && "$(OS)"!="OPENBSD" && "$(OS)"!="DRAGONFLY"
|
2001-11-09 02:14:31 -06:00
|
|
|
SHL1DEF=$(MISC)$/$(SHL1TARGET).def
|
2002-03-11 14:15:38 -06:00
|
|
|
.ENDIF
|
2000-09-18 09:29:57 -05:00
|
|
|
|
2001-11-09 02:14:31 -06:00
|
|
|
SHL1VERSIONMAP=$(TARGET).map
|
2007-10-15 06:21:23 -05:00
|
|
|
SHL1RPATH=URELIB
|
2001-05-04 07:40:00 -05:00
|
|
|
|
2001-11-09 02:14:31 -06:00
|
|
|
DEF1NAME=$(SHL1TARGET)
|
2000-09-18 09:29:57 -05:00
|
|
|
|
2007-05-09 07:51:07 -05:00
|
|
|
|
|
|
|
SHL2TARGET := $(NAMEpurpenv_helper)
|
|
|
|
DEF2NAME := $(SHL2TARGET)
|
2008-07-22 11:32:57 -05:00
|
|
|
.IF "$(GUI)$(COM)"=="WNTGCC"
|
2007-07-17 01:26:47 -05:00
|
|
|
SHL2VERSIONMAP:=uno_purpenvhelper$(COMID).map
|
2011-01-16 14:13:31 -06:00
|
|
|
.ELIF "$(COMNAME)"=="mscx"
|
|
|
|
SHL2VERSIONMAP:=$(SHL2TARGET)X.map
|
2007-07-17 01:26:47 -05:00
|
|
|
.ELSE
|
2007-05-09 07:51:07 -05:00
|
|
|
SHL2VERSIONMAP:=$(SHL2TARGET).map
|
2007-07-17 01:26:47 -05:00
|
|
|
.ENDIF # "$(GUI)$(COM)"=="WNTGCC"
|
2007-05-09 07:51:07 -05:00
|
|
|
SHL2DEF := $(MISC)$/$(SHL2TARGET).def
|
|
|
|
SHL2IMPLIB := i$(SHL2TARGET)
|
2009-04-27 06:24:10 -05:00
|
|
|
SHL2STDLIBS := $(CPPULIB) $(SALLIB)
|
2007-10-15 06:21:23 -05:00
|
|
|
SHL2RPATH := URELIB
|
2007-05-09 07:51:07 -05:00
|
|
|
SHL2OBJS := \
|
|
|
|
$(SLO)$/helper_purpenv_Environment.obj \
|
|
|
|
$(SLO)$/helper_purpenv_Mapping.obj \
|
|
|
|
$(SLO)$/helper_purpenv_Proxy.obj
|
|
|
|
|
|
|
|
|
2000-09-18 09:29:57 -05:00
|
|
|
# --- Targets ------------------------------------------------------
|
|
|
|
|
2007-05-09 07:51:07 -05:00
|
|
|
.PHONY: ALLTAR
|
|
|
|
|
|
|
|
|
|
|
|
ALLTAR: $(SHL2TARGETN)
|
|
|
|
$(MAKE) $(MAKECMDGOALS) -f extra.mk
|
|
|
|
|
|
|
|
|
2000-09-18 09:29:57 -05:00
|
|
|
.INCLUDE : target.mk
|
|
|
|
|
2007-05-09 07:51:07 -05:00
|
|
|
|
|
|
|
$(SHL2TARGETN): $(SHL1TARGETN)
|
2007-07-18 06:34:25 -05:00
|
|
|
|