cc197d750f
2007/06/29 11:13:54 kr 1.46.6.3: fixed: #i78830# use map file for all gcc3 platforms 2007/06/27 15:34:05 kr 1.46.6.2: types are now sorted :-) 2007/06/27 14:45:55 kr 1.46.6.1: fixed: added missing types; enhanced: support map files for all Linux-GCC based platforms
188 lines
6.2 KiB
Makefile
188 lines
6.2 KiB
Makefile
#*************************************************************************
|
|
#
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
|
#
|
|
# $RCSfile: makefile.mk,v $
|
|
#
|
|
# $Revision: 1.47 $
|
|
#
|
|
# last change: $Author: obo $ $Date: 2007-07-18 12:17:44 $
|
|
#
|
|
# 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=cppuhelper
|
|
TARGET=cppuhelper
|
|
|
|
ENABLE_EXCEPTIONS=TRUE
|
|
USE_DEFFILE=TRUE
|
|
|
|
# not strictly a bootstrap service but containing
|
|
# bootstrap code that may require generated files
|
|
# without "-L" (light) switch
|
|
BOOTSTRAP_SERVICE=TRUE
|
|
|
|
.IF "$(OS)" != "WNT"
|
|
UNIXVERSIONNAMES=UDK
|
|
.ENDIF # WNT
|
|
|
|
# --- Settings -----------------------------------------------------
|
|
|
|
.INCLUDE : settings.mk
|
|
|
|
# --- Files --------------------------------------------------------
|
|
|
|
UNOUCRRDB=$(SOLARBINDIR)$/udkapi.rdb
|
|
UNOUCRDEP=$(UNOUCRRDB)
|
|
UNOUCROUT=$(OUT)$/inc$/$(TARGET)
|
|
INCPRE+=$(OUT)$/inc$/$(TARGET) $(OUT)$/inc$/private
|
|
|
|
CPPUMAKERFLAGS= -C
|
|
|
|
UNOTYPES= \
|
|
com.sun.star.beans.PropertyAttribute \
|
|
com.sun.star.beans.PropertyValue \
|
|
com.sun.star.beans.XFastPropertySet \
|
|
com.sun.star.beans.XMultiPropertySet \
|
|
com.sun.star.beans.XPropertyAccess \
|
|
com.sun.star.beans.XPropertySet \
|
|
com.sun.star.bridge.UnoUrlResolver \
|
|
com.sun.star.bridge.XUnoUrlResolver \
|
|
com.sun.star.connection.SocketPermission \
|
|
com.sun.star.container.XElementAccess \
|
|
com.sun.star.container.XEnumerationAccess \
|
|
com.sun.star.container.XHierarchicalNameAccess \
|
|
com.sun.star.container.XNameAccess \
|
|
com.sun.star.container.XNameContainer \
|
|
com.sun.star.container.XSet \
|
|
com.sun.star.io.FilePermission \
|
|
com.sun.star.io.IOException \
|
|
com.sun.star.lang.DisposedException \
|
|
com.sun.star.lang.WrappedTargetRuntimeException \
|
|
com.sun.star.lang.XComponent \
|
|
com.sun.star.lang.XEventListener \
|
|
com.sun.star.lang.XInitialization \
|
|
com.sun.star.lang.XMultiComponentFactory \
|
|
com.sun.star.lang.XMultiServiceFactory \
|
|
com.sun.star.lang.XServiceInfo \
|
|
com.sun.star.lang.XSingleComponentFactory \
|
|
com.sun.star.lang.XSingleServiceFactory \
|
|
com.sun.star.lang.XTypeProvider \
|
|
com.sun.star.loader.XImplementationLoader \
|
|
com.sun.star.reflection.XArrayTypeDescription \
|
|
com.sun.star.reflection.XCompoundTypeDescription \
|
|
com.sun.star.reflection.XEnumTypeDescription \
|
|
com.sun.star.reflection.XIdlClass \
|
|
com.sun.star.reflection.XIdlClassProvider \
|
|
com.sun.star.reflection.XIdlField2 \
|
|
com.sun.star.reflection.XIdlReflection \
|
|
com.sun.star.reflection.XIndirectTypeDescription \
|
|
com.sun.star.reflection.XInterfaceAttributeTypeDescription \
|
|
com.sun.star.reflection.XInterfaceAttributeTypeDescription2 \
|
|
com.sun.star.reflection.XInterfaceMemberTypeDescription \
|
|
com.sun.star.reflection.XInterfaceMethodTypeDescription \
|
|
com.sun.star.reflection.XInterfaceTypeDescription2 \
|
|
com.sun.star.reflection.XMethodParameter \
|
|
com.sun.star.reflection.XStructTypeDescription \
|
|
com.sun.star.reflection.XTypeDescription \
|
|
com.sun.star.reflection.XUnionTypeDescription \
|
|
com.sun.star.registry.XImplementationRegistration \
|
|
com.sun.star.registry.XRegistryKey \
|
|
com.sun.star.registry.XSimpleRegistry \
|
|
com.sun.star.security.RuntimePermission \
|
|
com.sun.star.security.XAccessController \
|
|
com.sun.star.uno.DeploymentException \
|
|
com.sun.star.uno.RuntimeException \
|
|
com.sun.star.uno.XAggregation \
|
|
com.sun.star.uno.XComponentContext \
|
|
com.sun.star.uno.XCurrentContext \
|
|
com.sun.star.uno.XUnloadingPreference \
|
|
com.sun.star.uno.XWeak \
|
|
com.sun.star.util.XMacroExpander
|
|
|
|
.IF "$(debug)" != ""
|
|
# msvc++: no inlining for debugging
|
|
.IF "$(COM)" == "MSC"
|
|
CFLAGS += -Ob0
|
|
.ENDIF
|
|
.ENDIF
|
|
|
|
SLOFILES= \
|
|
$(SLO)$/typeprovider.obj \
|
|
$(SLO)$/exc_thrower.obj \
|
|
$(SLO)$/servicefactory.obj \
|
|
$(SLO)$/bootstrap.obj \
|
|
$(SLO)$/implbase.obj \
|
|
$(SLO)$/implbase_ex.obj \
|
|
$(SLO)$/propshlp.obj \
|
|
$(SLO)$/weak.obj \
|
|
$(SLO)$/interfacecontainer.obj \
|
|
$(SLO)$/stdidlclass.obj \
|
|
$(SLO)$/factory.obj \
|
|
$(SLO)$/component_context.obj \
|
|
$(SLO)$/component.obj \
|
|
$(SLO)$/shlib.obj \
|
|
$(SLO)$/tdmgr.obj \
|
|
$(SLO)$/implementationentry.obj \
|
|
$(SLO)$/access_control.obj \
|
|
$(SLO)$/macro_expander.obj \
|
|
$(SLO)$/unourl.obj \
|
|
$(SLO)$/propertysetmixin.obj
|
|
|
|
.IF "$(GUI)" == "WNT"
|
|
SHL1TARGET=$(TARGET)$(UDK_MAJOR)$(COMID)
|
|
.ELSE
|
|
SHL1TARGET=uno_$(TARGET)$(COMID)
|
|
.ENDIF
|
|
|
|
SHL1STDLIBS= \
|
|
$(SALLIB) \
|
|
$(SALHELPERLIB) \
|
|
$(CPPULIB)
|
|
|
|
SHL1DEPN=
|
|
SHL1IMPLIB=i$(TARGET)
|
|
SHL1OBJS = $(SLOFILES)
|
|
|
|
SHL1DEF=$(MISC)$/$(SHL1TARGET).def
|
|
|
|
DEF1NAME=$(SHL1TARGET)
|
|
|
|
.IF "$(COMNAME)"=="msci"
|
|
SHL1VERSIONMAP=msvc_win32_intel.map
|
|
.ELIF "$(COMNAME)"=="sunpro5"
|
|
SHL1VERSIONMAP=cc5_solaris_sparc.map
|
|
.ELIF "$(COMNAME)"=="gcc3"
|
|
SHL1VERSIONMAP=gcc3.map
|
|
.ENDIF
|
|
|
|
# --- Targets ------------------------------------------------------
|
|
|
|
.IF "$(diag)"!=""
|
|
CFLAGS += -DDIAG=$(diag)
|
|
.ENDIF
|
|
|
|
.INCLUDE : target.mk
|