1 # Microsoft Developer Studio Project File - Name="ASNParser" - Package Owner=<4>
2 # Microsoft Developer Studio Generated Build File, Format Version 6.00
5 # TARGTYPE "Win32 (x86) Console Application" 0x0103
7 CFG=ASNPARSER - WIN32 DEBUG
8 !MESSAGE This is not a valid makefile. To build this project using NMAKE,
9 !MESSAGE use the Export Makefile command and run
11 !MESSAGE NMAKE /f "asnparser.mak".
13 !MESSAGE You can specify a configuration when running NMAKE
14 !MESSAGE by defining the macro CFG on the command line. For example:
16 !MESSAGE NMAKE /f "asnparser.mak" CFG="ASNPARSER - WIN32 DEBUG"
18 !MESSAGE Possible choices for configuration are:
20 !MESSAGE "ASNParser - Win32 Release" (based on "Win32 (x86) Console Application")
21 !MESSAGE "ASNParser - Win32 Debug" (based on "Win32 (x86) Console Application")
25 # PROP AllowPerConfigDependencies 0
26 # PROP Scc_ProjName ""
27 # PROP Scc_LocalPath ""
31 !IF "$(CFG)" == "ASNParser - Win32 Release"
34 # PROP BASE Use_Debug_Libraries 0
35 # PROP BASE Output_Dir "Release"
36 # PROP BASE Intermediate_Dir "Release"
37 # PROP BASE Target_Dir ""
39 # PROP Use_Debug_Libraries 0
40 # PROP Output_Dir "Release"
41 # PROP Intermediate_Dir "Release"
42 # PROP Ignore_Export_Lib 0
44 # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
45 # ADD CPP /nologo /MD /W4 /GR /GX /O2 /I "..\..\include" /D "NDEBUG" /Yu"ptlib.h" /FD /c
46 # ADD BASE RSC /l 0xc09 /d "NDEBUG"
47 # ADD RSC /l 0xc09 /d "NDEBUG"
49 # ADD BASE BSC32 /nologo
52 # ADD BASE LINK32 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 /machine:I386
53 # ADD LINK32 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 /machine:I386 /libpath:"..\..\lib"
54 # Begin Special Build Tool
56 PostBuild_Desc=Copying ASN parser to pwlib/lib directory.
57 PostBuild_Cmds=copy Release\asnparser.exe ..\..\lib > nul
58 # End Special Build Tool
60 !ELSEIF "$(CFG)" == "ASNParser - Win32 Debug"
63 # PROP BASE Use_Debug_Libraries 1
64 # PROP BASE Output_Dir "Debug"
65 # PROP BASE Intermediate_Dir "Debug"
66 # PROP BASE Target_Dir ""
68 # PROP Use_Debug_Libraries 1
69 # PROP Output_Dir "Debug"
70 # PROP Intermediate_Dir "Debug"
71 # PROP Ignore_Export_Lib 0
73 # ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
74 # ADD CPP /nologo /MDd /W4 /GR /GX /ZI /Od /I "..\..\include" /D "_DEBUG" /Yu"ptlib.h" /FD /c
75 # ADD BASE RSC /l 0xc09 /d "_DEBUG"
76 # ADD RSC /l 0xc09 /d "_DEBUG"
78 # ADD BASE BSC32 /nologo
81 # ADD BASE LINK32 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 /debug /machine:I386 /pdbtype:sept
82 # ADD LINK32 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 /debug /machine:I386 /pdbtype:sept /libpath:"..\..\lib"
88 # Name "ASNParser - Win32 Release"
89 # Name "ASNParser - Win32 Debug"
92 SOURCE=.\asn_grammar.cxx
94 # SUBTRACT CPP /YX /Yc /Yu
98 SOURCE=.\asn_grammar.h
102 SOURCE=.\asn_grammar.y
104 !IF "$(CFG)" == "ASNParser - Win32 Release"
106 # Begin Custom Build - Performing Bison Step
107 InputPath=.\asn_grammar.y
108 InputName=asn_grammar
111 bison -t -v -d $(InputName).y \
112 copy $(InputName)_tab.c $(InputName).cxx \
113 copy $(InputName)_tab.h $(InputName).h \
116 "$(InputName).cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
119 "$(InputName).h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
123 !ELSEIF "$(CFG)" == "ASNParser - Win32 Debug"
125 # Begin Custom Build - Performing Bison Step
126 InputPath=.\asn_grammar.y
127 InputName=asn_grammar
130 bison -t -v -d $(InputName).y \
131 copy $(InputName)_tab.c $(InputName).cxx \
132 copy $(InputName)_tab.h $(InputName).h \
135 "$(InputName).cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
138 "$(InputName).h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
148 # ADD CPP /W2 /I "..\..\include\ptlib\msos"
149 # SUBTRACT CPP /YX /Yc /Yu
155 !IF "$(CFG)" == "ASNParser - Win32 Release"
157 USERDEP__ASN_L="asn_grammar.h" "asn_grammar.cxx"
158 # Begin Custom Build - Performing Lex Step
159 InputPath=.\asn_lex.l
162 "$(InputName).cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
163 flex -t $(InputName).l > $(InputName).cxx
167 !ELSEIF "$(CFG)" == "ASNParser - Win32 Debug"
169 USERDEP__ASN_L="asn_grammar.h" "asn_grammar.cxx"
170 # Begin Custom Build - Performing Lex Step
171 InputPath=.\asn_lex.l
174 "$(InputName).cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
175 flex -t $(InputName).l > $(InputName).cxx
192 SOURCE=.\PreCompile.cpp
193 # ADD CPP /Yc"ptlib.h"