- # Microsoft Developer Studio Generated NMAKE File, Based on asnparser.dsp
- !IF "$(CFG)" == ""
- CFG=ASNParser - Win32 Debug
- !MESSAGE No configuration specified. Defaulting to ASNParser - Win32 Debug.
- !ENDIF
- !IF "$(CFG)" != "ASNParser - Win32 Release" && "$(CFG)" != "ASNParser - 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 "asnparser.mak" CFG="ASNParser - Win32 Debug"
- !MESSAGE
- !MESSAGE Possible choices for configuration are:
- !MESSAGE
- !MESSAGE "ASNParser - Win32 Release" (based on "Win32 (x86) Console Application")
- !MESSAGE "ASNParser - 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)" == "ASNParser - Win32 Release"
- OUTDIR=.Release
- INTDIR=.Release
- # Begin Custom Macros
- OutDir=.Release
- # End Custom Macros
- !IF "$(RECURSE)" == "0"
- ALL : "$(OUTDIR)asnparser.exe"
- !ELSE
- ALL : "PTLib - Win32 Release" "$(OUTDIR)asnparser.exe"
- !ENDIF
- !IF "$(RECURSE)" == "1"
- CLEAN :"PTLib - Win32 ReleaseCLEAN"
- !ELSE
- CLEAN :
- !ENDIF
- -@erase "$(INTDIR)asn_grammar.obj"
- -@erase "$(INTDIR)asn_lex.obj"
- -@erase "$(INTDIR)asnparser.pch"
- -@erase "$(INTDIR)main.obj"
- -@erase "$(INTDIR)PreCompile.obj"
- -@erase "$(INTDIR)vc60.idb"
- -@erase "$(OUTDIR)asnparser.exe"
- "$(OUTDIR)" :
- if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
- CPP=cl.exe
- CPP_PROJ=/nologo /MD /W4 /GX /O2 /I "....includeptlibmsos" /I "....include" /D "NDEBUG" /Fp"$(INTDIR)asnparser.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)asnparser.bsc"
- BSC32_SBRS=
- LINK32=link.exe
- LINK32_FLAGS=ptlib.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)asnparser.pdb" /machine:I386 /out:"$(OUTDIR)asnparser.exe" /libpath:"....lib"
- LINK32_OBJS=
- "$(INTDIR)asn_grammar.obj"
- "$(INTDIR)asn_lex.obj"
- "$(INTDIR)main.obj"
- "$(INTDIR)PreCompile.obj"
- "....LibPTLib.lib"
- "$(OUTDIR)asnparser.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
- $(LINK32) @<<
- $(LINK32_FLAGS) $(LINK32_OBJS)
- <<
- SOURCE="$(InputPath)"
- PostBuild_Desc=Copying ASN parser 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) : "PTLib - Win32 Release" "$(OUTDIR)asnparser.exe"
- copy Releaseasnparser.exe ....lib > nul
- echo Helper for Post-build step > "$(DS_POSTBUILD_DEP)"
- !ELSEIF "$(CFG)" == "ASNParser - Win32 Debug"
- OUTDIR=.Debug
- INTDIR=.Debug
- # Begin Custom Macros
- OutDir=.Debug
- # End Custom Macros
- !IF "$(RECURSE)" == "0"
- ALL : "$(OUTDIR)asnparser.exe"
- !ELSE
- ALL : "PTLib - Win32 Debug" "$(OUTDIR)asnparser.exe"
- !ENDIF
- !IF "$(RECURSE)" == "1"
- CLEAN :"PTLib - Win32 DebugCLEAN"
- !ELSE
- CLEAN :
- !ENDIF
- -@erase "$(INTDIR)asn_grammar.obj"
- -@erase "$(INTDIR)asn_lex.obj"
- -@erase "$(INTDIR)asnparser.pch"
- -@erase "$(INTDIR)main.obj"
- -@erase "$(INTDIR)PreCompile.obj"
- -@erase "$(INTDIR)vc60.idb"
- -@erase "$(INTDIR)vc60.pdb"
- -@erase "$(OUTDIR)asnparser.exe"
- -@erase "$(OUTDIR)asnparser.ilk"
- -@erase "$(OUTDIR)asnparser.pdb"
- "$(OUTDIR)" :
- if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
- CPP=cl.exe
- CPP_PROJ=/nologo /MDd /W4 /GX /ZI /Od /I "....includeptlibmsos" /I "....include" /D "_DEBUG" /Fp"$(INTDIR)asnparser.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)asnparser.bsc"
- BSC32_SBRS=
- LINK32=link.exe
- LINK32_FLAGS=ptlibd.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)asnparser.pdb" /debug /machine:I386 /out:"$(OUTDIR)asnparser.exe" /pdbtype:sept /libpath:"....lib"
- LINK32_OBJS=
- "$(INTDIR)asn_grammar.obj"
- "$(INTDIR)asn_lex.obj"
- "$(INTDIR)main.obj"
- "$(INTDIR)PreCompile.obj"
- "....LibPTLibd.lib"
- "$(OUTDIR)asnparser.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
- $(LINK32) @<<
- $(LINK32_FLAGS) $(LINK32_OBJS)
- <<
- !ENDIF
- !IF "$(NO_EXTERNAL_DEPS)" != "1"
- !IF EXISTS("asnparser.dep")
- !INCLUDE "asnparser.dep"
- !ELSE
- !MESSAGE Warning: cannot find "asnparser.dep"
- !ENDIF
- !ENDIF
- !IF "$(CFG)" == "ASNParser - Win32 Release" || "$(CFG)" == "ASNParser - Win32 Debug"
- !IF "$(CFG)" == "ASNParser - Win32 Release"
- "PTLib - Win32 Release" :
- cd "Workpwlibsrcptlibmsos"
- $(MAKE) /$(MAKEFLAGS) /F .PTLib.mak CFG="PTLib - Win32 Release"
- cd "......toolsasnparser"
- "PTLib - Win32 ReleaseCLEAN" :
- cd "Workpwlibsrcptlibmsos"
- $(MAKE) /$(MAKEFLAGS) /F .PTLib.mak CFG="PTLib - Win32 Release" RECURSE=1 CLEAN
- cd "......toolsasnparser"
- !ELSEIF "$(CFG)" == "ASNParser - Win32 Debug"
- "PTLib - Win32 Debug" :
- cd "Workpwlibsrcptlibmsos"
- $(MAKE) /$(MAKEFLAGS) /F .PTLib.mak CFG="PTLib - Win32 Debug"
- cd "......toolsasnparser"
- "PTLib - Win32 DebugCLEAN" :
- cd "Workpwlibsrcptlibmsos"
- $(MAKE) /$(MAKEFLAGS) /F .PTLib.mak CFG="PTLib - Win32 Debug" RECURSE=1 CLEAN
- cd "......toolsasnparser"
- !ENDIF
- SOURCE=.asn_grammar.cxx
- !IF "$(CFG)" == "ASNParser - Win32 Release"
- CPP_SWITCHES=/nologo /MD /W4 /GX /O2 /I "....includeptlibmsos" /I "....include" /D "NDEBUG" /D "MSDOS" /Fo"$(INTDIR)\" /Fd"$(INTDIR)\" /FD /c
- "$(INTDIR)asn_grammar.obj" : $(SOURCE) "$(INTDIR)"
- $(CPP) @<<
- $(CPP_SWITCHES) $(SOURCE)
- <<
- !ELSEIF "$(CFG)" == "ASNParser - Win32 Debug"
- CPP_SWITCHES=/nologo /MDd /W4 /GX /ZI /Od /I "....includeptlibmsos" /I "....include" /D "_DEBUG" /D "MSDOS" /Fo"$(INTDIR)\" /Fd"$(INTDIR)\" /FD /c
- "$(INTDIR)asn_grammar.obj" : $(SOURCE) "$(INTDIR)"
- $(CPP) @<<
- $(CPP_SWITCHES) $(SOURCE)
- <<
- !ENDIF
- SOURCE=.asn_grammar.y
- !IF "$(CFG)" == "ASNParser - Win32 Release"
- InputPath=.asn_grammar.y
- InputName=asn_grammar
- ".asn_grammar.cxx" ".asn_grammar.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- <<tempfile.bat
- @echo off
- bison -t -v -d $(InputName).y
- move $(InputName)_tab.c $(InputName).cxx
- move $(InputName)_tab.h $(InputName).h
- <<
- !ELSEIF "$(CFG)" == "ASNParser - Win32 Debug"
- InputPath=.asn_grammar.y
- InputName=asn_grammar
- ".asn_grammar.cxx" ".asn_grammar.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- <<tempfile.bat
- @echo off
- bison -t -v -d $(InputName).y
- move $(InputName)_tab.c $(InputName).cxx
- move $(InputName)_tab.h $(InputName).h
- <<
- !ENDIF
- SOURCE=.asn_lex.cxx
- !IF "$(CFG)" == "ASNParser - Win32 Release"
- CPP_SWITCHES=/nologo /MD /W2 /GX /O2 /I "....includeptlibmsos" /I "....include" /D "NDEBUG" /Fo"$(INTDIR)\" /Fd"$(INTDIR)\" /FD /c
- "$(INTDIR)asn_lex.obj" : $(SOURCE) "$(INTDIR)"
- $(CPP) @<<
- $(CPP_SWITCHES) $(SOURCE)
- <<
- !ELSEIF "$(CFG)" == "ASNParser - Win32 Debug"
- CPP_SWITCHES=/nologo /MDd /W2 /GX /ZI /Od /I "....includeptlibmsos" /I "....include" /D "_DEBUG" /Fo"$(INTDIR)\" /Fd"$(INTDIR)\" /FD /c
- "$(INTDIR)asn_lex.obj" : $(SOURCE) "$(INTDIR)"
- $(CPP) @<<
- $(CPP_SWITCHES) $(SOURCE)
- <<
- !ENDIF
- SOURCE=.asn_lex.l
- !IF "$(CFG)" == "ASNParser - Win32 Release"
- InputPath=.asn_lex.l
- InputName=asn_lex
- USERDEP__ASN_L="asn_grammar.h" "asn_grammar.cxx"
- ".asn_lex.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" $(USERDEP__ASN_L)
- <<tempfile.bat
- @echo off
- flex -t $(InputName).l > $(InputName).cxx
- <<
- !ELSEIF "$(CFG)" == "ASNParser - Win32 Debug"
- InputPath=.asn_lex.l
- InputName=asn_lex
- USERDEP__ASN_L="asn_grammar.h" "asn_grammar.cxx"
- ".asn_lex.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" $(USERDEP__ASN_L)
- <<tempfile.bat
- @echo off
- flex -t $(InputName).l > $(InputName).cxx
- <<
- !ENDIF
- SOURCE=.main.cxx
- "$(INTDIR)main.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)asnparser.pch"
- SOURCE=.PreCompile.cpp
- !IF "$(CFG)" == "ASNParser - Win32 Release"
- CPP_SWITCHES=/nologo /MD /W4 /GX /O2 /I "....includeptlibmsos" /I "....include" /D "NDEBUG" /Fp"$(INTDIR)asnparser.pch" /Yc"ptlib.h" /Fo"$(INTDIR)\" /Fd"$(INTDIR)\" /FD /c
- "$(INTDIR)PreCompile.obj" "$(INTDIR)asnparser.pch" : $(SOURCE) "$(INTDIR)"
- $(CPP) @<<
- $(CPP_SWITCHES) $(SOURCE)
- <<
- !ELSEIF "$(CFG)" == "ASNParser - Win32 Debug"
- CPP_SWITCHES=/nologo /MDd /W4 /GX /ZI /Od /I "....includeptlibmsos" /I "....include" /D "_DEBUG" /Fp"$(INTDIR)asnparser.pch" /Yc"ptlib.h" /Fo"$(INTDIR)\" /Fd"$(INTDIR)\" /FD /c
- "$(INTDIR)PreCompile.obj" "$(INTDIR)asnparser.pch" : $(SOURCE) "$(INTDIR)"
- $(CPP) @<<
- $(CPP_SWITCHES) $(SOURCE)
- <<
- !ENDIF
- !ENDIF