You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2001/01/24 18:06:12 UTC
cvs commit: xml-xerces/c/samples/EnumVal Makefile.in
tng 01/01/24 09:06:11
Modified: c/samples/EnumVal Makefile.in
Log:
EnumVal/Makefile.in uses '-ptr${OUTDIR}' as a compile option which is specifically
for Solaris template directory. Platform other than Solaris may give a warning
saying 'option -ptr is not supported'. This Makefile.in should be guarded so that
'-ptr${OUTDIR}' is only included for Solaris build.
Revision Changes Path
1.11 +7 -1 xml-xerces/c/samples/EnumVal/Makefile.in
Index: Makefile.in
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/EnumVal/Makefile.in,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- Makefile.in 2000/11/09 01:37:19 1.10
+++ Makefile.in 2001/01/24 17:06:07 1.11
@@ -53,7 +53,7 @@
# on the Apache Software Foundation, please see
# <http://www.apache.org/>.
#
-# $Id: Makefile.in,v 1.10 2000/11/09 01:37:19 andyh Exp $
+# $Id: Makefile.in,v 1.11 2001/01/24 17:06:07 tng Exp $
#
###################################################################
@@ -100,8 +100,14 @@
${BATCH_TARGET}:: ${OBJS}
${LINK} ${PLATFORM_LIB_LINK_OPTIONS} ${OBJS} -o $@ ${LIBRARY_SEARCH_PATHS} ${LIBRARY_NAMES} ${EXTRA_LINK_OPTIONS}
+## SOLARIS
+ifeq (${PLATFORM}, SOLARIS)
$(OUTDIR)/EnumVal.o:: ${SRC}/EnumVal.cpp ${HEADER_FILES}
${CC} ${CMP} -ptr${OUTDIR} $(INCLUDES) -o $(OUTDIR)/EnumVal.o ${SRC}/EnumVal.cpp
+else
+$(OUTDIR)/EnumVal.o:: ${SRC}/EnumVal.cpp ${HEADER_FILES}
+ ${CC} ${CMP} $(INCLUDES) -o $(OUTDIR)/EnumVal.o ${SRC}/EnumVal.cpp
+endif
clean::
rm -f ${OBJS} ${EXEC}/${APP_NAME}