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 ";
18 foreach $file (sort keys %wxGeneric) {
19 next if $wxGeneric{$file} =~ /\b(PS|G|U|16)\b/;
21 ($fileobj = $file) =~ s/cp?p?$/\o/;
23 $project{"MSW_SOURCES"} .= "generic/" . $file . " ";
24 $project{"GENERICOBJS"} .= $fileobj . " ";
27 foreach $file (sort keys %wxCommon) {
28 next if $wxCommon{$file} =~ /\bR\b/;
30 ($fileobj = $file) =~ s/cp?p?$/\o/;
32 $project{"MSW_SOURCES"} .= "common/" . $file . " ";
33 $project{"COMMONOBJS"} .= $fileobj . " ";
36 foreach $file (sort keys %wxMSW) {
37 next if $wxMSW{$file} =~ /\b16\b/;
39 ($fileobj = $file) =~ s/cp?p?$/\o/;
41 if( $wxMSW{$file} =~ /\bO\b/ ) {
42 $project{"MSW_SOURCES"} .= "msw/ole/" . $file . " ";
43 $project{"OLEOBJS"} .= $fileobj . " ";
45 $project{"MSW_SOURCES"} .= "msw/" . $file . " ";
46 $project{"GUIOBJS"} .= $fileobj . " ";
48 if ( $wxMSW{$file} =~ /\bL\b/ ) {
49 $project{"GUI_LOWLEVEL_OBJS"} .= $fileobj . " ";
54 foreach $file (sort keys %wxHTML) {
55 ($fileobj = $file) =~ s/cp?p?$/\o/;
57 $project{"MSW_SOURCES"} .= "html/" . $file . " ";
58 $project{"HTMLOBJS"} .= $fileobj . " ";
60 #! find all our headers
61 foreach $file (sort keys %wxWXINCLUDE) {
62 $project{"MSW_HEADERS"} .= $file . " "
65 foreach $file (sort keys %wxMSWINCLUDE) {
66 $project{"MSW_HEADERS"} .= "msw/" . $file . " "
69 foreach $file (sort keys %wxGENERICINCLUDE) {
70 $project{"MSW_HEADERS"} .= "generic/" . $file . " "
73 foreach $file (sort keys %wxUNIXINCLUDE) {
74 $project{"MSW_HEADERS"} .= "unix/" . $file . " "
77 foreach $file (sort keys %wxHTMLINCLUDE) {
78 $project{"MSW_HEADERS"} .= "html/" . $file . " "
81 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
82 $project{"MSW_HEADERS"} .= "protocol/" . $file . " "
85 # This file was automatically generated by tmake at #$ Now()
86 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MSW.T!
88 #$ ExpandList("MSW_SOURCES");
91 #$ ExpandList("MSW_HEADERS");
94 #$ ExpandList("COMMONOBJS");
97 #$ ExpandList("GENERICOBJS");
100 #$ ExpandList("GUIOBJS");
102 GUI_LOWLEVEL_OBJS = \
103 #$ ExpandList("GUI_LOWLEVEL_OBJS");
106 #$ ExpandList("HTMLOBJS");
109 #$ ExpandList("OLEOBJS");