Added static variable initialization for MACOSX.

This commit is contained in:
Ping Liao 2000-09-21 18:40:47 +00:00
parent 325f2f9147
commit c9df074a31

View file

@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
# $Revision: 1.1.1.1 $
# $Revision: 1.2 $
#
# last change: $Author: hr $ $Date: 2000-09-18 16:59:03 $
# last change: $Author: ping.liao $ $Date: 2000-09-21 19:40:47 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@ -116,6 +116,13 @@ EXCEPTIONSFILES= \
$(SLO)$/numfmuno.obj \
$(SLO)$/supservs.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 symb ols
.IF "$(OS)"=="NETBSD" || "$(OS)"=="SCO" || "$(OS)$(COM)"=="OS2GCC" || "$(OS)"=="MACOSX"
SLOFILES+=$(SLO)$/staticmb.obj
.ENDIF
# --- Targets -------------------------------------------------------
.INCLUDE : target.mk