- # Microsoft Developer Studio Generated NMAKE File, Based on PTLib.dsp
- !IF "$(CFG)" == ""
- CFG=PTLib - Win32 Release
- !MESSAGE No configuration specified. Defaulting to PTLib - Win32 Release.
- !ENDIF
- !IF "$(CFG)" != "PTLib - Win32 Release" && "$(CFG)" != "PTLib - 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 "PTLib.mak" CFG="PTLib - Win32 Release"
- !MESSAGE
- !MESSAGE Possible choices for configuration are:
- !MESSAGE
- !MESSAGE "PTLib - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
- !MESSAGE "PTLib - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
- !MESSAGE
- !ERROR An invalid configuration is specified.
- !ENDIF
- !IF "$(OS)" == "Windows_NT"
- NULL=
- !ELSE
- NULL=nul
- !ENDIF
- CPP=cl.exe
- MTL=midl.exe
- RSC=rc.exe
- !IF "$(CFG)" == "PTLib - Win32 Release"
- OUTDIR=.......Lib
- INTDIR=.......LibRelease
- # Begin Custom Macros
- OutDir=.......Lib
- # End Custom Macros
- !IF "$(RECURSE)" == "0"
- ALL : "$(OUTDIR)PTLib.dll" ".......LibPTLib.dbg"
- !ELSE
- ALL : "Console - Win32 Release" "MergeSym - Win32 Release" "$(OUTDIR)PTLib.dll" ".......LibPTLib.dbg"
- !ENDIF
- !IF "$(RECURSE)" == "1"
- CLEAN :"MergeSym - Win32 ReleaseCLEAN" "Console - Win32 ReleaseCLEAN"
- !ELSE
- CLEAN :
- !ENDIF
- -@erase "$(INTDIR)dllmain.obj"
- -@erase "$(INTDIR)ptlib.res"
- -@erase "$(INTDIR)vc60.idb"
- -@erase "$(INTDIR)vc60.pdb"
- -@erase "$(OUTDIR)PTLib.dll"
- -@erase "$(OUTDIR)PTLib.exp"
- -@erase "$(OUTDIR)PTLib.lib"
- -@erase "$(OUTDIR)PTLib.pdb"
- -@erase ".......LibPTLib.dbg"
- "$(OUTDIR)" :
- if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
- "$(INTDIR)" :
- if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)"
- CPP_PROJ=/nologo /MD /W4 /GX /Zi /O2 /Ob2 /I "......includeptlibmsos" /I "......include" /D "NDEBUG" /Fp"$(INTDIR)PTLib.pch" /Yu"ptlib.h" /Fo"$(INTDIR)\" /Fd"$(INTDIR)\" /FD /c
- MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32
- RSC_PROJ=/l 0xc09 /fo"$(INTDIR)libver.res" /d "NDEBUG"
- BSC32=bscmake.exe
- BSC32_FLAGS=/nologo /o"$(OUTDIR)PTLib.bsc"
- BSC32_SBRS=
- LINK32=link.exe
- LINK32_FLAGS=winmm.lib mpr.lib snmpapi.lib wsock32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib /nologo /subsystem:windows /dll /incremental:no /pdb:"$(OUTDIR)PTLib.pdb" /debug /debugtype:both /machine:I386 /def:"......LibReleaseptlib.def" /out:"$(OUTDIR)PTLib.dll" /implib:"$(OUTDIR)PTLib.lib" /libpath:"......lib"
- DEF_FILE=
- "$(INTDIR)ptlib.def"
- LINK32_OBJS=
- "$(INTDIR)dllmain.obj"
- "$(INTDIR)ptlib.res"
- "$(OUTDIR)ptlibs.lib"
- "$(OUTDIR)PTLib.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
- $(LINK32) @<<
- $(LINK32_FLAGS) $(LINK32_OBJS)
- <<
- OutDir=.......Lib
- TargetName=PTLib
- InputPath=WorkpwlibLibPTLib.dll
- SOURCE="$(InputPath)"
- "$(OUTDIR)PTLib.dbg" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- <<tempfile.bat
- @echo off
- rebase -b 0x10000000 -x . $(OutDir)$(TargetName).dll
- <<
- !ELSEIF "$(CFG)" == "PTLib - Win32 Debug"
- OUTDIR=.......Lib
- INTDIR=.......LibDebug
- # Begin Custom Macros
- OutDir=.......Lib
- # End Custom Macros
- !IF "$(RECURSE)" == "0"
- ALL : "$(OUTDIR)PTLibd.dll"
- !ELSE
- ALL : "Console - Win32 Debug" "MergeSym - Win32 Debug" "$(OUTDIR)PTLibd.dll"
- !ENDIF
- !IF "$(RECURSE)" == "1"
- CLEAN :"MergeSym - Win32 DebugCLEAN" "Console - Win32 DebugCLEAN"
- !ELSE
- CLEAN :
- !ENDIF
- -@erase "$(INTDIR)dllmain.obj"
- -@erase "$(INTDIR)ptlib.res"
- -@erase "$(INTDIR)vc60.idb"
- -@erase "$(INTDIR)vc60.pdb"
- -@erase "$(OUTDIR)PTLibd.dll"
- -@erase "$(OUTDIR)PTLibd.exp"
- -@erase "$(OUTDIR)PTLibd.ilk"
- -@erase "$(OUTDIR)PTLibd.lib"
- -@erase "$(OUTDIR)PTLibd.pdb"
- "$(OUTDIR)" :
- if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
- "$(INTDIR)" :
- if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)"
- CPP_PROJ=/nologo /MDd /W4 /GX /Zi /Od /I "......includeptlibmsos" /I "......include" /D "_DEBUG" /Fo"$(INTDIR)\" /Fd"$(INTDIR)\" /FD /c
- MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32
- RSC_PROJ=/l 0xc09 /fo"$(INTDIR)ptlib.res" /d "_DEBUG"
- BSC32=bscmake.exe
- BSC32_FLAGS=/nologo /o"$(OUTDIR)PTLib.bsc"
- BSC32_SBRS=
- LINK32=link.exe
- LINK32_FLAGS=winmm.lib mpr.lib snmpapi.lib wsock32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib /nologo /subsystem:windows /dll /incremental:yes /pdb:"$(OUTDIR)PTLibd.pdb" /debug /machine:I386 /def:"......LibDebugPTLibd.def" /out:"$(OUTDIR)PTLibd.dll" /implib:"$(OUTDIR)PTLibd.lib" /libpath:"..lib"
- DEF_FILE=
- "$(INTDIR)PTLibd.def"
- LINK32_OBJS=
- "$(INTDIR)dllmain.obj"
- "$(INTDIR)ptlib.res"
- "$(OUTDIR)ptlibsd.lib"
- "$(OUTDIR)PTLibd.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
- $(LINK32) @<<
- $(LINK32_FLAGS) $(LINK32_OBJS)
- <<
- !ENDIF
- .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) $<
- <<
- !IF "$(NO_EXTERNAL_DEPS)" != "1"
- !IF EXISTS("PTLib.dep")
- !INCLUDE "PTLib.dep"
- !ELSE
- !MESSAGE Warning: cannot find "PTLib.dep"
- !ENDIF
- !ENDIF
- !IF "$(CFG)" == "PTLib - Win32 Release" || "$(CFG)" == "PTLib - Win32 Debug"
- !IF "$(CFG)" == "PTLib - Win32 Release"
- "MergeSym - Win32 Release" :
- cd "WorkpwlibtoolsMergeSym"
- $(MAKE) /$(MAKEFLAGS) /F .MergeSym.mak CFG="MergeSym - Win32 Release"
- cd "....srcptlibmsos"
- "MergeSym - Win32 ReleaseCLEAN" :
- cd "WorkpwlibtoolsMergeSym"
- $(MAKE) /$(MAKEFLAGS) /F .MergeSym.mak CFG="MergeSym - Win32 Release" RECURSE=1 CLEAN
- cd "....srcptlibmsos"
- !ELSEIF "$(CFG)" == "PTLib - Win32 Debug"
- "MergeSym - Win32 Debug" :
- cd "WorkpwlibtoolsMergeSym"
- $(MAKE) /$(MAKEFLAGS) /F .MergeSym.mak CFG="MergeSym - Win32 Debug"
- cd "....srcptlibmsos"
- "MergeSym - Win32 DebugCLEAN" :
- cd "WorkpwlibtoolsMergeSym"
- $(MAKE) /$(MAKEFLAGS) /F .MergeSym.mak CFG="MergeSym - Win32 Debug" RECURSE=1 CLEAN
- cd "....srcptlibmsos"
- !ENDIF
- !IF "$(CFG)" == "PTLib - Win32 Release"
- "Console - Win32 Release" :
- cd "."
- $(MAKE) /$(MAKEFLAGS) /F .Console.mak CFG="Console - Win32 Release"
- cd "."
- "Console - Win32 ReleaseCLEAN" :
- cd "."
- $(MAKE) /$(MAKEFLAGS) /F .Console.mak CFG="Console - Win32 Release" RECURSE=1 CLEAN
- cd "."
- !ELSEIF "$(CFG)" == "PTLib - Win32 Debug"
- "Console - Win32 Debug" :
- cd "."
- $(MAKE) /$(MAKEFLAGS) /F .Console.mak CFG="Console - Win32 Debug"
- cd "."
- "Console - Win32 DebugCLEAN" :
- cd "."
- $(MAKE) /$(MAKEFLAGS) /F .Console.mak CFG="Console - Win32 Debug" RECURSE=1 CLEAN
- cd "."
- !ENDIF
- SOURCE=.dllmain.cxx
- !IF "$(CFG)" == "PTLib - Win32 Release"
- CPP_SWITCHES=/nologo /MD /W4 /GX /Zi /O2 /Ob2 /I "......includeptlibmsos" /I "......include" /D "NDEBUG" /Fo"$(INTDIR)\" /Fd"$(INTDIR)\" /FD /c
- "$(INTDIR)dllmain.obj" : $(SOURCE) "$(INTDIR)"
- $(CPP) @<<
- $(CPP_SWITCHES) $(SOURCE)
- <<
- !ELSEIF "$(CFG)" == "PTLib - Win32 Debug"
- CPP_SWITCHES=/nologo /MDd /W4 /GX /Zi /Od /I "......includeptlibmsos" /I "......include" /D "_DEBUG" /Fo"$(INTDIR)\" /Fd"$(INTDIR)\" /FD /c
- "$(INTDIR)dllmain.obj" : $(SOURCE) "$(INTDIR)"
- $(CPP) @<<
- $(CPP_SWITCHES) $(SOURCE)
- <<
- !ENDIF
- SOURCE=.libver.rc
- !IF "$(CFG)" == "PTLib - Win32 Release"
- "$(INTDIR)ptlib.res" : $(SOURCE) "$(INTDIR)"
- $(RSC) /l 0xc09 /fo"$(INTDIR)ptlib.res" /d "NDEBUG" /d PRODUCT=PTLib $(SOURCE)
- !ELSEIF "$(CFG)" == "PTLib - Win32 Debug"
- "$(INTDIR)ptlib.res" : $(SOURCE) "$(INTDIR)"
- $(RSC) /l 0xc09 /fo"$(INTDIR)ptlib.res" /d "_DEBUG" /d PRODUCT=PTLib $(SOURCE)
- !ENDIF
- SOURCE=......includeptlibmsosptlib.dtf
- !IF "$(CFG)" == "PTLib - Win32 Release"
- IntDir=.......LibRelease
- OutDir=.......Lib
- TargetName=PTLib
- InputPath=......includeptlibmsosptlib.dtf
- USERDEP__PTLIB="$(OutDir)ptlibs.lib"
- "$(INTDIR)ptlib.def" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" $(USERDEP__PTLIB)
- <<tempfile.bat
- @echo off
- MergeSym $(OutDir)ptlibs.lib $(InputPath)
- copy $(InputPath)+nul $(IntDir)$(TargetName).def > nul
- <<
- !ELSEIF "$(CFG)" == "PTLib - Win32 Debug"
- !ENDIF
- SOURCE=......includeptlibmsosptlibd.dtf
- !IF "$(CFG)" == "PTLib - Win32 Release"
- !ELSEIF "$(CFG)" == "PTLib - Win32 Debug"
- IntDir=.......LibDebug
- OutDir=.......Lib
- TargetName=PTLibd
- InputPath=......includeptlibmsosptlibd.dtf
- USERDEP__PTLIBD="$(OutDir)ptlibsd.lib"
- "$(INTDIR)PTLibd.def" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" $(USERDEP__PTLIBD)
- <<tempfile.bat
- @echo off
- MergeSym $(OutDir)ptlibsd.lib $(InputPath)
- copy $(InputPath)+nul $(IntDir)$(TargetName).def > nul
- <<
- !ENDIF
- !ENDIF