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 foreach $file (sort keys %wxGeneric) {
17 next if $wxGeneric{$file} =~ /\b(PS|G|U|16)\b/;
19 ($fileobj = $file) =~ s/cp?p?$/\o/;
21 $project{"MSW_SOURCES"} .= "generic/" . $file . " ";
22 $project{"GENERICOBJS"} .= $fileobj . " ";
25 foreach $file (sort keys %wxCommon) {
26 next if $wxCommon{$file} =~ /\b(R|U|16)\b/;
28 ($fileobj = $file) =~ s/cp?p?$/\o/;
30 $project{"MSW_SOURCES"} .= "common/" . $file . " ";
31 $project{"COMMONOBJS"} .= $fileobj . " ";
34 foreach $file (sort keys %wxMSW) {
35 next if $wxMSW{$file} =~ /\b16\b/;
37 ($fileobj = $file) =~ s/cp?p?$/\o/;
39 if( $wxMSW{$file} =~ /\bO\b/ ) {
40 $project{"MSW_SOURCES"} .= "msw/ole/" . $file . " ";
41 $project{"OLEOBJS"} .= $fileobj . " ";
43 $project{"MSW_SOURCES"} .= "msw/" . $file . " ";
44 $project{"GUIOBJS"} .= $fileobj . " ";
46 if ( $wxMSW{$file} =~ /\bL\b/ ) {
47 $project{"GUI_LOWLEVEL_OBJS"} .= $fileobj . " ";
52 foreach $file (sort keys %wxHTML) {
53 ($fileobj = $file) =~ s/cp?p?$/\o/;
55 $project{"MSW_SOURCES"} .= "html/" . $file . " ";
56 $project{"HTMLOBJS"} .= $fileobj . " ";
58 #! find all our headers
59 foreach $file (sort keys %wxWXINCLUDE) {
60 $project{"MSW_HEADERS"} .= $file . " "
63 foreach $file (sort keys %wxMSWINCLUDE) {
64 $project{"MSW_HEADERS"} .= "msw/" . $file . " "
67 foreach $file (sort keys %wxOLEINCLUDE) {
68 $project{"MSW_HEADERS"} .= "msw/ole/" . $file . " ";
71 foreach $file (sort keys %wxGENERICINCLUDE) {
72 $project{"MSW_HEADERS"} .= "generic/" . $file . " "
75 foreach $file (sort keys %wxUNIXINCLUDE) {
76 $project{"MSW_HEADERS"} .= "unix/" . $file . " "
79 foreach $file (sort keys %wxHTMLINCLUDE) {
80 $project{"MSW_HEADERS"} .= "html/" . $file . " "
83 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
84 $project{"MSW_HEADERS"} .= "protocol/" . $file . " "
87 # This file was automatically generated by tmake
88 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MSW.T!
90 #$ ExpandList("MSW_SOURCES");
93 #$ ExpandList("MSW_HEADERS");
96 #$ ExpandList("COMMONOBJS");
99 #$ ExpandList("GENERICOBJS");
102 #$ ExpandList("GUIOBJS");
104 GUI_LOWLEVEL_OBJS = \
105 #$ ExpandList("GUI_LOWLEVEL_OBJS");
108 #$ ExpandList("HTMLOBJS");
111 #$ ExpandList("OLEOBJS");