1 #!################################################################################
3 #! Purpose: tmake template file from which src/msw/files.lst containing the
4 #! list of files for wxMSW library is generated by tmake
5 #! Author: Vadim Zeitlin
8 #!################################################################################
10 #! include the code which parses filelist.txt file and initializes
11 #! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxMSW, %wxMOTIF and
13 IncludeTemplate("filelist.t");
15 #! find all our sources
16 $project{"COMMONOBJS"} .= "parser.o ";
17 $project{"COMMONDEPS"} .= "parser.d ";
19 foreach $file (sort keys %wxGeneric) {
20 next if $wxGeneric{$file} =~ /\b(PS|G|U|16)\b/;
22 ($fileobj = $file) =~ s/cp?p?$/\o/;
23 ($filedep = $file) =~ s/cp?p?$/\d/;
25 $project{"MSW_SOURCES"} .= "generic/" . $file . " ";
26 $project{"GENERICOBJS"} .= $fileobj . " ";
27 $project{"GENERICDEPS"} .= $filedep . " "
30 foreach $file (sort keys %wxCommon) {
31 next if $wxCommon{$file} =~ /\bR\b/;
33 ($fileobj = $file) =~ s/cp?p?$/\o/;
34 ($filedep = $file) =~ s/cp?p?$/\d/;
36 $project{"MSW_SOURCES"} .= "common/" . $file . " ";
37 $project{"COMMONOBJS"} .= $fileobj . " ";
38 $project{"COMMONDEPS"} .= $filedep . " "
41 foreach $file (sort keys %wxMSW) {
42 #! OLE files can'be compiled with mingw32 yet
43 next if $wxMSW{$file} =~ /\b(O|16)\b/;
45 ($fileobj = $file) =~ s/cp?p?$/\o/;
46 ($filedep = $file) =~ s/cp?p?$/\d/;
48 $project{"MSW_SOURCES"} .= "msw/" . $file . " ";
49 $project{"GUIOBJS"} .= $fileobj . " ";
50 $project{"GUIDEPS"} .= $filedep . " "
53 foreach $file (sort keys %wxHTML) {
54 ($fileobj = $file) =~ s/cp?p?$/\o/;
55 ($filedep = $file) =~ s/cp?p?$/\d/;
57 $project{"MSW_SOURCES"} .= "html/" . $file . " ";
58 $project{"HTMLOBJS"} .= $fileobj . " ";
59 $project{"HTMLDEPS"} .= $filedep . " "
61 #! find all our headers
62 foreach $file (sort keys %wxWXINCLUDE) {
63 $project{"MSW_HEADERS"} .= $file . " "
66 foreach $file (sort keys %wxMSWINCLUDE) {
67 $project{"MSW_HEADERS"} .= "msw/" . $file . " "
70 foreach $file (sort keys %wxGENERICINCLUDE) {
71 $project{"MSW_HEADERS"} .= "generic/" . $file . " "
74 foreach $file (sort keys %wxUNIXINCLUDE) {
75 $project{"MSW_HEADERS"} .= "unix/" . $file . " "
78 foreach $file (sort keys %wxHTMLINCLUDE) {
79 $project{"MSW_HEADERS"} .= "html/" . $file . " "
82 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
83 $project{"MSW_HEADERS"} .= "protocol/" . $file . " "
86 # This file was automatically generated by tmake at #$ Now()
87 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MSW.T!
89 #$ ExpandList("MSW_SOURCES");
92 #$ ExpandList("MSW_HEADERS");
95 #$ ExpandList("COMMONOBJS");
98 #$ ExpandList("COMMONDEPS");
101 #$ ExpandList("GENERICOBJS");
104 #$ ExpandList("GENERICDEPS");
107 #$ ExpandList("GUIOBJS");
110 #$ ExpandList("GUIDEPS");
113 #$ ExpandList("UNIXOBJS");
116 #$ ExpandList("UNIXDEPS");
119 #$ ExpandList("HTMLOBJS");
122 #$ ExpandList("HTMLDEPS");
125 #$ ExpandList("IODBCOBJS");
128 #$ ExpandList("IODBCDEPS");