- # Microsoft Developer Studio Generated NMAKE File, Based on pwrc.dsp
- !IF "$(CFG)" == ""
- CFG=pwrc - Win32 Debug
- !MESSAGE No configuration specified. Defaulting to pwrc - Win32 Debug.
- !ENDIF
- !IF "$(CFG)" != "pwrc - Win32 Release" && "$(CFG)" != "pwrc - Win32 Debug"
- !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 "pwrc.mak" CFG="pwrc - Win32 Debug"
- !MESSAGE
- !MESSAGE Possible choices for configuration are:
- !MESSAGE
- !MESSAGE "pwrc - Win32 Release" (based on "Win32 (x86) Console Application")
- !MESSAGE "pwrc - Win32 Debug" (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)" == "pwrc - Win32 Release"
- OUTDIR=.Release
- INTDIR=.Release
- # Begin Custom Macros
- OutDir=.Release
- # End Custom Macros
- !IF "$(RECURSE)" == "0"
- ALL : ".pr_gramm.h" ".pr_gramm.cxx" "$(OUTDIR)pwrc.exe"
- !ELSE
- ALL : "Console - Win32 Release" ".pr_gramm.h" ".pr_gramm.cxx" "$(OUTDIR)pwrc.exe"
- !ENDIF
- !IF "$(RECURSE)" == "1"
- CLEAN :"Console - Win32 ReleaseCLEAN"
- !ELSE
- CLEAN :
- !ENDIF
- -@erase "$(INTDIR)codegen.obj"
- -@erase "$(INTDIR)dwindows.obj"
- -@erase "$(INTDIR)main.obj"
- -@erase "$(INTDIR)pr_gramm.obj"
- -@erase "$(INTDIR)pr_lex.obj"
- -@erase "$(INTDIR)precompile.obj"
- -@erase "$(INTDIR)pwrc.pch"
- -@erase "$(INTDIR)vc60.idb"
- -@erase "$(INTDIR)windows.obj"
- -@erase "$(OUTDIR)pwrc.exe"
- -@erase ".pr_gramm.cxx"
- -@erase ".pr_gramm.h"
- "$(OUTDIR)" :
- if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
- CPP=cl.exe
- CPP_PROJ=/nologo /MD /W4 /GX /O2 /I "....msosinclude" /I "....mswininclude" /I "....common" /D "NDEBUG" /Fp"$(INTDIR)pwrc.pch" /Yu"ptlib.h" /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=/nologo /o"$(OUTDIR)pwrc.bsc"
- BSC32_SBRS=
- LINK32=link.exe
- LINK32_FLAGS=mpr.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)pwrc.pdb" /machine:I386 /out:"$(OUTDIR)pwrc.exe" /libpath:"....lib"
- LINK32_OBJS=
- "$(INTDIR)codegen.obj"
- "$(INTDIR)dwindows.obj"
- "$(INTDIR)main.obj"
- "$(INTDIR)pr_gramm.obj"
- "$(INTDIR)pr_lex.obj"
- "$(INTDIR)precompile.obj"
- "$(INTDIR)windows.obj"
- "....Libptlibs.lib"
- "$(OUTDIR)pwrc.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
- $(LINK32) @<<
- $(LINK32_FLAGS) $(LINK32_OBJS)
- <<
- SOURCE="$(InputPath)"
- PostBuild_Desc=Copying resource compiler to pwlib/lib directory.
- DS_POSTBUILD_DEP=$(INTDIR)postbld.dep
- ALL : $(DS_POSTBUILD_DEP)
- # Begin Custom Macros
- OutDir=.Release
- # End Custom Macros
- $(DS_POSTBUILD_DEP) : "Console - Win32 Release" ".pr_gramm.h" ".pr_gramm.cxx" "$(OUTDIR)pwrc.exe"
- copy Releasepwrc.exe ....lib > nul
- echo Helper for Post-build step > "$(DS_POSTBUILD_DEP)"
- !ELSEIF "$(CFG)" == "pwrc - Win32 Debug"
- OUTDIR=.Debug
- INTDIR=.Debug
- # Begin Custom Macros
- OutDir=.Debug
- # End Custom Macros
- !IF "$(RECURSE)" == "0"
- ALL : "$(OUTDIR)pwrc.exe"
- !ELSE
- ALL : "Console - Win32 Debug" "$(OUTDIR)pwrc.exe"
- !ENDIF
- !IF "$(RECURSE)" == "1"
- CLEAN :"Console - Win32 DebugCLEAN"
- !ELSE
- CLEAN :
- !ENDIF
- -@erase "$(INTDIR)codegen.obj"
- -@erase "$(INTDIR)dwindows.obj"
- -@erase "$(INTDIR)main.obj"
- -@erase "$(INTDIR)pr_gramm.obj"
- -@erase "$(INTDIR)pr_lex.obj"
- -@erase "$(INTDIR)precompile.obj"
- -@erase "$(INTDIR)pwrc.pch"
- -@erase "$(INTDIR)vc60.idb"
- -@erase "$(INTDIR)vc60.pdb"
- -@erase "$(INTDIR)windows.obj"
- -@erase "$(OUTDIR)pwrc.exe"
- -@erase "$(OUTDIR)pwrc.ilk"
- -@erase "$(OUTDIR)pwrc.pdb"
- "$(OUTDIR)" :
- if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
- CPP=cl.exe
- CPP_PROJ=/nologo /MDd /W4 /Gi /GX /ZI /Od /I "....msosinclude" /I "....mswininclude" /I "....common" /D "_DEBUG" /Fp"$(INTDIR)pwrc.pch" /Yu"ptlib.h" /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=/nologo /o"$(OUTDIR)pwrc.bsc"
- BSC32_SBRS=
- LINK32=link.exe
- LINK32_FLAGS=ptlibsd.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib mpr.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)pwrc.pdb" /debug /machine:I386 /out:"$(OUTDIR)pwrc.exe" /pdbtype:sept /libpath:"....lib"
- LINK32_OBJS=
- "$(INTDIR)codegen.obj"
- "$(INTDIR)dwindows.obj"
- "$(INTDIR)main.obj"
- "$(INTDIR)pr_gramm.obj"
- "$(INTDIR)pr_lex.obj"
- "$(INTDIR)precompile.obj"
- "$(INTDIR)windows.obj"
- "....Libptlibsd.lib"
- "$(OUTDIR)pwrc.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
- $(LINK32) @<<
- $(LINK32_FLAGS) $(LINK32_OBJS)
- <<
- !ENDIF
- !IF "$(NO_EXTERNAL_DEPS)" != "1"
- !IF EXISTS("pwrc.dep")
- !INCLUDE "pwrc.dep"
- !ELSE
- !MESSAGE Warning: cannot find "pwrc.dep"
- !ENDIF
- !ENDIF
- !IF "$(CFG)" == "pwrc - Win32 Release" || "$(CFG)" == "pwrc - Win32 Debug"
- SOURCE=.codegen.cxx
- "$(INTDIR)codegen.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)pwrc.pch"
- SOURCE=.dwindows.cxx
- "$(INTDIR)dwindows.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)pwrc.pch"
- SOURCE=.main.cxx
- "$(INTDIR)main.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)pwrc.pch"
- SOURCE=.pr_gramm.cxx
- !IF "$(CFG)" == "pwrc - Win32 Release"
- CPP_SWITCHES=/nologo /MD /W3 /GX /O2 /I "....msosinclude" /I "....mswininclude" /I "....common" /D "NDEBUG" /D "MSDOS" /Fo"$(INTDIR)\" /Fd"$(INTDIR)\" /FD /c
- "$(INTDIR)pr_gramm.obj" : $(SOURCE) "$(INTDIR)"
- $(CPP) @<<
- $(CPP_SWITCHES) $(SOURCE)
- <<
- !ELSEIF "$(CFG)" == "pwrc - Win32 Debug"
- CPP_SWITCHES=/nologo /MDd /W3 /Gi /GX /ZI /Od /I "....msosinclude" /I "....mswininclude" /I "....common" /D "_DEBUG" /D "MSDOS" /Fo"$(INTDIR)\" /Fd"$(INTDIR)\" /FD /c
- "$(INTDIR)pr_gramm.obj" : $(SOURCE) "$(INTDIR)"
- $(CPP) @<<
- $(CPP_SWITCHES) $(SOURCE)
- <<
- !ENDIF
- SOURCE=.pr_lex.cxx
- !IF "$(CFG)" == "pwrc - Win32 Release"
- CPP_SWITCHES=/nologo /MD /W3 /GX /O2 /I "....msosinclude" /I "....mswininclude" /I "....common" /D "NDEBUG" /Fo"$(INTDIR)\" /Fd"$(INTDIR)\" /FD /c
- "$(INTDIR)pr_lex.obj" : $(SOURCE) "$(INTDIR)"
- $(CPP) @<<
- $(CPP_SWITCHES) $(SOURCE)
- <<
- !ELSEIF "$(CFG)" == "pwrc - Win32 Debug"
- CPP_SWITCHES=/nologo /MDd /W3 /Gi /GX /ZI /Od /I "....msosinclude" /I "....mswininclude" /I "....common" /D "_DEBUG" /Fo"$(INTDIR)\" /Fd"$(INTDIR)\" /FD /c
- "$(INTDIR)pr_lex.obj" : $(SOURCE) "$(INTDIR)"
- $(CPP) @<<
- $(CPP_SWITCHES) $(SOURCE)
- <<
- !ENDIF
- SOURCE=.precompile.cxx
- !IF "$(CFG)" == "pwrc - Win32 Release"
- CPP_SWITCHES=/nologo /MD /W4 /GX /O2 /I "....msosinclude" /I "....mswininclude" /I "....common" /D "NDEBUG" /Fp"$(INTDIR)pwrc.pch" /Yc"ptlib.h" /Fo"$(INTDIR)\" /Fd"$(INTDIR)\" /FD /c
- "$(INTDIR)precompile.obj" "$(INTDIR)pwrc.pch" : $(SOURCE) "$(INTDIR)"
- $(CPP) @<<
- $(CPP_SWITCHES) $(SOURCE)
- <<
- !ELSEIF "$(CFG)" == "pwrc - Win32 Debug"
- CPP_SWITCHES=/nologo /MDd /W4 /Gi /GX /ZI /Od /I "....msosinclude" /I "....mswininclude" /I "....common" /D "_DEBUG" /Fp"$(INTDIR)pwrc.pch" /Yc"ptlib.h" /Fo"$(INTDIR)\" /Fd"$(INTDIR)\" /FD /c
- "$(INTDIR)precompile.obj" "$(INTDIR)pwrc.pch" : $(SOURCE) "$(INTDIR)"
- $(CPP) @<<
- $(CPP_SWITCHES) $(SOURCE)
- <<
- !ENDIF
- SOURCE=.windows.cxx
- "$(INTDIR)windows.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)pwrc.pch"
- !IF "$(CFG)" == "pwrc - Win32 Release"
- "Console - Win32 Release" :
- cd "Workpwlibsrcptlibmsos"
- $(MAKE) /$(MAKEFLAGS) /F .Console.mak CFG="Console - Win32 Release"
- cd "......ToolsPWRc"
- "Console - Win32 ReleaseCLEAN" :
- cd "Workpwlibsrcptlibmsos"
- $(MAKE) /$(MAKEFLAGS) /F .Console.mak CFG="Console - Win32 Release" RECURSE=1 CLEAN
- cd "......ToolsPWRc"
- !ELSEIF "$(CFG)" == "pwrc - Win32 Debug"
- "Console - Win32 Debug" :
- cd "Workpwlibsrcptlibmsos"
- $(MAKE) /$(MAKEFLAGS) /F .Console.mak CFG="Console - Win32 Debug"
- cd "......ToolsPWRc"
- "Console - Win32 DebugCLEAN" :
- cd "Workpwlibsrcptlibmsos"
- $(MAKE) /$(MAKEFLAGS) /F .Console.mak CFG="Console - Win32 Debug" RECURSE=1 CLEAN
- cd "......ToolsPWRc"
- !ENDIF
- SOURCE=.pr_gramm.y
- !IF "$(CFG)" == "pwrc - Win32 Release"
- InputDir=.
- InputPath=.pr_gramm.y
- InputName=pr_gramm
- ".pr_gramm.h" ".pr_gramm.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- <<tempfile.bat
- @echo off
- bison -v -d $(InputName).y
- move $(InputName)_tab.h $(InputName).h
- move $(InputName)_tab.c $(InputName).cxx
- <<
- !ELSEIF "$(CFG)" == "pwrc - Win32 Debug"
- InputDir=.
- InputPath=.pr_gramm.y
- InputName=pr_gramm
- ".pr_gramm.h" ".pr_gramm.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- <<tempfile.bat
- @echo off
- bison -v -d $(InputName).y
- move $(InputName)_tab.h $(InputName).h
- move $(InputName)_tab.c $(InputName).cxx
- <<
- !ENDIF
- SOURCE=.pr_lex.l
- !IF "$(CFG)" == "pwrc - Win32 Release"
- InputDir=.
- InputPath=.pr_lex.l
- InputName=pr_lex
- ".pr_lex.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- <<tempfile.bat
- @echo off
- flex -t $(InputName).l > $(InputDir)$(InputName).cxx
- <<
- !ELSEIF "$(CFG)" == "pwrc - Win32 Debug"
- InputDir=.
- InputPath=.pr_lex.l
- InputName=pr_lex
- USERDEP__PR_LE="$(InputDir)pr_gramm.h"
- ".pr_lex.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" $(USERDEP__PR_LE)
- <<tempfile.bat
- @echo off
- flex -t $(InputName).l > $(InputDir)$(InputName).cxx
- <<
- !ENDIF
- !ENDIF