summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorPatrick Luby <pluby@openoffice.org>2001-02-14 00:45:42 +0000
committerPatrick Luby <pluby@openoffice.org>2001-02-14 00:45:42 +0000
commitbbd1317363fbf9921da28064e7f2dc35d6b8f386 (patch)
treec508126144bb2c91cb1ec6fa8ef15d8c682e3192 /sax
parent392a824e52a63de8d64eb5a83e22816677374d1d (diff)
Updated for Mac OS X
Diffstat (limited to 'sax')
-rw-r--r--sax/prj/d.lst3
-rw-r--r--sax/source/expatwrap/makefile.mk9
2 files changed, 10 insertions, 2 deletions
diff --git a/sax/prj/d.lst b/sax/prj/d.lst
index 6b8cc19a8763..e95fe35f9062 100644
--- a/sax/prj/d.lst
+++ b/sax/prj/d.lst
@@ -1,2 +1,5 @@
..\%__SRC%\bin\*.dll %_DEST%\bin%_EXT%\*.dll
..\%__SRC%\lib\*.so %_DEST%\lib%_EXT%\*.so
+..\%__SRC%\lib\*.dylib %_DEST%\lib%_EXT%\*.dylib
+
+dos: sh -c "if test %OS% = MACOSX; then create-bundle %_DEST%\lib%_EXT%\*.dylib; fi"
diff --git a/sax/source/expatwrap/makefile.mk b/sax/source/expatwrap/makefile.mk
index 8babee9e94ea..319ee3db8b81 100644
--- a/sax/source/expatwrap/makefile.mk
+++ b/sax/source/expatwrap/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.2 $
+# $Revision: 1.3 $
#
-# last change: $Author: svesik $ $Date: 2001-02-02 19:09:45 $
+# last change: $Author: pluby $ $Date: 2001-02-14 01:45:42 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -78,6 +78,11 @@ SLOFILES =\
$(SLO)$/sax_expat.obj \
$(SLO)$/saxwriter.obj
+# Make symbol renaming match library name for Mac OS X
+.IF "$(OS)"=="MACOSX"
+SYMBOLPREFIX=sax
+.ENDIF
+
# SCO and MACOSX: the linker does know about weak symbols, but we can't ignore multiple defined symbols
.IF "$(OS)"=="SCO" || "$(OS)$(COM)"=="OS2GCC" || "$(OS)"=="MACOSX"
SLOFILES+=$(SLO)$/staticmb.obj