summaryrefslogtreecommitdiff
path: root/solenv/inc/unxmacxp.mk
diff options
context:
space:
mode:
authorPatrick Luby <pluby@openoffice.org>2001-02-14 00:45:22 +0000
committerPatrick Luby <pluby@openoffice.org>2001-02-14 00:45:22 +0000
commite6e15c64d8ca6752c5aee66b4e1689e6572d5803 (patch)
treef657f3117076b2f563c111b7230b56f7dbc620b7 /solenv/inc/unxmacxp.mk
parent84ee20036c7a63c689d506e8d3324a29c78be9e2 (diff)
Added override option to special CDEFS
Diffstat (limited to 'solenv/inc/unxmacxp.mk')
-rw-r--r--solenv/inc/unxmacxp.mk21
1 files changed, 12 insertions, 9 deletions
diff --git a/solenv/inc/unxmacxp.mk b/solenv/inc/unxmacxp.mk
index 15ad192bca56..b479ca7136ed 100644
--- a/solenv/inc/unxmacxp.mk
+++ b/solenv/inc/unxmacxp.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: unxmacxp.mk,v $
#
-# $Revision: 1.18 $
+# $Revision: 1.19 $
#
-# last change: $Author: pluby $ $Date: 2001-02-12 20:20:02 $
+# last change: $Author: pluby $ $Date: 2001-02-14 01:45:22 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -71,13 +71,16 @@ LINKOUTPUT_FILTER=
CDEFS+=-DGLIBC=2 -D_PTHREADS -D_REENTRANT -DNO_PTHREAD_PRIORITY -DSTLPORT_VERSION=400 -D_USE_NAMESPACE=1
# Workaround for Mac OS X duplicate symbol plugin bug
-.IF "$(TARGET)"!=""
-CDEFS+=-Dcomponent_getImplementationEnvironment=lib$(TARGET)component_getImplementationEnvironment \
- -Dcomponent_writeInfo=lib$(TARGET)component_writeInfo \
- -Dcomponent_getFactory=lib$(TARGET)component_getFactory \
- -Dcomponent_getDescriptionFunc=lib$(TARGET)component_getDescriptionFunc \
- -Duno_initEnvironment=lib$(TARGET)uno_initEnvironment \
- -Duno_ext_getMapping=lib$(TARGET)uno_ext_getMapping
+.IF "$(SYMBOLPREFIX)"==""
+SYMBOLPREFIX="$(TARGET)"
+.ENDIF
+.IF "$(SYMBOLPREFIX)"!=""
+CDEFS+=-Dcomponent_getImplementationEnvironment=lib$(SYMBOLPREFIX)component_getImplementationEnvironment \
+ -Dcomponent_writeInfo=lib$(SYMBOLPREFIX)component_writeInfo \
+ -Dcomponent_getFactory=lib$(SYMBOLPREFIX)component_getFactory \
+ -Dcomponent_getDescriptionFunc=lib$(SYMBOLPREFIX)component_getDescriptionFunc \
+ -Duno_initEnvironment=lib$(SYMBOLPREFIX)uno_initEnvironment \
+ -Duno_ext_getMapping=lib$(SYMBOLPREFIX)uno_ext_getMapping
.ENDIF
# Temporary settings to enable VCL test code. These should be deleted once