From 68a00200b5fd01099b32ff56964788e32bedbb7b Mon Sep 17 00:00:00 2001 From: erg Date: Sat, 22 Jan 2005 00:18:01 +0000 Subject: [PATCH] Update build files for windows --- windows/cmd/tools/tred.mak | 47 +++++++++++--------------------------- 1 file changed, 13 insertions(+), 34 deletions(-) diff --git a/windows/cmd/tools/tred.mak b/windows/cmd/tools/tred.mak index 02920f760..e0d3de376 100644 --- a/windows/cmd/tools/tred.mak +++ b/windows/cmd/tools/tred.mak @@ -58,7 +58,7 @@ CLEAN : "$(OUTDIR)" : if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" -CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "." /I "../../.." /I "../../lib/graph" /I "../../lib/cdt" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "HAVE_CONFIG_H" /Fp"$(INTDIR)\tred.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c +CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "." /I "../.." /I "../../lib/graph" /I "../../lib/cdt" /I "../../lib/ingraphs" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "HAVE_CONFIG_H" /Fp"$(INTDIR)\tred.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c BSC32=bscmake.exe BSC32_FLAGS=/nologo /o"$(OUTDIR)\tred.bsc" BSC32_SBRS= \ @@ -67,23 +67,13 @@ LINK32=link.exe LINK32_FLAGS=graph.lib cdt.lib ingraphs.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\tred.pdb" /machine:I386 /out:"$(OUTDIR)\tred.exe" /libpath:"../../lib/lib/Release" LINK32_OBJS= \ "$(INTDIR)\tred.obj" \ - "$(OUTDIR)\ingraphs.lib" + "..\..\lib\ingraphs\Release\ingraphs.lib" "$(OUTDIR)\tred.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) $(LINK32) @<< $(LINK32_FLAGS) $(LINK32_OBJS) << -SOURCE="$(InputPath)" -DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep - -ALL : $(DS_POSTBUILD_DEP) - -# Begin Custom Macros -OutDir=.\Release -# End Custom Macros - - !ELSEIF "$(CFG)" == "tred - Win32 Debug" OUTDIR=.\Debug @@ -117,7 +107,7 @@ CLEAN : "$(OUTDIR)" : if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /ZI /Od /I "." /I "../../.." /I "../../lib/graph" /I "../../lib/cdt" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "HAVE_CONFIG_H" /Fp"$(INTDIR)\tred.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c +CPP_PROJ=/nologo /MLd /W3 /Gm /GX /ZI /Od /I "." /I "../.." /I "../../lib/graph" /I "../../lib/cdt" /I "../../lib/ingraphs" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "HAVE_CONFIG_H" /Fp"$(INTDIR)\tred.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c BSC32=bscmake.exe BSC32_FLAGS=/nologo /o"$(OUTDIR)\tred.bsc" BSC32_SBRS= \ @@ -126,23 +116,13 @@ LINK32=link.exe LINK32_FLAGS=graph.lib cdt.lib ingraphs.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\tred.pdb" /debug /machine:I386 /out:"$(OUTDIR)\tred.exe" /pdbtype:sept /libpath:"../../lib/lib/Debug" LINK32_OBJS= \ "$(INTDIR)\tred.obj" \ - "$(OUTDIR)\ingraphs.lib" + "..\..\lib\ingraphs\Debug\ingraphs.lib" "$(OUTDIR)\tred.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) $(LINK32) @<< $(LINK32_FLAGS) $(LINK32_OBJS) << -SOURCE="$(InputPath)" -DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep - -ALL : $(DS_POSTBUILD_DEP) - -# Begin Custom Macros -OutDir=.\Debug -# End Custom Macros - - !ENDIF .c{$(INTDIR)}.obj:: @@ -186,35 +166,34 @@ OutDir=.\Debug !IF "$(CFG)" == "tred - Win32 Release" || "$(CFG)" == "tred - Win32 Debug" -SOURCE=..\src\tred.c +SOURCE=.\tred.c "$(INTDIR)\tred.obj" : $(SOURCE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) !IF "$(CFG)" == "tred - Win32 Release" "ingraphs - Win32 Release" : - cd "." + cd "\graphvizCVS\builddaemon\graphviz-win\lib\ingraphs" $(MAKE) /$(MAKEFLAGS) /F ".\ingraphs.mak" CFG="ingraphs - Win32 Release" - cd "." + cd "..\..\cmd\tools" "ingraphs - Win32 ReleaseCLEAN" : - cd "." + cd "\graphvizCVS\builddaemon\graphviz-win\lib\ingraphs" $(MAKE) /$(MAKEFLAGS) /F ".\ingraphs.mak" CFG="ingraphs - Win32 Release" RECURSE=1 CLEAN - cd "." + cd "..\..\cmd\tools" !ELSEIF "$(CFG)" == "tred - Win32 Debug" "ingraphs - Win32 Debug" : - cd "." + cd "\graphvizCVS\builddaemon\graphviz-win\lib\ingraphs" $(MAKE) /$(MAKEFLAGS) /F ".\ingraphs.mak" CFG="ingraphs - Win32 Debug" - cd "." + cd "..\..\cmd\tools" "ingraphs - Win32 DebugCLEAN" : - cd "." + cd "\graphvizCVS\builddaemon\graphviz-win\lib\ingraphs" $(MAKE) /$(MAKEFLAGS) /F ".\ingraphs.mak" CFG="ingraphs - Win32 Debug" RECURSE=1 CLEAN - cd "." + cd "..\..\cmd\tools" !ENDIF -- 2.40.0