]> git.saurik.com Git - wxWidgets.git/blob - distrib/msw/tmake/vc6bdll.t
Various tweaks, fixes, and additions
[wxWidgets.git] / distrib / msw / tmake / vc6bdll.t
1 #!#############################################################################
2 #! File: vc6bdll.t
3 #! Purpose: tmake template file from which wxBaseDll.dsp is generated by running
4 #! tmake -t vc6bdll wxwin.pro -o wxBaseDll.dsp
5 #! Author: Vadim Zeitlin
6 #! Created: 22.03.00
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 %wxCommon) {
16 next if $wxCommon{$file} !~ /\bB\b/;
17
18 my $tag = $file =~ /\.c$/ ? "WXCSRCS" : "WXCOMMONSRCS";
19 $project{$tag} .= $file . " "
20 }
21
22 foreach $file (sort keys %wxMSW) {
23 next if $wxMSW{$file} !~ /\bB\b/;
24
25 my $tag = $file =~ /\.c$/ ? "WXMSWCSRCS" : "WXMSWSRCS";
26 $project{$tag} .= $file . " "
27 }
28
29 foreach $file (sort keys %wxBase) {
30 my $tag = $file =~ /\.c$/ ? "WXCSRCS" : "WXCOMMONSRCS";
31 $project{$tag} .= $file . " "
32 }
33 #$}
34 # Microsoft Developer Studio Project File - Name="wxBaseDll" - Package Owner=<4>
35 # Microsoft Developer Studio Generated Build File, Format Version 6.00
36 # ** DO NOT EDIT **
37
38 # TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
39
40 CFG=wxBaseDll - Win32 Debug
41 !MESSAGE This is not a valid makefile. To build this project using NMAKE,
42 !MESSAGE use the Export Makefile command and run
43 !MESSAGE
44 !MESSAGE NMAKE /f "wxBaseDll.mak".
45 !MESSAGE
46 !MESSAGE You can specify a configuration when running NMAKE
47 !MESSAGE by defining the macro CFG on the command line. For example:
48 !MESSAGE
49 !MESSAGE NMAKE /f "wxBaseDll.mak" CFG="wxBaseDll - Win32 Debug"
50 !MESSAGE
51 !MESSAGE Possible choices for configuration are:
52 !MESSAGE
53 !MESSAGE "wxBaseDll - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
54 !MESSAGE "wxBaseDll - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
55 !MESSAGE
56
57 # Begin Project
58 # PROP AllowPerConfigDependencies 0
59 # PROP Scc_ProjName ""
60 # PROP Scc_LocalPath ""
61 CPP=cl.exe
62 MTL=midl.exe
63 RSC=rc.exe
64
65 !IF "$(CFG)" == "wxBaseDll - Win32 Release"
66
67 # PROP BASE Use_MFC 0
68 # PROP BASE Use_Debug_Libraries 0
69 # PROP BASE Output_Dir "Release"
70 # PROP BASE Intermediate_Dir "Release"
71 # PROP BASE Target_Dir ""
72 # PROP Use_MFC 0
73 # PROP Use_Debug_Libraries 0
74 # PROP Output_Dir "BaseDllRelease"
75 # PROP Intermediate_Dir "BaseDllRelease"
76 # PROP Ignore_Export_Lib 0
77 # PROP Target_Dir ""
78 # ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WXBASEDLL_EXPORTS" /YX /FD /c
79 # ADD CPP /nologo /MT /W4 /O2 /I "$(wx)\include" /I "$(wx)\src\regex" /I "$(wx)\src\zlib" /D "NDEBUG" /D wxUSE_GUI=0 /D "__WIN95__" /D "WIN32" /D "_WIN32" /D WINVER=0x400 /D "__WINDOWS__" /D "__WIN32__" /D "__WXMSW__" /D "_MT" /D "WXMAKINGDLL" /Yu"wx/wxprec.h" /FD /c
80 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
81 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
82 # ADD BASE RSC /l 0x409 /d "NDEBUG"
83 # ADD RSC /l 0x409 /i "$(wx)\include" /d "NDEBUG"
84 BSC32=bscmake.exe
85 # ADD BASE BSC32 /nologo
86 # ADD BSC32 /nologo
87 LINK32=link.exe
88 # 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 /dll /machine:I386 /out:"BaseDllRelease/wxbase221.dll"
89 # ADD LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /version:2.2 /dll /machine:I386 /out:"BaseDllRelease/wxbase221.dll"
90
91 !ELSEIF "$(CFG)" == "wxBaseDll - Win32 Debug"
92
93 # PROP BASE Use_MFC 0
94 # PROP BASE Use_Debug_Libraries 1
95 # PROP BASE Output_Dir "Debug"
96 # PROP BASE Intermediate_Dir "Debug"
97 # PROP BASE Target_Dir ""
98 # PROP Use_MFC 0
99 # PROP Use_Debug_Libraries 1
100 # PROP Output_Dir "BaseDllDebug"
101 # PROP Intermediate_Dir "BaseDllDebug"
102 # PROP Ignore_Export_Lib 0
103 # PROP Target_Dir ""
104 # ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WXBASEDLL_EXPORTS" /YX /FD /GZ /c
105 # ADD CPP /nologo /MTd /W4 /Gm /Zi /Od /I "$(wx)\include" /I "$(wx)\src\regex" /I "$(wx)\src\zlib" /D "_DEBUG" /D wxUSE_GUI=0 /D "__WIN95__" /D "WIN32" /D "_WIN32" /D WINVER=0x400 /D "__WINDOWS__" /D "__WIN32__" /D "__WXMSW__" /D "_MT" /D "WXMAKINGDLL" /D "__WXDEBUG__" /Yu"wx/wxprec.h" /FD /GZ /c
106 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
107 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
108 # ADD BASE RSC /l 0x409 /d "_DEBUG"
109 # ADD RSC /l 0x409 /i "$(wx)\include" /d "_DEBUG"
110 BSC32=bscmake.exe
111 # ADD BASE BSC32 /nologo
112 # ADD BSC32 /nologo
113 LINK32=link.exe
114 # 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 /dll /debug /machine:I386 /pdbtype:sept /out:"BaseDllDebug/wxbase221d.dll"
115 # ADD LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /version:2.2 /dll /debug /machine:I386 /pdbtype:sept /out:"BaseDllDebug/wxbase221d.dll"
116
117 !ENDIF
118
119 # Begin Target
120
121 # Name "wxBaseDll - Win32 Release"
122 # Name "wxBaseDll - Win32 Debug"
123 # Begin Source File
124
125 SOURCE=.\src\common\base.rc
126 # End Source File
127 # Begin Source File
128
129 SOURCE=.\src\msw\dummydll.cpp
130 # ADD CPP /Yc"wx/wxprec.h"
131 # End Source File
132 #$ 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");
133 #$ 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");
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");
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");
136 # End Target
137 # End Project