]>
Commit | Line | Data |
---|---|---|
f2071dda VZ |
1 | #!############################################################################# |
2 | #! File: vc6.t | |
3 | #! Purpose: tmake template file from which wxWindows.dsp is generated by running | |
4 | #! tmake -t vc6 wxwin.pro -o wxWindows.dsp | |
5 | #! Author: Vadim Zeitlin | |
6 | #! Created: 14.07.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/; | |
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 | ||
934d4f8d | 30 | my $tag; |
791a2102 VZ |
31 | if ( $wxMSW{$file} =~ /\bO\b/ ) { $tag = "WXOLESRCS" } |
32 | else { $tag = $file =~ /\.c$/ ? "WXMSWCSRCS" : "WXMSWSRCS" } | |
f2071dda VZ |
33 | $project{$tag} .= $file . " " |
34 | } | |
2131a664 VS |
35 | |
36 | foreach $file (sort keys %wxHTML) { | |
37 | next if $wxHTML{$file} =~ /\b16\b/; | |
38 | $project{"WXHTMLSRCS"} .= $file . " " | |
39 | } | |
f2071dda VZ |
40 | #$} |
41 | # Microsoft Developer Studio Project File - Name="wxWindows" - Package Owner=<4> | |
42 | # Microsoft Developer Studio Generated Build File, Format Version 6.00 | |
43 | # ** DO NOT EDIT ** | |
44 | ||
45 | # TARGTYPE "Win32 (x86) Static Library" 0x0104 | |
46 | ||
47 | CFG=wxWindows - Win32 Debug | |
48 | !MESSAGE This is not a valid makefile. To build this project using NMAKE, | |
49 | !MESSAGE use the Export Makefile command and run | |
50 | !MESSAGE | |
51 | !MESSAGE NMAKE /f "wxWindows.mak". | |
52 | !MESSAGE | |
53 | !MESSAGE You can specify a configuration when running NMAKE | |
54 | !MESSAGE by defining the macro CFG on the command line. For example: | |
55 | !MESSAGE | |
56 | !MESSAGE NMAKE /f "wxWindows.mak" CFG="wxWindows - Win32 Debug" | |
57 | !MESSAGE | |
58 | !MESSAGE Possible choices for configuration are: | |
59 | !MESSAGE | |
60 | !MESSAGE "wxWindows - Win32 Release" (based on "Win32 (x86) Static Library") | |
61 | !MESSAGE "wxWindows - Win32 Debug" (based on "Win32 (x86) Static Library") | |
62 | !MESSAGE | |
63 | ||
64 | # Begin Project | |
65 | # PROP AllowPerConfigDependencies 0 | |
66 | # PROP Scc_ProjName "" | |
67 | # PROP Scc_LocalPath "" | |
68 | CPP=cl.exe | |
69 | RSC=rc.exe | |
70 | ||
71 | !IF "$(CFG)" == "wxWindows - Win32 Release" | |
72 | ||
73 | # PROP BASE Use_MFC 0 | |
74 | # PROP BASE Use_Debug_Libraries 0 | |
75 | # PROP BASE Output_Dir "Release" | |
76 | # PROP BASE Intermediate_Dir "Release" | |
77 | # PROP BASE Target_Dir "" | |
78 | # PROP Use_MFC 0 | |
79 | # PROP Use_Debug_Libraries 0 | |
80 | # PROP Output_Dir "Release" | |
81 | # PROP Intermediate_Dir "Release" | |
82 | # PROP Target_Dir "" | |
3ca6a5f0 BP |
83 | # ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MT" /YX /FD /c |
84 | # ADD CPP /nologo /MD /W4 /Zi /O2 /I "$(wx)\include" /I "$(wx)\src\zlib" /I "$(wx)\src\jpeg" /I "$(wx)\src\png" /I "$(wx)\src\tiff" /D "NDEBUG" /D wxUSE_GUI=1 /D WIN95=1 /D "__WIN95__" /D "WIN32" /D "_WIN32" /D WINVER=0x400 /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN32__" /D "_MT" /Yu"wx/wxprec.h" /FD /c | |
f2071dda VZ |
85 | # ADD BASE RSC /l 0x409 |
86 | # ADD RSC /l 0x409 | |
87 | BSC32=bscmake.exe | |
88 | # ADD BASE BSC32 /nologo | |
89 | # ADD BSC32 /nologo | |
90 | LIB32=link.exe -lib | |
91 | # ADD BASE LIB32 /nologo | |
92 | # ADD LIB32 /nologo | |
93 | ||
94 | !ELSEIF "$(CFG)" == "wxWindows - Win32 Debug" | |
95 | ||
96 | # PROP BASE Use_MFC 0 | |
97 | # PROP BASE Use_Debug_Libraries 1 | |
98 | # PROP BASE Output_Dir "Debug" | |
99 | # PROP BASE Intermediate_Dir "Debug" | |
100 | # PROP BASE Target_Dir "" | |
101 | # PROP Use_MFC 0 | |
102 | # PROP Use_Debug_Libraries 1 | |
103 | # PROP Output_Dir "Debug" | |
104 | # PROP Intermediate_Dir "Debug" | |
105 | # PROP Target_Dir "" | |
3ca6a5f0 BP |
106 | # ADD BASE CPP /nologo /MDd /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" -D "_MT" /YX /FD /c |
107 | # ADD CPP /nologo /MDd /W4 /Zi /Od /I "$(wx)\include" /I "$(wx)\src\zlib" /I "$(wx)\src\jpeg" /I "$(wx)\src\png" /I "$(wx)\src\tiff" /D "_DEBUG" /D DEBUG=1 /D WXDEBUG=1 /D "__WXDEBUG__" /D wxUSE_GUI=1 /D "__WIN95__" /D "WIN32" /D "_WIN32" /D WINVER=0x400 /D "__WINDOWS__" /D "__WIN32__" /D "__WXMSW__" /Fr /D "_MT" /Yu"wx/wxprec.h" /FD /c | |
f2071dda VZ |
108 | # ADD BASE RSC /l 0x409 |
109 | # ADD RSC /l 0x409 | |
110 | BSC32=bscmake.exe | |
111 | # ADD BASE BSC32 /nologo | |
112 | # ADD BSC32 /nologo /o"lib/wxWindows.bsc" | |
113 | LIB32=link.exe -lib | |
114 | # ADD BASE LIB32 /nologo | |
115 | # ADD LIB32 /nologo | |
116 | ||
117 | !ENDIF | |
118 | ||
119 | # Begin Target | |
120 | ||
121 | # Name "wxWindows - Win32 Release" | |
122 | # Name "wxWindows - Win32 Debug" | |
123 | ||
124 | # PROP Default_Filter "" | |
125 | # Begin Source File | |
126 | ||
127 | SOURCE=.\src\msw\dummy.cpp | |
128 | # ADD CPP /Yc"wx/wxprec.h" | |
129 | # End Source File | |
130 | #$ ExpandGlue("WXMSWSRCS", "# Begin Source File\n\nSOURCE=.\\src\\msw\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\src\\msw\\", "\n# End Source File\n"); | |
131 | #$ ExpandGlue("WXOLESRCS", "# Begin Source File\n\nSOURCE=.\\src\\msw\\ole\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\src\\msw\\ole\\", "\n# End Source File\n"); | |
132 | #$ ExpandGlue("WXGENERICSRCS", "# Begin Source File\n\nSOURCE=.\\src\\generic\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\src\\generic\\", "\n# End Source File\n"); | |
133 | #$ ExpandGlue("WXCOMMONSRCS", "# Begin Source File\n\nSOURCE=.\\src\\common\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\src\\common\\", "\n# End Source File\n"); | |
134 | #$ ExpandGlue("WXCSRCS", "# Begin Source File\n\nSOURCE=.\\src\\common\\", "\n# SUBTRACT CPP /YX /Yc /Yu\n# End Source File\n# Begin Source File\n\nSOURCE=.\\src\\common\\", "\n# SUBTRACT CPP /YX /Yc /Yu\n# End Source File\n"); | |
117082d1 | 135 | #$ ExpandGlue("WXMSWCSRCS", "# Begin Source File\n\nSOURCE=.\\src\\msw\\", "\n# SUBTRACT CPP /YX /Yc /Yu\n# End Source File\n# Begin Source File\n\nSOURCE=.\\src\\msw\\", "\n# SUBTRACT CPP /YX /Yc /Yu\n# End Source File\n"); |
2131a664 | 136 | #$ ExpandGlue("WXHTMLSRCS", "# Begin Source File\n\nSOURCE=.\\src\\html\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\src\\html\\", "\n# End Source File\n"); |
f2071dda VZ |
137 | |
138 | # Begin Source File | |
139 | ||
140 | SOURCE=.\src\common\y_tab.c | |
141 | ||
142 | !IF "$(CFG)" == "wxWindows - Win32 Release" | |
143 | ||
144 | # SUBTRACT CPP /YX /Yc /Yu | |
145 | ||
146 | !ELSEIF "$(CFG)" == "wxWindows - Win32 Debug" | |
147 | ||
148 | # ADD CPP /W1 | |
149 | # SUBTRACT CPP /YX /Yc /Yu | |
150 | ||
151 | !ENDIF | |
152 | ||
153 | # End Source File | |
154 | # End Target | |
155 | # End Project |