2000-09-18 10:18:56 -05:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
2005-09-08 13:43:19 -05:00
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
2000-09-18 10:18:56 -05:00
|
|
|
#
|
2005-09-08 13:43:19 -05:00
|
|
|
# $RCSfile: makefile.mk,v $
|
2000-09-18 10:18:56 -05:00
|
|
|
#
|
2008-02-04 05:58:39 -06:00
|
|
|
# $Revision: 1.26 $
|
2000-09-18 10:18:56 -05:00
|
|
|
#
|
2008-02-04 05:58:39 -06:00
|
|
|
# last change: $Author: ihi $ $Date: 2008-02-04 12:58:39 $
|
2000-09-18 10:18:56 -05:00
|
|
|
#
|
2005-09-08 13:43:19 -05:00
|
|
|
# The Contents of this file are made available subject to
|
|
|
|
# the terms of GNU Lesser General Public License Version 2.1.
|
2000-09-18 10:18:56 -05:00
|
|
|
#
|
|
|
|
#
|
2005-09-08 13:43:19 -05:00
|
|
|
# GNU Lesser General Public License Version 2.1
|
|
|
|
# =============================================
|
|
|
|
# Copyright 2005 by Sun Microsystems, Inc.
|
|
|
|
# 901 San Antonio Road, Palo Alto, CA 94303, USA
|
2000-09-18 10:18:56 -05:00
|
|
|
#
|
2005-09-08 13:43:19 -05:00
|
|
|
# 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.
|
2000-09-18 10:18:56 -05:00
|
|
|
#
|
2005-09-08 13:43:19 -05:00
|
|
|
# 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.
|
2000-09-18 10:18:56 -05:00
|
|
|
#
|
2005-09-08 13:43:19 -05:00
|
|
|
# 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
|
2000-09-18 10:18:56 -05:00
|
|
|
#
|
|
|
|
#*************************************************************************
|
|
|
|
PRJ=..$/..
|
|
|
|
|
|
|
|
# -----------------------------------------------------------------
|
|
|
|
|
|
|
|
PRJNAME=extensions
|
2003-04-23 11:11:14 -05:00
|
|
|
TARGET=oleautobridge.uno
|
2007-03-26 06:48:27 -05:00
|
|
|
TARGET2=oleautobridge2.uno
|
2000-09-18 10:18:56 -05:00
|
|
|
|
2004-03-17 06:07:15 -06:00
|
|
|
ENABLE_EXCEPTIONS=TRUE
|
|
|
|
|
2000-09-18 10:18:56 -05:00
|
|
|
.INCLUDE : $(PRJ)$/util$/makefile.pmk
|
|
|
|
|
|
|
|
LIBTARGET=NO
|
|
|
|
USE_DEFFILE=YES
|
|
|
|
|
|
|
|
USE_DEFFILE=TRUE
|
|
|
|
|
2008-02-04 05:58:39 -06:00
|
|
|
INCPRE+= $(foreach,i,$(ATL_INCLUDE) -I$(i))
|
2000-09-18 10:18:56 -05:00
|
|
|
|
2005-06-09 08:55:26 -05:00
|
|
|
# --- Settings -----------------------------------------------------
|
2000-09-18 10:18:56 -05:00
|
|
|
|
2007-06-05 04:55:30 -05:00
|
|
|
.IF "$(GUI)" == "WNT" && "$(DISABLE_ATL)"==""
|
2000-09-18 10:18:56 -05:00
|
|
|
|
2007-06-27 08:00:46 -05:00
|
|
|
.IF "$(USE_STLP_DEBUG)"!=""
|
|
|
|
CDEFS+=-D_DEBUG
|
|
|
|
.ENDIF # "$(USE_STLP_DEBUG)"!=""
|
|
|
|
|
2000-09-18 10:18:56 -05:00
|
|
|
SLOFILES= \
|
|
|
|
$(SLO)$/servreg.obj \
|
|
|
|
$(SLO)$/servprov.obj \
|
|
|
|
$(SLO)$/unoobjw.obj \
|
|
|
|
$(SLO)$/oleobjw.obj \
|
|
|
|
$(SLO)$/olethread.obj \
|
|
|
|
$(SLO)$/oledll.obj \
|
2002-06-05 07:21:38 -05:00
|
|
|
$(SLO)$/jscriptclasses.obj \
|
2004-03-17 06:07:15 -06:00
|
|
|
$(SLO)$/ole2uno.obj \
|
2004-08-02 03:45:59 -05:00
|
|
|
$(SLO)$/windata.obj \
|
2006-01-10 08:58:29 -06:00
|
|
|
$(SLO)$/unotypewrapper.obj
|
2000-09-18 10:18:56 -05:00
|
|
|
|
2007-03-26 06:48:27 -05:00
|
|
|
SECOND_BUILD=OWNGUID
|
|
|
|
OWNGUID_SLOFILES=$(SLOFILES)
|
|
|
|
OWNGUIDCDEFS+= -DOWNGUID
|
2000-09-18 10:18:56 -05:00
|
|
|
|
2007-03-26 06:48:27 -05:00
|
|
|
# the original library
|
2000-09-18 10:18:56 -05:00
|
|
|
SHL1TARGET=$(TARGET)
|
|
|
|
SHL1STDLIBS=\
|
|
|
|
$(SALLIB) \
|
|
|
|
$(VOSLIB) \
|
|
|
|
$(CPPULIB) \
|
|
|
|
$(CPPUHELPERLIB) \
|
2007-03-26 07:06:49 -05:00
|
|
|
$(OLE32LIB) \
|
|
|
|
$(UUIDLIB) \
|
|
|
|
$(ADVAPI32LIB) \
|
|
|
|
$(OLEAUT32LIB)
|
2000-09-18 10:18:56 -05:00
|
|
|
|
2007-06-05 04:55:30 -05:00
|
|
|
.IF "$(COM)"=="MSC"
|
|
|
|
.IF "$(WINDOWS_VISTA_PSDK)"!="" || "$(CCNUMVER)"<="001399999999"
|
2006-01-10 08:58:29 -06:00
|
|
|
.IF "$(USE_STLP_DEBUG)" != ""
|
|
|
|
SHL1STDLIBS+= $(ATL_LIB)$/atlsd.lib
|
|
|
|
.ELSE
|
2004-10-11 07:49:57 -05:00
|
|
|
SHL1STDLIBS+= $(ATL_LIB)$/atls.lib
|
2003-05-22 03:25:41 -05:00
|
|
|
.ENDIF
|
2007-06-05 04:55:30 -05:00
|
|
|
.ENDIF # "$(WINDOWS_VISTA_PSDK)"!="" || "$(CCNUMVER)"<="001399999999"
|
|
|
|
.ENDIF # "$(COM)"=="MSC"
|
2003-05-22 03:25:41 -05:00
|
|
|
|
2000-09-18 10:18:56 -05:00
|
|
|
SHL1LIBS=
|
|
|
|
SHL1OBJS=$(SLOFILES)
|
|
|
|
|
|
|
|
DEF1NAME=$(SHL1TARGET)
|
|
|
|
DEF1EXPORTFILE=$(SHL1TARGET).dxp
|
|
|
|
|
2007-03-26 06:48:27 -05:00
|
|
|
# the second library
|
|
|
|
SHL2TARGET=$(TARGET2)
|
|
|
|
SHL2STDLIBS=\
|
|
|
|
$(SALLIB) \
|
|
|
|
$(VOSLIB) \
|
|
|
|
$(CPPULIB) \
|
|
|
|
$(CPPUHELPERLIB) \
|
2007-05-25 04:49:50 -05:00
|
|
|
$(OLE32LIB) \
|
|
|
|
$(UUIDLIB) \
|
|
|
|
$(ADVAPI32LIB) \
|
|
|
|
$(OLEAUT32LIB)
|
2007-03-26 06:48:27 -05:00
|
|
|
|
2007-06-05 04:55:30 -05:00
|
|
|
.IF "$(COM)"=="MSC"
|
|
|
|
.IF "$(WINDOWS_VISTA_PSDK)"!="" || "$(CCNUMVER)"<="001399999999"
|
2007-03-26 06:48:27 -05:00
|
|
|
.IF "$(USE_STLP_DEBUG)" != ""
|
|
|
|
SHL2STDLIBS+= $(ATL_LIB)$/atlsd.lib
|
|
|
|
.ELSE
|
|
|
|
SHL2STDLIBS+= $(ATL_LIB)$/atls.lib
|
|
|
|
.ENDIF
|
2007-06-05 04:55:30 -05:00
|
|
|
.ENDIF # "$(WINDOWS_VISTA_PSDK)"!="" || "$(CCNUMVER)"<="001399999999"
|
|
|
|
.ENDIF # "$(COM)"=="MSC"
|
2007-03-26 06:48:27 -05:00
|
|
|
|
|
|
|
SHL2LIBS=
|
|
|
|
SHL2OBJS=$(REAL_OWNGUID_SLOFILES)
|
|
|
|
|
|
|
|
DEF2NAME=$(SHL2TARGET)
|
|
|
|
DEF2EXPORTFILE=$(TARGET).dxp
|
|
|
|
|
2000-09-18 10:18:56 -05:00
|
|
|
.ENDIF
|
|
|
|
|
|
|
|
#----------------------------------------------------------------
|
|
|
|
|
|
|
|
.INCLUDE : target.mk
|
2007-06-05 04:55:30 -05:00
|
|
|
|