summaryrefslogtreecommitdiff
path: root/stoc/source/namingservice/makefile.mk
diff options
context:
space:
mode:
authorGene Anaya <ganaya@openoffice.org>2000-10-10 04:42:35 +0000
committerGene Anaya <ganaya@openoffice.org>2000-10-10 04:42:35 +0000
commitb1bc11aff2d4326ecdb9820d2f8e699258c33560 (patch)
tree1d50967c76a83ac97e29d7ce37ec8d95ac00212c /stoc/source/namingservice/makefile.mk
parent93ab9400bb5666a25a6ac60350c3c1ca23689108 (diff)
add staticmbnamingservice.cxx for macosx
Diffstat (limited to 'stoc/source/namingservice/makefile.mk')
-rw-r--r--stoc/source/namingservice/makefile.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/stoc/source/namingservice/makefile.mk b/stoc/source/namingservice/makefile.mk
index 381a73adb179..347bdd9617d3 100644
--- a/stoc/source/namingservice/makefile.mk
+++ b/stoc/source/namingservice/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.1.1.1 $
+# $Revision: 1.2 $
#
-# last change: $Author: hr $ $Date: 2000-09-18 15:29:34 $
+# last change: $Author: ganaya $ $Date: 2000-10-10 05:42:35 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -83,6 +83,12 @@ UNOTYPES=$($(TARGET)_XML2CMPTYPES)
SLOFILES= \
$(SLO)$/namingservice.obj \
$(SLO)$/$(COMP1TYPELIST)_description.obj
+# NETBSD: somewhere we have to instantiate the static data members.
+# NETBSD-1.2.1 doesn't know about weak symbols so the default mechanism for GCC won't work.
+# SCO and MACOSX: the linker does know about weak symbols, but we can't ignore multiple defined symbols
+.IF "$(OS)"=="NETBSD" || "$(OS)"=="SCO" || "$(OS)$(COM)"=="OS2GCC" || "$(OS)"=="MACOSX"
+SLOFILES+=$(SLO)$/staticmbnamingservice.obj
+.ENDIF
SHL1TARGET= $(TARGET)