From a44cfd1d62a0c17b9b8eab6ab7461f4430a4e671 Mon Sep 17 00:00:00 2001 From: PeiYong Zhang <peiyongz@apache.org> Date: Fri, 12 Dec 2003 22:00:03 +0000 Subject: [PATCH] XSerializerTest git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@175553 13f79535-47bb-0310-9956-ffa450edef68 --- .../XSerializerTest/XSerializerTest.mak | 450 ++++++++++++++++++ 1 file changed, 450 insertions(+) create mode 100644 Projects/Win32/VC6/xerces-all/XSerializerTest/XSerializerTest.mak diff --git a/Projects/Win32/VC6/xerces-all/XSerializerTest/XSerializerTest.mak b/Projects/Win32/VC6/xerces-all/XSerializerTest/XSerializerTest.mak new file mode 100644 index 000000000..b86d293bf --- /dev/null +++ b/Projects/Win32/VC6/xerces-all/XSerializerTest/XSerializerTest.mak @@ -0,0 +1,450 @@ +# Microsoft Developer Studio Generated NMAKE File, Based on XSerializerTest.dsp +!IF "$(CFG)" == "" +CFG=XSerializerTest - Win32 Debug +!MESSAGE No configuration specified. Defaulting to XSerializerTest - Win32 Debug. +!ENDIF + +!IF "$(CFG)" != "XSerializerTest - Win32 Release" && "$(CFG)" != "XSerializerTest - Win32 Debug" && "$(CFG)" != "XSerializerTest - Win64 Debug" && "$(CFG)" != "XSerializerTest - Win64 Release" +!MESSAGE Invalid configuration "$(CFG)" specified. +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "XSerializerTest.mak" CFG="XSerializerTest - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "XSerializerTest - Win32 Release" (based on "Win32 (x86) Console Application") +!MESSAGE "XSerializerTest - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE "XSerializerTest - Win64 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE "XSerializerTest - Win64 Release" (based on "Win32 (x86) Console Application") +!MESSAGE +!ERROR An invalid configuration is specified. +!ENDIF + +!IF "$(OS)" == "Windows_NT" +NULL= +!ELSE +NULL=nul +!ENDIF + +!IF "$(CFG)" == "XSerializerTest - Win32 Release" + +OUTDIR=.\..\..\..\..\..\Build\Win32\VC6\Release +INTDIR=.\..\..\..\..\..\Build\Win32\VC6\Release\obj +# Begin Custom Macros +OutDir=.\..\..\..\..\..\Build\Win32\VC6\Release +# End Custom Macros + +!IF "$(RECURSE)" == "0" + +ALL : "$(OUTDIR)\XSerializerTest.exe" + +!ELSE + +ALL : "XercesLib - Win32 Release" "$(OUTDIR)\XSerializerTest.exe" + +!ENDIF + +!IF "$(RECURSE)" == "1" +CLEAN :"XercesLib - Win32 ReleaseCLEAN" +!ELSE +CLEAN : +!ENDIF + -@erase "$(INTDIR)\SAXCountHandlers.obj" + -@erase "$(INTDIR)\vc60.idb" + -@erase "$(INTDIR)\XSerializerTest.obj" + -@erase "$(OUTDIR)\XSerializerTest.exe" + +"$(OUTDIR)" : + if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" + +"$(INTDIR)" : + if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" + +CPP=$(CPP) +CPP_PROJ=/G6 /MD /W3 /GX /O2 /Ob2 /I "..\..\..\..\..\src" /I "..\..\..\..\..\samples\SAXCount" /D "NDEBUG" /D "_CONSOLE" /D "WIN32" /D "_WINDOWS" /D "PLATFORM_WIN32" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c + +.c{$(INTDIR)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cpp{$(INTDIR)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cxx{$(INTDIR)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.c{$(INTDIR)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cpp{$(INTDIR)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cxx{$(INTDIR)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +RSC=rc.exe +BSC32=bscmake.exe +BSC32_FLAGS=/o"$(OUTDIR)\XSerializerTest.bsc" +BSC32_SBRS= \ + +LINK32=link.exe +LINK32_FLAGS=kernel32.lib user32.lib xerces-c_2.lib /subsystem:console /incremental:no /pdb:"$(OUTDIR)\XSerializerTest.pdb" /machine:I386 /out:"$(OUTDIR)\XSerializerTest.exe" /libpath:"..\..\..\..\..\Build\Win32\VC6\Release" +LINK32_OBJS= \ + "$(INTDIR)\SAXCountHandlers.obj" \ + "$(INTDIR)\XSerializerTest.obj" \ + "$(OUTDIR)\xerces-c_2.lib" + +"$(OUTDIR)\XSerializerTest.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) + $(LINK32) @<< + $(LINK32_FLAGS) $(LINK32_OBJS) +<< + +!ELSEIF "$(CFG)" == "XSerializerTest - Win32 Debug" + +OUTDIR=.\..\..\..\..\..\Build\Win32\VC6\Debug +INTDIR=.\..\..\..\..\..\Build\Win32\VC6\Debug\obj +# Begin Custom Macros +OutDir=.\..\..\..\..\..\Build\Win32\VC6\Debug +# End Custom Macros + +!IF "$(RECURSE)" == "0" + +ALL : "$(OUTDIR)\XSerializerTest.exe" + +!ELSE + +ALL : "XercesLib - Win32 Debug" "$(OUTDIR)\XSerializerTest.exe" + +!ENDIF + +!IF "$(RECURSE)" == "1" +CLEAN :"XercesLib - Win32 DebugCLEAN" +!ELSE +CLEAN : +!ENDIF + -@erase "$(INTDIR)\SAXCountHandlers.obj" + -@erase "$(INTDIR)\vc60.idb" + -@erase "$(INTDIR)\vc60.pdb" + -@erase "$(INTDIR)\XSerializerTest.obj" + -@erase "$(OUTDIR)\XSerializerTest.exe" + -@erase "$(OUTDIR)\XSerializerTest.ilk" + -@erase "$(OUTDIR)\XSerializerTest.pdb" + +"$(OUTDIR)" : + if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" + +"$(INTDIR)" : + if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" + +CPP=$(CPP) +CPP_PROJ=/G6 /MDd /W3 /Gm /GX /ZI /Od /I "..\..\..\..\..\src" /I "..\..\..\..\..\samples\SAXCount" /D "_DEBUG" /D "_CONSOLE" /D "WIN32" /D "_WINDOWS" /D "PLATFORM_WIN32" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c + +.c{$(INTDIR)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cpp{$(INTDIR)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cxx{$(INTDIR)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.c{$(INTDIR)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cpp{$(INTDIR)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cxx{$(INTDIR)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +RSC=rc.exe +BSC32=bscmake.exe +BSC32_FLAGS=/o"$(OUTDIR)\XSerializerTest.bsc" +BSC32_SBRS= \ + +LINK32=link.exe +LINK32_FLAGS=kernel32.lib user32.lib xerces-c_2D.lib /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\XSerializerTest.pdb" /debug /machine:I386 /out:"$(OUTDIR)\XSerializerTest.exe" /pdbtype:sept /libpath:"..\..\..\..\..\Build\Win32\VC6\Debug" +LINK32_OBJS= \ + "$(INTDIR)\SAXCountHandlers.obj" \ + "$(INTDIR)\XSerializerTest.obj" \ + "$(OUTDIR)\xerces-c_2D.lib" + +"$(OUTDIR)\XSerializerTest.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) + $(LINK32) @<< + $(LINK32_FLAGS) $(LINK32_OBJS) +<< + +!ELSEIF "$(CFG)" == "XSerializerTest - Win64 Debug" + +OUTDIR=.\..\..\..\..\..\Build\Win64\VC6\Debug +INTDIR=.\..\..\..\..\..\Build\Win64\VC6\Debug\obj +# Begin Custom Macros +OutDir=.\..\..\..\..\..\Build\Win64\VC6\Debug +# End Custom Macros + +!IF "$(RECURSE)" == "0" + +ALL : "$(OUTDIR)\XSerializerTest.exe" + +!ELSE + +ALL : "XercesLib - Win64 Debug" "$(OUTDIR)\XSerializerTest.exe" + +!ENDIF + +!IF "$(RECURSE)" == "1" +CLEAN :"XercesLib - Win64 DebugCLEAN" +!ELSE +CLEAN : +!ENDIF + -@erase "$(INTDIR)\SAXCountHandlers.obj" + -@erase "$(INTDIR)\vc60.idb" + -@erase "$(INTDIR)\vc60.pdb" + -@erase "$(INTDIR)\XSerializerTest.obj" + -@erase "$(OUTDIR)\XSerializerTest.exe" + -@erase "$(OUTDIR)\XSerializerTest.ilk" + -@erase "$(OUTDIR)\XSerializerTest.pdb" + +"$(OUTDIR)" : + if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" + +"$(INTDIR)" : + if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" + +CPP=$(CPP) +CPP_PROJ=/MDd /W3 /Gm /GX /ZI /Od /I "..\..\..\..\..\src" /D "WIN64" /D "_DEBUG" /D "_CONSOLE" /D "WIN32" /D "_WINDOWS" /D "PLATFORM_WIN32" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c + +.c{$(INTDIR)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cpp{$(INTDIR)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cxx{$(INTDIR)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.c{$(INTDIR)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cpp{$(INTDIR)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cxx{$(INTDIR)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +RSC=rc.exe +BSC32=bscmake.exe +BSC32_FLAGS=/o"$(OUTDIR)\XSerializerTest.bsc" +BSC32_SBRS= \ + +LINK32=link.exe +LINK32_FLAGS=kernel32.lib user32.lib xerces-c_2D.lib /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\XSerializerTest.pdb" /debug /machine:IX86 /out:"$(OUTDIR)\XSerializerTest.exe" /pdbtype:sept /libpath:"..\..\..\..\..\Build\Win64\VC6\Debug" /machine:IA64 +LINK32_OBJS= \ + "$(INTDIR)\SAXCountHandlers.obj" \ + "$(INTDIR)\XSerializerTest.obj" \ + "$(OUTDIR)\xerces-c_2D.lib" + +"$(OUTDIR)\XSerializerTest.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) + $(LINK32) @<< + $(LINK32_FLAGS) $(LINK32_OBJS) +<< + +!ELSEIF "$(CFG)" == "XSerializerTest - Win64 Release" + +OUTDIR=.\..\..\..\..\..\Build\Win64\VC6\Release +INTDIR=.\..\..\..\..\..\Build\Win64\VC6\Release\obj +# Begin Custom Macros +OutDir=.\..\..\..\..\..\Build\Win64\VC6\Release +# End Custom Macros + +!IF "$(RECURSE)" == "0" + +ALL : "$(OUTDIR)\XSerializerTest.exe" + +!ELSE + +ALL : "XercesLib - Win64 Release" "$(OUTDIR)\XSerializerTest.exe" + +!ENDIF + +!IF "$(RECURSE)" == "1" +CLEAN :"XercesLib - Win64 ReleaseCLEAN" +!ELSE +CLEAN : +!ENDIF + -@erase "$(INTDIR)\SAXCountHandlers.obj" + -@erase "$(INTDIR)\vc60.idb" + -@erase "$(INTDIR)\XSerializerTest.obj" + -@erase "$(OUTDIR)\XSerializerTest.exe" + -@erase "$(OUTDIR)\XSerializerTest.ilk" + +"$(OUTDIR)" : + if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" + +"$(INTDIR)" : + if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" + +CPP=$(CPP) +CPP_PROJ=/MD /W3 /GX /O2 /Ob2 /I "..\..\..\..\..\src" /D "WIN64" /D "NDEBUG" /D "_CONSOLE" /D "WIN32" /D "_WINDOWS" /D "PLATFORM_WIN32" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c + +.c{$(INTDIR)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cpp{$(INTDIR)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cxx{$(INTDIR)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.c{$(INTDIR)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cpp{$(INTDIR)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cxx{$(INTDIR)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +RSC=rc.exe +BSC32=bscmake.exe +BSC32_FLAGS=/o"$(OUTDIR)\XSerializerTest.bsc" +BSC32_SBRS= \ + +LINK32=link.exe +LINK32_FLAGS=kernel32.lib user32.lib xerces-c_2.lib /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\XSerializerTest.pdb" /machine:IX86 /out:"$(OUTDIR)\XSerializerTest.exe" /libpath:"..\..\..\..\..\Build\Win64\VC6\Release" /machine:IA64 +LINK32_OBJS= \ + "$(INTDIR)\SAXCountHandlers.obj" \ + "$(INTDIR)\XSerializerTest.obj" \ + "$(OUTDIR)\xerces-c_2.lib" + +"$(OUTDIR)\XSerializerTest.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) + $(LINK32) @<< + $(LINK32_FLAGS) $(LINK32_OBJS) +<< + +!ENDIF + + +!IF "$(NO_EXTERNAL_DEPS)" != "1" +!IF EXISTS("XSerializerTest.dep") +!INCLUDE "XSerializerTest.dep" +!ELSE +!MESSAGE Warning: cannot find "XSerializerTest.dep" +!ENDIF +!ENDIF + + +!IF "$(CFG)" == "XSerializerTest - Win32 Release" || "$(CFG)" == "XSerializerTest - Win32 Debug" || "$(CFG)" == "XSerializerTest - Win64 Debug" || "$(CFG)" == "XSerializerTest - Win64 Release" +SOURCE=..\..\..\..\..\samples\SAXCount\SAXCountHandlers.cpp + +"$(INTDIR)\SAXCountHandlers.obj" : $(SOURCE) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +SOURCE=..\..\..\..\..\tests\XSerializerTest\XSerializerTest.cpp + +"$(INTDIR)\XSerializerTest.obj" : $(SOURCE) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!IF "$(CFG)" == "XSerializerTest - Win32 Release" + +"XercesLib - Win32 Release" : + cd "..\XercesLib" + $(MAKE) CPP=$(CPP) /$(MAKEFLAGS) /F ".\XercesLib.mak" CFG="XercesLib - Win32 Release" + cd "..\XSerializerTest" + +"XercesLib - Win32 ReleaseCLEAN" : + cd "..\XercesLib" + $(MAKE) CPP=$(CPP) /$(MAKEFLAGS) /F ".\XercesLib.mak" CFG="XercesLib - Win32 Release" RECURSE=1 CLEAN + cd "..\XSerializerTest" + +!ELSEIF "$(CFG)" == "XSerializerTest - Win32 Debug" + +"XercesLib - Win32 Debug" : + cd "..\XercesLib" + $(MAKE) CPP=$(CPP) /$(MAKEFLAGS) /F ".\XercesLib.mak" CFG="XercesLib - Win32 Debug" + cd "..\XSerializerTest" + +"XercesLib - Win32 DebugCLEAN" : + cd "..\XercesLib" + $(MAKE) CPP=$(CPP) /$(MAKEFLAGS) /F ".\XercesLib.mak" CFG="XercesLib - Win32 Debug" RECURSE=1 CLEAN + cd "..\XSerializerTest" + +!ELSEIF "$(CFG)" == "XSerializerTest - Win64 Debug" + +"XercesLib - Win64 Debug" : + cd "..\XercesLib" + $(MAKE) CPP=$(CPP) /$(MAKEFLAGS) /F ".\XercesLib.mak" CFG="XercesLib - Win64 Debug" + cd "..\XSerializerTest" + +"XercesLib - Win64 DebugCLEAN" : + cd "..\XercesLib" + $(MAKE) CPP=$(CPP) /$(MAKEFLAGS) /F ".\XercesLib.mak" CFG="XercesLib - Win64 Debug" RECURSE=1 CLEAN + cd "..\XSerializerTest" + +!ELSEIF "$(CFG)" == "XSerializerTest - Win64 Release" + +"XercesLib - Win64 Release" : + cd "..\XercesLib" + $(MAKE) CPP=$(CPP) /$(MAKEFLAGS) /F ".\XercesLib.mak" CFG="XercesLib - Win64 Release" + cd "..\XSerializerTest" + +"XercesLib - Win64 ReleaseCLEAN" : + cd "..\XercesLib" + $(MAKE) CPP=$(CPP) /$(MAKEFLAGS) /F ".\XercesLib.mak" CFG="XercesLib - Win64 Release" RECURSE=1 CLEAN + cd "..\XSerializerTest" + +!ENDIF + + +!ENDIF + -- GitLab