You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by jb...@apache.org on 2001/06/09 20:06:52 UTC
cvs commit: xml-xerces/c/tests Makefile.incl configure configure.in runConfigure
jberry 01/06/09 11:06:52
Modified: c/tests Makefile.incl configure configure.in runConfigure
Log:
Add MacOS build support for tests
Revision Changes Path
1.13 +10 -1 xml-xerces/c/tests/Makefile.incl
Index: Makefile.incl
===================================================================
RCS file: /home/cvs/xml-xerces/c/tests/Makefile.incl,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- Makefile.incl 2001/02/13 13:10:50 1.12
+++ Makefile.incl 2001/06/09 18:06:50 1.13
@@ -55,7 +55,7 @@
#
#
-# $Id: Makefile.incl,v 1.12 2001/02/13 13:10:50 tng Exp $
+# $Id: Makefile.incl,v 1.13 2001/06/09 18:06:50 jberry Exp $
#
################## LIBRARY NAMES AND DIRECTORIES ##################
@@ -202,5 +202,14 @@
LIBRARY_NAMES=${LIB_DIR}/lib${LIBNAME}${VER}${OS390SIDEDECK}
endif
LIBRARY_SEARCH_PATHS=
+endif
+
+#=============== MacOS SPECIFIC OPTIONS =========================
+ifeq (${PLATFORM}, MACOSX)
+ CMP= -c ${CXXFLAGS}
+ CC= c++ -c -D${PLATFORM} -D_REENTRANT
+ LINK = c++ -D${PLATFORM}
+ PLATFORM_LIB_LINK_OPTIONS=-L/usr/lib -L/usr/local/lib
+ SHLIBSUFFIX=.dylib
endif
1.10 +3 -0 xml-xerces/c/tests/configure
Index: configure
===================================================================
RCS file: /home/cvs/xml-xerces/c/tests/configure,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- configure 2001/06/05 15:25:26 1.9
+++ configure 2001/06/09 18:06:50 1.10
@@ -1304,6 +1304,8 @@
case "${host}" in
*-*-solaris*) platform=SOLARIS ;;
*-*-linux*) platform=LINUX ;;
+ *-*-*unixware*) platform=UNIXWARE ;;
+ *-*-sysv5uw7*) platform=UNIXWARE ;;
*-*-aix*) platform=AIX ;;
*-sequent-*) platform=PTX ;;
*-*-hp*) platform=HPUX ;
@@ -1313,6 +1315,7 @@
*) osver=HPUX11;;
esac;;
*-*-mvs*) platform=OS390 ;;
+ *-apple-*) platform=MACOSX ;;
*) platform=UNKNOWN ;;
esac
1.14 +2 -1 xml-xerces/c/tests/configure.in
Index: configure.in
===================================================================
RCS file: /home/cvs/xml-xerces/c/tests/configure.in,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- configure.in 2001/06/05 15:25:26 1.13
+++ configure.in 2001/06/09 18:06:50 1.14
@@ -1,4 +1,4 @@
-# $Id: configure.in,v 1.13 2001/06/05 15:25:26 tng Exp $
+# $Id: configure.in,v 1.14 2001/06/09 18:06:50 jberry Exp $
#
#
@@ -47,6 +47,7 @@
*) osver=HPUX11;;
esac;;
*-*-mvs*) platform=OS390 ;;
+ *-apple-*) platform=MACOSX ;;
*) platform=UNKNOWN ;;
esac
AC_SUBST(platform)
1.9 +5 -2 xml-xerces/c/tests/runConfigure
Index: runConfigure
===================================================================
RCS file: /home/cvs/xml-xerces/c/tests/runConfigure,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- runConfigure 2001/02/13 13:10:50 1.8
+++ runConfigure 2001/06/09 18:06:50 1.9
@@ -58,6 +58,9 @@
#
#
# $Log: runConfigure,v $
+# Revision 1.9 2001/06/09 18:06:50 jberry
+# Add MacOS build support for tests
+#
# Revision 1.8 2001/02/13 13:10:50 tng
# Update samples/tests files for on UnixWare 7.1.1 with gcc 2.95. Add UNIXWARE platform defines to Makefile.incl, add recognition of sysv5uw7 to configure.in, and add unixware as recognized platform to runConfigure. Updated by Hiram Clawson.
#
@@ -96,7 +99,7 @@
echo "runConfigure: Helper script to run \"configure\" for one of the supported platforms"
echo "Usage: runConfigure \"options\""
echo " where options may be any of the following:"
- echo " -p <platform> (accepts 'aix', 'unixware', 'linux', 'solaris', 'hp-10', 'hp-11', 'ptx')"
+ echo " -p <platform> (accepts 'aix', 'unixware', 'linux', 'solaris', 'hp-10', 'hp-11', 'ptx', 'macosx')"
echo " -c <C compiler name> (e.g. gcc or xlc_r)"
echo " -x <C++ compiler name> (e.g. g++ or xlC_r)"
echo " -d (specifies that you want to build debug version)"
@@ -183,7 +186,7 @@
# Now check if the options are correct or not, bail out if incorrect
case $platform in
- aix | unixware | linux | solaris | hp-10 | hp-11 | ptx)
+ aix | unixware | linux | solaris | hp-10 | hp-11 | ptx | macosx)
# platform has been recognized
;;
*)
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org