]> git.saurik.com Git - wxWidgets.git/blame - distrib/msw/tmake/vc6dll.t
Added wxTopLevelWindow related files
[wxWidgets.git] / distrib / msw / tmake / vc6dll.t
CommitLineData
755c41bf
VZ
1#!#############################################################################
2#! File: vc6dll.t
0797afee
VZ
3#! Purpose: tmake template file from which wxdll.dsp is generated by running
4#! tmake -t vc6dll wxwin.pro -o wxdll.dsp
755c41bf
VZ
5#! Author: Vadim Zeitlin
6#! Created: 13.10.99
7#! Version: $Id$
8#!#############################################################################
9#${
10 #! include the code which parses filelist.txt file and initializes
11 #! %wxCommon, %wxGeneric and %wxMSW hashes.
12 IncludeTemplate("filelist.t");
13
14 #! now transform these hashes into $project tags
15 foreach $file (sort keys %wxGeneric) {
16 next if $wxGeneric{$file} =~ /\b(PS|G|16|U)\b/;
17 $project{"WXGENERICSRCS"} .= $file . " "
18 }
19
20 foreach $file (sort keys %wxCommon) {
21 next if $wxCommon{$file} =~ /\b16\b/;
755c41bf
VZ
22
23 my $tag = $file =~ /\.c$/ ? "WXCSRCS" : "WXCOMMONSRCS";
24 $project{$tag} .= $file . " "
25 }
26
27 foreach $file (sort keys %wxMSW) {
28 next if $wxMSW{$file} =~ /\b16\b/;
29
30 my $tag;
31 if ( $wxMSW{$file} =~ /\bO\b/ ) { $tag = "WXOLESRCS" }
32 else { $tag = $file =~ /\.c$/ ? "WXMSWCSRCS" : "WXMSWSRCS" }
33 $project{$tag} .= $file . " "
34 }
35
36 foreach $file (sort keys %wxHTML) {
37 next if $wxHTML{$file} =~ /\b16\b/;
38 $project{"WXHTMLSRCS"} .= $file . " "
39 }
0797afee
VZ
40
41 foreach $file (sort keys %wxWXINCLUDE) {
42 next if $file =~ /setup.h/;
43 next if $file =~ /[^.]*.cpp$/;
44 $project{"WXHEADERS"} .= $file . " "
45 }
46
47 foreach $file (sort keys %wxGENERICINCLUDE) {
48 next if $wxGeneric{$file} =~ /\b(PS|G|16|U)\b/;
49 $project{"WXGENERICHEADERS"} .= $file . " "
50 }
51
52 foreach $file (sort keys %wxMSWINCLUDE) {
53 next if $file =~ /setup0?.h/;
54 $project{"WXMSWHEADERS"} .= $file . " "
55 }
56
57 foreach $file (sort keys %wxHTMLINCLUDE) {
58 $project{"WXHTMLHEADERS"} .= $file . " "
59 }
60
61 $project{"WXVERSION"} = "232";
755c41bf 62#$}
0797afee 63# Microsoft Developer Studio Project File - Name="wxdll" - Package Owner=<4>
755c41bf
VZ
64# Microsoft Developer Studio Generated Build File, Format Version 6.00
65# ** DO NOT EDIT **
66
67# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
68
0797afee 69CFG=wxdll - Win32 Debug
755c41bf
VZ
70!MESSAGE This is not a valid makefile. To build this project using NMAKE,
71!MESSAGE use the Export Makefile command and run
72!MESSAGE
0797afee 73!MESSAGE NMAKE /f "wxdll.mak".
755c41bf
VZ
74!MESSAGE
75!MESSAGE You can specify a configuration when running NMAKE
76!MESSAGE by defining the macro CFG on the command line. For example:
77!MESSAGE
0797afee 78!MESSAGE NMAKE /f "wxdll.mak" CFG="wxdll - Win32 Debug"
755c41bf
VZ
79!MESSAGE
80!MESSAGE Possible choices for configuration are:
81!MESSAGE
0797afee
VZ
82!MESSAGE "wxdll - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
83!MESSAGE "wxdll - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
755c41bf
VZ
84!MESSAGE
85
86# Begin Project
87# PROP AllowPerConfigDependencies 0
88# PROP Scc_ProjName ""
89# PROP Scc_LocalPath ""
90CPP=cl.exe
91MTL=midl.exe
92RSC=rc.exe
93
0797afee 94!IF "$(CFG)" == "wxdll - Win32 Release"
755c41bf
VZ
95
96# PROP BASE Use_MFC 0
97# PROP BASE Use_Debug_Libraries 0
0797afee
VZ
98# PROP BASE Output_Dir "../lib"
99# PROP BASE Intermediate_Dir "../ReleaseDll"
755c41bf
VZ
100# PROP BASE Target_Dir ""
101# PROP Use_MFC 0
102# PROP Use_Debug_Libraries 0
0797afee
VZ
103# PROP Output_Dir "../lib"
104# PROP Intermediate_Dir "../ReleaseDLL"
755c41bf
VZ
105# PROP Ignore_Export_Lib 0
106# PROP Target_Dir ""
f6bcfd97 107# ADD BASE CPP /nologo /MD /W4 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WXWINDLL_EXPORTS" /YX /FD /c
0797afee 108# 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
755c41bf
VZ
109# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
110# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
111# ADD BASE RSC /l 0x409 /d "NDEBUG"
0797afee 112# ADD RSC /l 0x409 /i "../include" /d "NDEBUG"
755c41bf
VZ
113BSC32=bscmake.exe
114# ADD BASE BSC32 /nologo
115# ADD BSC32 /nologo
116LINK32=link.exe
0797afee
VZ
117# 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"'
118# 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"'
755c41bf 119
0797afee 120!ELSEIF "$(CFG)" == "wxdll - Win32 Debug"
755c41bf
VZ
121
122# PROP BASE Use_MFC 0
123# PROP BASE Use_Debug_Libraries 1
0797afee
VZ
124# PROP BASE Output_Dir "../lib"
125# PROP BASE Intermediate_Dir "../DebugDll"
755c41bf
VZ
126# PROP BASE Target_Dir ""
127# PROP Use_MFC 0
128# PROP Use_Debug_Libraries 1
0797afee
VZ
129# PROP Output_Dir "../lib"
130# PROP Intermediate_Dir "../DebugDll"
755c41bf
VZ
131# PROP Ignore_Export_Lib 0
132# PROP Target_Dir ""
3ca6a5f0 133# 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
0797afee 134# 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
755c41bf
VZ
135# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
136# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
137# ADD BASE RSC /l 0x409 /d "_DEBUG"
0797afee 138# ADD RSC /l 0x409 /i "../include" /d "_DEBUG"
755c41bf
VZ
139BSC32=bscmake.exe
140# ADD BASE BSC32 /nologo
141# ADD BSC32 /nologo
142LINK32=link.exe
0797afee
VZ
143# 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"'
144# 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"'
755c41bf
VZ
145
146!ENDIF
147
148# Begin Target
149
0797afee
VZ
150# Name "wxdll - Win32 Release"
151# Name "wxdll - Win32 Debug"
152
153# Begin Group "Common Files"
755c41bf
VZ
154
155# PROP Default_Filter ""
0797afee
VZ
156#$ ExpandGlue("WXCOMMONSRCS", "# Begin Source File\n\nSOURCE=.\\common\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\common\\", "\n# End Source File\n");
157#$ 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");
755c41bf
VZ
158# Begin Source File
159
0797afee
VZ
160SOURCE=.\common\y_tab.c
161# ADD CPP /W1 /D "USE_DEFINE"
162# SUBTRACT CPP /YX /Yc /Yu
755c41bf 163# End Source File
0797afee
VZ
164# End Group
165# Begin Group "Generic Files"
166
167# PROP Default_Filter ""
168#$ ExpandGlue("WXGENERICSRCS", "# Begin Source File\n\nSOURCE=.\\generic\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\generic\\", "\n# End Source File\n");
169# End Group
170# Begin Group "wxHTML Files"
755c41bf 171
0797afee
VZ
172# PROP Default_Filter ""
173#$ ExpandGlue("WXHTMLSRCS", "# Begin Source File\n\nSOURCE=.\\html\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\html\\", "\n# End Source File\n");
174# End Group
175# Begin Group "MSW Files"
176
177# PROP Default_Filter ""
755c41bf
VZ
178# Begin Source File
179
0797afee
VZ
180SOURCE=.\msw\dummydll.cpp
181# ADD CPP /Yc"wx/wxprec.h"
3ca6a5f0 182# End Source File
0797afee
VZ
183#$ ExpandGlue("WXMSWSRCS", "# Begin Source File\n\nSOURCE=.\\msw\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\msw\\", "\n# End Source File\n");
184#$ 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");
185# End Group
186# Begin Group "OLE Files"
187
188# PROP Default_Filter ""
189#$ 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");
190# End Group
191# Begin Group "Resources"
192
193# PROP Default_Filter ""
3ca6a5f0
BP
194# Begin Source File
195
0797afee
VZ
196SOURCE=.\msw\version.rc
197# End Source File
198# End Group
199# Begin Group "Headers"
755c41bf 200
0797afee
VZ
201# PROP Default_Filter ""
202# Begin Group "Setup"
755c41bf 203
0797afee
VZ
204# PROP Default_Filter ""
205# Begin Source File
755c41bf 206
0797afee
VZ
207SOURCE=..\include\wx\msw\setup0.h
208!IF "$(CFG)" == "wxdll - Win32 Release"
209# Begin Custom Build - Creating wx/setup.h from $(InputPath)
210InputPath=..\include\wx\msw\setup0.h
755c41bf 211
0797afee
VZ
212"../lib/mswdll/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
213 copy $(InputPath) ..\lib\mswdll\wx\setup.h
755c41bf 214
0797afee
VZ
215# End Custom Build
216!ELSEIF "$(CFG)" == "wxdll - Win32 Debug"
217# Begin Custom Build - Creating wx/setup.h from $(InputPath)
218InputPath=..\include\wx\msw\setup0.h
755c41bf 219
0797afee
VZ
220"../lib/mswdlld/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
221 copy $(InputPath) ..\lib\mswdlld\wx\setup.h
222
223# End Custom Build
224!ENDIF
755c41bf 225# End Source File
0797afee
VZ
226# End Group
227# Begin Group "Common"
228
229# PROP Default_Filter ""
230#$ 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");
231# End Group
232# Begin Group "MSW"
233
234# PROP Default_Filter ""
235#$ 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");
236# End Group
237# Begin Group "Generic"
238
239# PROP Default_Filter ""
240#$ 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");
241# End Group
242# Begin Group "HTML"
243
244# PROP Default_Filter ""
245#$ 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");
246# End Group
247# End Group
755c41bf
VZ
248# End Target
249# End Project
0797afee 250#! vi: set sta ts=8 sw=4 noet nolist tw=0 ft=make: