1 # Microsoft Developer Studio Project File - Name="pwrc" - Package Owner=<4>
2 # Microsoft Developer Studio Generated Build File, Format Version 6.00
5 # TARGTYPE "Win32 (x86) Console Application" 0x0103
7 CFG=PWRC - WIN32 RELEASE
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 "pwrc.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 "pwrc.mak" CFG="PWRC - WIN32 RELEASE"
18 !MESSAGE Possible choices for configuration are:
20 !MESSAGE "pwrc - Win32 Release" (based on "Win32 (x86) Console Application")
21 !MESSAGE "pwrc - Win32 Debug" (based on "Win32 (x86) Console Application")
25 # PROP AllowPerConfigDependencies 0
26 # PROP Scc_ProjName ""
27 # PROP Scc_LocalPath ""
31 !IF "$(CFG)" == "pwrc - 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 /GX /O2 /I "..\..\include\pwlib\mswin" /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 mpr.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\lib"
54 # SUBTRACT LINK32 /pdb:none
55 # Begin Special Build Tool
57 PostBuild_Desc=Copying resource compiler to pwlib/lib directory.
58 PostBuild_Cmds=copy Release\pwrc.exe ..\..\lib > nul
59 # End Special Build Tool
61 !ELSEIF "$(CFG)" == "pwrc - Win32 Debug"
64 # PROP BASE Use_Debug_Libraries 1
65 # PROP BASE Output_Dir "Debug"
66 # PROP BASE Intermediate_Dir "Debug"
67 # PROP BASE Target_Dir ""
69 # PROP Use_Debug_Libraries 1
70 # PROP Output_Dir "Debug"
71 # PROP Intermediate_Dir "Debug"
72 # PROP Ignore_Export_Lib 0
74 # ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
75 # ADD CPP /nologo /MDd /W4 /Gi /GX /ZI /Od /I "..\..\include\pwlib\mswin" /I "..\..\include" /D "_DEBUG" /Yu"ptlib.h" /FD /c
76 # ADD BASE RSC /l 0xc09 /d "_DEBUG"
77 # ADD RSC /l 0xc09 /d "_DEBUG"
79 # ADD BASE BSC32 /nologo
82 # 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
83 # ADD LINK32 ptlibd.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 /debug /machine:I386 /pdbtype:sept /libpath:"..\..\lib"
89 # Name "pwrc - Win32 Release"
90 # Name "pwrc - Win32 Debug"
91 # Begin Group "Source Files"
93 # PROP Default_Filter ".cxx"
100 SOURCE=.\dwindows.cxx
108 SOURCE=.\pr_gramm.cxx
109 # ADD CPP /W3 /D "MSDOS"
110 # SUBTRACT CPP /YX /Yc /Yu
115 # ADD CPP /W3 /I "..\..\include\ptlib\msos"
116 # SUBTRACT CPP /YX /Yc /Yu
120 SOURCE=.\precompile.cxx
121 # ADD CPP /Yc"ptlib.h"
128 # Begin Group "Header Files"
130 # PROP Default_Filter "h"
144 !IF "$(CFG)" == "pwrc - Win32 Release"
146 # Begin Custom Build - Performing grammar build.
148 InputPath=.\pr_gramm.y
152 bison -v -d $(InputName).y \
153 copy $(InputName)_tab.h $(InputName).h \
154 copy $(InputName)_tab.c $(InputName).cxx \
157 "$(InputDir)\$(InputName).h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
160 "$(InputDir)\$(InputName).cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
164 !ELSEIF "$(CFG)" == "pwrc - Win32 Debug"
166 # Begin Custom Build - Performing grammar build.
168 InputPath=.\pr_gramm.y
172 bison -v -d $(InputName).y \
173 copy $(InputName)_tab.h $(InputName).h \
174 copy $(InputName)_tab.c $(InputName).cxx \
177 "$(InputDir)\$(InputName).h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
180 "$(InputDir)\$(InputName).cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
191 !IF "$(CFG)" == "pwrc - Win32 Release"
193 # Begin Custom Build - Performing lexical analyser build.
198 "$(InputDir)\$(InputName).cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
199 flex -t $(InputName).l > $(InputDir)\$(InputName).cxx
203 !ELSEIF "$(CFG)" == "pwrc - Win32 Debug"
205 USERDEP__PR_LE="$(InputDir)\pr_gramm.h"
206 # Begin Custom Build - Performing lexical analyser build.
211 "$(InputDir)\$(InputName).cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
212 flex -t $(InputName).l > $(InputDir)\$(InputName).cxx