]> git.saurik.com Git - wxWidgets.git/blob - distrib/msw/tmake/vc6msw.t
removed templates which are unneeded any more
[wxWidgets.git] / distrib / msw / tmake / vc6msw.t
1 #!#############################################################################
2 #! File: vc6msw.t
3 #! Purpose: tmake template file from which the VC++ 6.0 project file for
4 #! building all configurations of wxMSW library wxWindows.dsp
5 #! is generated by running
6 #! tmake -t vc6msw wxwin.pro -o wxWindows.dsp
7 #! Author: Vadim Zeitlin
8 #! Created: 29.09.01
9 #! Version: $Id$
10 #!#############################################################################
11 #${
12 #! include the code which parses filelist.txt file and initializes
13 #! %wxCommon, %wxGeneric and %wxMSW hashes.
14 IncludeTemplate("filelist.t");
15
16 #! now transform these hashes into $project tags
17 foreach $file (sort keys %wxGeneric) {
18 next if $wxGeneric{$file} =~ /\b(PS|G|16|U)\b/;
19 $project{"WXGENERICSRCS"} .= $file . " "
20 }
21
22 foreach $file (sort keys %wxCommon) {
23 next if $wxCommon{$file} =~ /\b16\b/;
24
25 my $tag = $file =~ /\.c$/ ? "WXCSRCS" : "WXCOMMONSRCS";
26 $project{$tag} .= $file . " "
27 }
28
29 foreach $file (sort keys %wxMSW) {
30 next if $wxMSW{$file} =~ /\b16\b/;
31
32 my $tag;
33 if ( $wxMSW{$file} =~ /\bO\b/ ) { $tag = "WXOLESRCS" }
34 else { $tag = $file =~ /\.c$/ ? "WXMSWCSRCS" : "WXMSWSRCS" }
35 $project{$tag} .= $file . " "
36 }
37
38 foreach $file (sort keys %wxHTML) {
39 next if $wxHTML{$file} =~ /\b16\b/;
40 $project{"WXHTMLSRCS"} .= $file . " "
41 }
42
43 foreach $file (sort keys %wxWXINCLUDE) {
44 next if $file =~ /setup.h/;
45 next if $file =~ /[^.]*.cpp$/;
46 $project{"WXHEADERS"} .= $file . " "
47 }
48
49 foreach $file (sort keys %wxGENERICINCLUDE) {
50 next if $wxGeneric{$file} =~ /\b(PS|G|16|U)\b/;
51 $project{"WXGENERICHEADERS"} .= $file . " "
52 }
53
54 foreach $file (sort keys %wxMSWINCLUDE) {
55 next if $file =~ /setup0?.h/;
56 $project{"WXMSWHEADERS"} .= $file . " "
57 }
58
59 foreach $file (sort keys %wxHTMLINCLUDE) {
60 $project{"WXHTMLHEADERS"} .= $file . " "
61 }
62
63 $project{"WXVERSION"} = "232";
64 #$}
65 # Microsoft Developer Studio Project File - Name="wxWindows" - Package Owner=<4>
66 # Microsoft Developer Studio Generated Build File, Format Version 6.00
67 # ** DO NOT EDIT **
68
69 # TARGTYPE "Win32 (x86) Static Library" 0x0104
70 # TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
71
72 CFG=wxWindows - Win32 Debug
73 !MESSAGE This is not a valid makefile. To build this project using NMAKE,
74 !MESSAGE use the Export Makefile command and run
75 !MESSAGE
76 !MESSAGE NMAKE /f "wxWindows.mak".
77 !MESSAGE
78 !MESSAGE You can specify a configuration when running NMAKE
79 !MESSAGE by defining the macro CFG on the command line. For example:
80 !MESSAGE
81 !MESSAGE NMAKE /f "wxWindows.mak" CFG="wxWindows - Win32 Debug"
82 !MESSAGE
83 !MESSAGE Possible choices for configuration are:
84 !MESSAGE
85 !MESSAGE "wxWindows - Win32 Release DLL" (based on "Win32 (x86) Dynamic-Link Library")
86 !MESSAGE "wxWindows - Win32 Debug DLL" (based on "Win32 (x86) Dynamic-Link Library")
87 !MESSAGE "wxWindows - Win32 Release" (based on "Win32 (x86) Static Library")
88 !MESSAGE "wxWindows - Win32 Debug" (based on "Win32 (x86) Static Library")
89 !MESSAGE
90
91 # Begin Project
92 # PROP AllowPerConfigDependencies 0
93 # PROP Scc_ProjName "wxWindows"
94 # PROP Scc_LocalPath ".."
95 CPP=cl.exe
96 RSC=rc.exe
97
98 !IF "$(CFG)" == "wxWindows - Win32 Release DLL"
99
100 # PROP BASE Use_MFC 0
101 # PROP BASE Use_Debug_Libraries 0
102 # PROP BASE Output_Dir "../lib"
103 # PROP BASE Intermediate_Dir "../ReleaseDll"
104 # PROP BASE Target_Dir ""
105 # PROP Use_MFC 0
106 # PROP Use_Debug_Libraries 0
107 # PROP Output_Dir "../lib"
108 # PROP Intermediate_Dir "../ReleaseDLL"
109 # PROP Ignore_Export_Lib 0
110 # PROP Target_Dir ""
111 # ADD BASE CPP /nologo /MD /W4 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WXWINDLL_EXPORTS" /YX /FD /c
112 # ADD CPP /nologo /MD /W4 /O2 /I "../lib/mswdll" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "_USRDLL" /D "WIN32" /D "NDEBUG" /D WINVER=0x0400 /D "STRICT" /D "_MT" /D "WXMAKINGDLL" /Yu"wx/wxprec.h" /FD /c
113 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
114 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
115 # ADD BASE RSC /l 0x409 /d "NDEBUG"
116 # ADD RSC /l 0x409 /i "../include" /d "NDEBUG"
117 BSC32=bscmake.exe
118 # ADD BASE BSC32 /nologo
119 # ADD BSC32 /nologo
120 LINK32=link.exe
121 # 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 winmm.lib ..\lib\jpeg.lib ..\lib\tiff.lib ..\lib\png.lib ..\lib\regex.lib ..\lib\zlib.lib /nologo /dll /machine:I386 /out:"../lib/wxmsw#$ $text = $project{"WXVERSION"} . '.dll"'
122 # ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib rpcrt4.lib comctl32.lib wsock32.lib winmm.lib ..\lib\jpeg.lib ..\lib\tiff.lib ..\lib\png.lib ..\lib\regex.lib ..\lib\zlib.lib /nologo /version:2.3 /dll /machine:I386 /out:"../lib/wxmsw#$ $text = $project{"WXVERSION"} . '.dll"'
123
124 !ELSEIF "$(CFG)" == "wxWindows - Win32 Debug DLL"
125
126 # PROP BASE Use_MFC 0
127 # PROP BASE Use_Debug_Libraries 1
128 # PROP BASE Output_Dir "../lib"
129 # PROP BASE Intermediate_Dir "../DebugDll"
130 # PROP BASE Target_Dir ""
131 # PROP Use_MFC 0
132 # PROP Use_Debug_Libraries 1
133 # PROP Output_Dir "../lib"
134 # PROP Intermediate_Dir "../DebugDll"
135 # PROP Ignore_Export_Lib 0
136 # PROP Target_Dir ""
137 # ADD BASE CPP /nologo /MDd /W4 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WXWINDLL_EXPORTS" /YX /FD /GZ /c
138 # ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/mswdlld" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "_USRDLL" /D "WIN32" /D "_DEBUG" /D WINVER=0x0400 /D "STRICT" /D "_MT" /D "WXMAKINGDLL" /Yu"wx/wxprec.h" /FD /c
139 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
140 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
141 # ADD BASE RSC /l 0x409 /d "_DEBUG"
142 # ADD RSC /l 0x409 /i "../include" /d "_DEBUG"
143 BSC32=bscmake.exe
144 # ADD BASE BSC32 /nologo
145 # ADD BSC32 /nologo
146 LINK32=link.exe
147 # 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 winmm.lib ..\lib\jpegd.lib ..\lib\tiffd.lib ..\lib\pngd.lib ..\lib\regexd.lib ..\lib\zlibd.lib /dll /debug /machine:I386 /pdbtype:sept /out:"../lib/wxmsw#$ $text = $project{"WXVERSION"} . 'd.dll"'
148 # ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib rpcrt4.lib comctl32.lib wsock32.lib winmm.lib ..\lib\jpegd.lib ..\lib\tiffd.lib ..\lib\pngd.lib ..\lib\regexd.lib ..\lib\zlibd.lib /nologo /version:2.3 /dll /debug /machine:I386 /pdbtype:sept /out:"../lib/wxmsw#$ $text = $project{"WXVERSION"} . 'd.dll"'
149
150 !ELSEIF "$(CFG)" == "wxWindows - Win32 Release"
151
152 # PROP BASE Use_MFC 0
153 # PROP BASE Use_Debug_Libraries 0
154 # PROP BASE Output_Dir "../Release"
155 # PROP BASE Intermediate_Dir "../Release"
156 # PROP BASE Target_Dir ""
157 # PROP Use_MFC 0
158 # PROP Use_Debug_Libraries 0
159 # PROP Output_Dir "../Release"
160 # PROP Intermediate_Dir "../Release"
161 # PROP Target_Dir ""
162 # ADD BASE CPP /nologo /MD /W4 /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MT" /YX /FD /c
163 # ADD CPP /nologo /MD /W4 /O2 /I "../lib/msw" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "WIN32" /D "NDEBUG" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /c
164 # ADD BASE RSC /l 0x409
165 # ADD RSC /l 0x409
166 BSC32=bscmake.exe
167 # ADD BASE BSC32 /nologo
168 # ADD BSC32 /nologo
169 LIB32=link.exe -lib
170 # ADD BASE LIB32 /nologo
171 # ADD LIB32 /nologo /out:"..\lib\wxmsw.lib"
172
173 !ELSEIF "$(CFG)" == "wxWindows - Win32 Debug"
174
175 # PROP BASE Use_MFC 0
176 # PROP BASE Use_Debug_Libraries 1
177 # PROP BASE Output_Dir "../Debug"
178 # PROP BASE Intermediate_Dir "../Debug"
179 # PROP BASE Target_Dir ""
180 # PROP Use_MFC 0
181 # PROP Use_Debug_Libraries 1
182 # PROP Output_Dir "../Debug"
183 # PROP Intermediate_Dir "../Debug"
184 # PROP Target_Dir ""
185 # ADD BASE CPP /nologo /MDd /W4 /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
186 # ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/mswd" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "WIN32" /D "_DEBUG" /D "__WXDEBUG__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /c
187 # ADD BASE RSC /l 0x409
188 # ADD RSC /l 0x409
189 BSC32=bscmake.exe
190 # ADD BASE BSC32 /nologo
191 # ADD BSC32 /nologo
192 LIB32=link.exe -lib
193 # ADD BASE LIB32 /nologo
194 # ADD LIB32 /nologo /out:"..\lib\wxmswd.lib"
195
196 !ENDIF
197
198 # Begin Target
199
200 # Name "wxWindows - Win32 Release DLL"
201 # Name "wxWindows - Win32 Debug DLL"
202 # Name "wxWindows - Win32 Release"
203 # Name "wxWindows - Win32 Debug"
204 # Begin Group "Common Files"
205
206 # PROP Default_Filter ""
207 #$ ExpandGlue("WXCOMMONSRCS", "# Begin Source File\n\nSOURCE=.\\common\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\common\\", "\n# End Source File\n");
208 #$ ExpandGlue("WXCSRCS", "# Begin Source File\n\nSOURCE=.\\common\\", "\n# SUBTRACT CPP /YX /Yc /Yu\n# End Source File\n# Begin Source File\n\nSOURCE=.\\common\\", "\n# SUBTRACT CPP /YX /Yc /Yu\n# End Source File\n");
209 # Begin Source File
210
211 SOURCE=.\common\y_tab.c
212 # ADD CPP /W1 /D "USE_DEFINE"
213 # SUBTRACT CPP /YX /Yc /Yu
214 # End Source File
215 # End Group
216 # Begin Group "Generic Files"
217
218 # PROP Default_Filter ""
219 #$ ExpandGlue("WXGENERICSRCS", "# Begin Source File\n\nSOURCE=.\\generic\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\generic\\", "\n# End Source File\n");
220 # End Group
221 # Begin Group "wxHTML Files"
222
223 # PROP Default_Filter ""
224 #$ ExpandGlue("WXHTMLSRCS", "# Begin Source File\n\nSOURCE=.\\html\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\html\\", "\n# End Source File\n");
225 # End Group
226 # Begin Group "MSW Files"
227
228 # PROP Default_Filter ""
229 # Begin Source File
230
231 SOURCE=.\msw\dummy.cpp
232 # ADD CPP /Yc"wx/wxprec.h"
233 # End Source File
234 #$ ExpandGlue("WXMSWSRCS", "# Begin Source File\n\nSOURCE=.\\msw\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\msw\\", "\n# End Source File\n");
235 #$ ExpandGlue("WXMSWCSRCS", "# Begin Source File\n\nSOURCE=.\\msw\\", "\n# SUBTRACT CPP /YX /Yc /Yu\n# End Source File\n# Begin Source File\n\nSOURCE=.\\msw\\", "\n# SUBTRACT CPP /YX /Yc /Yu\n# End Source File\n");
236 # End Group
237 # Begin Group "OLE Files"
238
239 # PROP Default_Filter ""
240 #$ ExpandGlue("WXOLESRCS", "# Begin Source File\n\nSOURCE=.\\msw\\ole\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\msw\\ole\\", "\n# End Source File\n");
241 # End Group
242 # Begin Group "Headers"
243
244 # PROP Default_Filter ""
245 # Begin Group "Setup"
246
247 # PROP Default_Filter ""
248 # Begin Source File
249
250 SOURCE=..\include\wx\msw\setup0.h
251 !IF "$(CFG)" == "wxWindows - Win32 Release DLL"
252 # Begin Custom Build - Creating wx/setup.h from $(InputPath)
253 InputPath=..\include\wx\msw\setup0.h
254
255 "../lib/mswdll/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
256 copy $(InputPath) ..\lib\mswdll\wx\setup.h
257
258 # End Custom Build
259 !ELSEIF "$(CFG)" == "wxWindows - Win32 Debug DLL"
260 # Begin Custom Build - Creating wx/setup.h from $(InputPath)
261 InputPath=..\include\wx\msw\setup0.h
262
263 "../lib/mswdlld/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
264 copy $(InputPath) ..\lib\mswdlld\wx\setup.h
265
266 # End Custom Build
267 !ELSEIF "$(CFG)" == "wxWindows - Win32 Release"
268 # Begin Custom Build - Creating wx/setup.h from $(InputPath)
269 InputPath=..\include\wx\msw\setup0.h
270
271 "../lib/msw/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
272 copy $(InputPath) ..\lib\msw\wx\setup.h
273
274 # End Custom Build
275 !ELSEIF "$(CFG)" == "wxWindows - Win32 Debug"
276 # Begin Custom Build - Creating wx/setup.h from $(InputPath)
277 InputPath=..\include\wx\msw\setup0.h
278
279 "../lib/mswd/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
280 copy $(InputPath) ..\lib\mswd\wx\setup.h
281
282 # End Custom Build
283 !ENDIF
284 # End Source File
285 # End Group
286 # Begin Group "Common"
287
288 # PROP Default_Filter ""
289 #$ ExpandGlue("WXHEADERS", "# Begin Source File\n\nSOURCE=..\\include\\wx\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=..\\include\\wx\\", "\n# End Source File\n");
290 # End Group
291 # Begin Group "MSW"
292
293 # PROP Default_Filter ""
294 #$ ExpandGlue("WXMSWHEADERS", "# Begin Source File\n\nSOURCE=..\\include\\wx\\msw\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=..\\include\\wx\\msw\\", "\n# End Source File\n");
295 # End Group
296 # Begin Group "Generic"
297
298 # PROP Default_Filter ""
299 #$ ExpandGlue("WXGENERICHEADERS", "# Begin Source File\n\nSOURCE=..\\include\\wx\\generic\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=..\\include\\wx\\generic\\", "\n# End Source File\n");
300 # End Group
301 # Begin Group "HTML"
302
303 # PROP Default_Filter ""
304 #$ ExpandGlue("WXHTMLHEADERS", "# Begin Source File\n\nSOURCE=..\\include\\wx\\html\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=..\\include\\wx\\html\\", "\n# End Source File\n");
305 # End Group
306 # End Group
307 # End Target
308 # End Project
309 #! vi: set sta ts=8 sw=4 noet nolist tw=0 ft=perl: