1 #!#############################################################################
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
8 #!#############################################################################
10 #! include the code which parses filelist.txt file and initializes
11 #! %wxCommon, %wxGeneric and %wxMSW hashes.
12 IncludeTemplate("filelist.t");
14 #! now transform these hashes into $project tags
15 foreach $file (sort keys %wxCommon) {
16 next if $wxCommon{$file} !~ /\bB\b/;
18 my $tag = $file =~ /\.c$/ ? "WXCSRCS" : "WXCOMMONSRCS";
19 $project{$tag} .= $file . " "
22 foreach $file (sort keys %wxMSW) {
23 next if $wxMSW{$file} !~ /\bB\b/;
25 my $tag = $file =~ /\.c$/ ? "WXMSWCSRCS" : "WXMSWSRCS";
26 $project{$tag} .= $file . " "
29 foreach $file (sort keys %wxBase) {
30 my $tag = $file =~ /\.c$/ ? "WXCSRCS" : "WXCOMMONSRCS";
31 $project{$tag} .= $file . " "
34 # Microsoft Developer Studio Project File - Name="wxBaseDll" - Package Owner=<4>
35 # Microsoft Developer Studio Generated Build File, Format Version 6.00
38 # TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
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
44 !MESSAGE NMAKE /f "wxBaseDll.mak".
46 !MESSAGE You can specify a configuration when running NMAKE
47 !MESSAGE by defining the macro CFG on the command line. For example:
49 !MESSAGE NMAKE /f "wxBaseDll.mak" CFG="wxBaseDll - Win32 Debug"
51 !MESSAGE Possible choices for configuration are:
53 !MESSAGE "wxBaseDll - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
54 !MESSAGE "wxBaseDll - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
58 # PROP AllowPerConfigDependencies 0
59 # PROP Scc_ProjName ""
60 # PROP Scc_LocalPath ""
65 !IF "$(CFG)" == "wxBaseDll - Win32 Release"
68 # PROP BASE Use_Debug_Libraries 0
69 # PROP BASE Output_Dir "Release"
70 # PROP BASE Intermediate_Dir "Release"
71 # PROP BASE Target_Dir ""
73 # PROP Use_Debug_Libraries 0
74 # PROP Output_Dir "BaseDllRelease"
75 # PROP Intermediate_Dir "BaseDllRelease"
76 # PROP Ignore_Export_Lib 0
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\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"
85 # ADD BASE BSC32 /nologo
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
89 # ADD LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /version:2.2 /dll /machine:I386
91 !ELSEIF "$(CFG)" == "wxBaseDll - Win32 Debug"
94 # PROP BASE Use_Debug_Libraries 1
95 # PROP BASE Output_Dir "Debug"
96 # PROP BASE Intermediate_Dir "Debug"
97 # PROP BASE Target_Dir ""
99 # PROP Use_Debug_Libraries 1
100 # PROP Output_Dir "BaseDllDebug"
101 # PROP Intermediate_Dir "BaseDllDebug"
102 # PROP Ignore_Export_Lib 0
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\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"
111 # ADD BASE BSC32 /nologo
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
115 # ADD LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /version:2.2 /dll /debug /machine:I386 /pdbtype:sept
121 # Name "wxBaseDll - Win32 Release"
122 # Name "wxBaseDll - Win32 Debug"
125 SOURCE=.\src\msw\dummydll.cpp
126 # ADD CPP /Yc"wx/wxprec.h"
128 #$ 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");
129 #$ 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");
130 #$ 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");
131 #$ 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");