Permalink
Browse files

Changes from James Berry <jberry@criticalpath.com> for Mac OS X support.

git-svn-id: https://svn.apache.org/repos/asf/xalan/c/branches/LotusXSL4C@340112 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
David N Berton
David N Berton committed Aug 14, 2001
1 parent 753b0cc commit 07dbd6cbe6975a3050329b79f592185edb849885
Showing with 14 additions and 1 deletion.
  1. +14 −1 src/Makefile.in
View
@@ -285,9 +285,22 @@ LINK = ${CXX} $(CXXFLAGS) $(PLATFORM_COMPILE_OPTIONS)
endif
+#============ MacOSX SPECIFIC OPTIONS ============================
+ifeq ($(PLATFORM), MACOSX)
+
+SUPPORTED = TRUE
+PLATFORM_COMPILE_OPTIONS = -Wall -D${PLATFORM} -D_REENTRANT -DXALAN_USE_XERCES_LOCAL_CODEPAGE_TRANSCODERS
+ALLLIBS = ${LIBS} -L/usr/lib -L/usr/local/lib
+SHLIBSUFFIX=.dylib
+CC1 = ${CXX} $(CXXFLAGS) $(PLATFORM_COMPILE_OPTIONS)
+MAKE_SHARED = ${CXX} $(CXXFLAGS) -D${PLATFORM} -dynamiclib
+LINK = ${CXX} $(CXXFLAGS) ${PLATFORM_COMPILE_OPTIONS}
+
+endif
+
ifndef SUPPORTED
nogood:
- @echo Linux, Solaris, AIX, Compaq Tru64, OS/390, and HP-UX are the only platforms supported.
+ @echo Linux, Solaris, AIX, Compaq Tru64, OS/390, MacOSX, and HP-UX are the only platforms supported.
endif
# We need the Xerces library

0 comments on commit 07dbd6c

Please sign in to comment.