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 %wxOLEINCLUDE) {
70 $project{"MSW_HEADERS"} .= "msw/ole/" . $file . " ";
73 foreach $file (sort keys %wxGENERICINCLUDE) {
74 $project{"MSW_HEADERS"} .= "generic/" . $file . " "
77 foreach $file (sort keys %wxUNIXINCLUDE) {
78 $project{"MSW_HEADERS"} .= "unix/" . $file . " "
81 foreach $file (sort keys %wxHTMLINCLUDE) {
82 $project{"MSW_HEADERS"} .= "html/" . $file . " "
85 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
86 $project{"MSW_HEADERS"} .= "protocol/" . $file . " "
89 # This file was automatically generated by tmake at #$ Now()
90 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MSW.T!
92 #$ ExpandList("MSW_SOURCES");
95 #$ ExpandList("MSW_HEADERS");
98 #$ ExpandList("COMMONOBJS");
101 #$ ExpandList("GENERICOBJS");
104 #$ ExpandList("GUIOBJS");
106 GUI_LOWLEVEL_OBJS = \
107 #$ ExpandList("GUI_LOWLEVEL_OBJS");
110 #$ ExpandList("HTMLOBJS");
113 #$ ExpandList("OLEOBJS");