summaryrefslogtreecommitdiff
path: root/sal/cpprt
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-04-15 12:47:57 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-04-15 12:47:57 +0000
commit68ba7154676d62835f911cbdf31b8a0302af84ee (patch)
tree26f12862d5b97d06bab667345e5ba81f19ff8697 /sal/cpprt
parent580935143ccbeba96640dc23f350439e9bfd7ebd (diff)
INTEGRATION: CWS tune01 (1.1.4.1.4); FILE MERGED
2003/04/06 14:44:16 mhu 1.1.4.1.4.1: #104380# Exp. interposer for Solaris -Bdirect.
Diffstat (limited to 'sal/cpprt')
-rw-r--r--sal/cpprt/makefile.mk24
1 files changed, 19 insertions, 5 deletions
diff --git a/sal/cpprt/makefile.mk b/sal/cpprt/makefile.mk
index 510f98df2619..fc255ecfc9b5 100644
--- a/sal/cpprt/makefile.mk
+++ b/sal/cpprt/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.2 $
+# $Revision: 1.3 $
#
-# last change: $Author: hr $ $Date: 2003-03-26 16:45:32 $
+# last change: $Author: vg $ $Date: 2003-04-15 13:47:57 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -73,16 +73,30 @@ LIBTARGET=NO
# --- Files --------------------------------------------------------
-CXXFILES = \
- operators_new_delete.cxx
-
SLOFILES = \
$(SLO)$/operators_new_delete.obj
+
+.IF "$(OS)" != "SOLARIS"
+
+# build as archive
LIB1TARGET=$(LB)$/$(TARGET).lib
LIB1ARCHIV=$(LB)$/lib$(TARGET).a
LIB1OBJFILES=$(SLOFILES)
+.ELSE # SOLARIS
+
+# build as shared library (interposer needed for -Bdirect)
+LINKFLAGS+= -z interpose
+
+SHL1TARGET= $(TARGET)
+SHL1IMPLIB= i$(TARGET)
+
+SHL1STDLIBS=$(SALLIB)
+SHL1OBJS= $(SLOFILES)
+
+.ENDIF # SOLARIS
+
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk