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 next if $wxMSW{$file} =~ /\b16\b/;
44 ($fileobj = $file) =~ s/cp?p?$/\o/;
45 ($filedep = $file) =~ s/cp?p?$/\d/;
47 if( $wxMSW{$file} =~ /\bO\b/ ) {
48 $project{"MSW_SOURCES"} .= "msw/ole/" . $file . " ";
49 $project{"OLEOBJS"} .= $fileobj . " ";
50 $project{"OLEDEPS"} .= $filedep . " ";
52 $project{"MSW_SOURCES"} .= "msw/" . $file . " ";
53 $project{"GUIOBJS"} .= $fileobj . " ";
54 $project{"GUIDEPS"} .= $filedep . " ";
58 foreach $file (sort keys %wxHTML) {
59 ($fileobj = $file) =~ s/cp?p?$/\o/;
60 ($filedep = $file) =~ s/cp?p?$/\d/;
62 $project{"MSW_SOURCES"} .= "html/" . $file . " ";
63 $project{"HTMLOBJS"} .= $fileobj . " ";
64 $project{"HTMLDEPS"} .= $filedep . " "
66 #! find all our headers
67 foreach $file (sort keys %wxWXINCLUDE) {
68 $project{"MSW_HEADERS"} .= $file . " "
71 foreach $file (sort keys %wxMSWINCLUDE) {
72 $project{"MSW_HEADERS"} .= "msw/" . $file . " "
75 foreach $file (sort keys %wxGENERICINCLUDE) {
76 $project{"MSW_HEADERS"} .= "generic/" . $file . " "
79 foreach $file (sort keys %wxUNIXINCLUDE) {
80 $project{"MSW_HEADERS"} .= "unix/" . $file . " "
83 foreach $file (sort keys %wxHTMLINCLUDE) {
84 $project{"MSW_HEADERS"} .= "html/" . $file . " "
87 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
88 $project{"MSW_HEADERS"} .= "protocol/" . $file . " "
91 # This file was automatically generated by tmake at #$ Now()
92 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MSW.T!
94 #$ ExpandList("MSW_SOURCES");
97 #$ ExpandList("MSW_HEADERS");
100 #$ ExpandList("COMMONOBJS");
103 #$ ExpandList("COMMONDEPS");
106 #$ ExpandList("GENERICOBJS");
109 #$ ExpandList("GENERICDEPS");
112 #$ ExpandList("GUIOBJS");
115 #$ ExpandList("GUIDEPS");
118 #$ ExpandList("UNIXOBJS");
121 #$ ExpandList("UNIXDEPS");
124 #$ ExpandList("HTMLOBJS");
127 #$ ExpandList("HTMLDEPS");
130 #$ ExpandList("OLEOBJS");
133 #$ ExpandList("OLEDEPS");
136 #$ ExpandList("IODBCOBJS");
139 #$ ExpandList("IODBCDEPS");