summaryrefslogtreecommitdiff
path: root/rdbmaker
diff options
context:
space:
mode:
authorGene Anaya <ganaya@openoffice.org>2000-10-09 16:17:42 +0000
committerGene Anaya <ganaya@openoffice.org>2000-10-09 16:17:42 +0000
commitc28ad9bf80ea2a4227e52cc9f8dea1c9fcdb83ea (patch)
tree9aff23c838fd3cb3ed9b6eb91bfd73b3095b0f92 /rdbmaker
parent3c17e06d5ff08f96cfeafed0c96d82493ae8bbc2 (diff)
Added staticmbrdbmaker.cxx to Mac OS X build
Diffstat (limited to 'rdbmaker')
-rw-r--r--rdbmaker/source/rdbmaker/makefile.mk20
1 files changed, 18 insertions, 2 deletions
diff --git a/rdbmaker/source/rdbmaker/makefile.mk b/rdbmaker/source/rdbmaker/makefile.mk
index 36805587c91a..8f81b934a4e1 100644
--- a/rdbmaker/source/rdbmaker/makefile.mk
+++ b/rdbmaker/source/rdbmaker/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.3 $
+# $Revision: 1.4 $
#
-# last change: $Author: pluby $ $Date: 2000-10-09 16:52:55 $
+# last change: $Author: ganaya $ $Date: 2000-10-09 17:17:42 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -100,6 +100,14 @@ CXXFILES= rdbmaker.cxx \
specialtypemanager.cxx \
rdbtype.cxx
+# 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"
+CXXFILES+=staticmbrdbmaker.cxx
+.ENDIF
+
APP1TARGET= $(TARGET)
@@ -109,6 +117,14 @@ APP1OBJS= $(OBJ)$/rdbmaker.obj \
$(OBJ)$/specialtypemanager.obj \
$(OBJ)$/rdbtype.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 GCCwon'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"
+APP1OBJS+=$(OBJ)$/staticmbrdbmaker.obj
+.ENDIF
+
+
APP1STDLIBS=\
$(SALLIB) \
$(VOSLIB) \