1 #!################################################################################
3 #! Purpose: tmake template file from which src/files.lst containing the
4 #! list of files for wxBase 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, %wxGTK, %wxMOTIF and
13 IncludeTemplate("filelist.t");
15 #! find all our sources
16 foreach $file (sort keys %wxBase) {
17 ($fileobj = $file) =~ s/cp?p?$/\o/;
19 $project{"BASE_SOURCES"} .= "common/" . $file . " ";
20 $project{"BASE_OBJS"} .= $fileobj . " ";
23 foreach $file (sort keys %wxCommon) {
24 next unless $wxCommon{$file} =~ /\bB\b/;
26 ($fileobj = $file) =~ s/cp?p?$/\o/;
28 $project{"BASE_SOURCES"} .= "common/" . $file . " ";
29 $project{"BASE_OBJS"} .= $fileobj . " ";
32 foreach $file (sort keys %wxUNIX) {
33 next unless $wxUNIX{$file} =~ /\bB\b/;
35 ($fileobj = $file) =~ s/cp?p?$/\o/;
37 $project{"BASE_SOURCES"} .= "unix/" . $file . " ";
38 $project{"BASE_UNIX_OBJS"} .= $fileobj . " ";
41 foreach $file (sort keys %wxMSW) {
42 next unless $wxMSW{$file} =~ /\bB\b/;
44 ($fileobj = $file) =~ s/cp?p?$/\o/;
46 $project{"BASE_SOURCES"} .= "msw/" . $file . " ";
47 $project{"BASE_MSW_OBJS"} .= $fileobj . " ";
50 #! find all our headers
51 foreach $file (sort keys %wxWXINCLUDE) {
52 next unless $wxWXINCLUDE{$file} =~ /\bB\b/;
54 $project{"BASE_HEADERS"} .= $file . " "
57 foreach $file (sort keys %wxUNIXINCLUDE) {
58 next unless $wxUNIXINCLUDE{$file} =~ /\bB\b/;
60 $project{"BASE_HEADERS"} .= "unix/" . $file . " "
63 foreach $file (sort keys %wxMSWINCLUDE) {
64 next unless $wxMSWINCLUDE{$file} =~ /\bB\b/;
66 $project{"BASE_HEADERS"} .= "msw/" . $file . " "
69 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
70 next unless $wxPROTOCOLINCLUDE{$file} =~ /\bB\b/;
72 $project{"BASE_HEADERS"} .= "protocol/" . $file . " "
75 # This file was automatically generated by tmake
76 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE BASE.T!
78 #$ ExpandList("BASE_SOURCES");
81 #$ ExpandList("BASE_HEADERS");
84 #$ ExpandList("BASE_OBJS");
87 #$ ExpandList("BASE_UNIX_OBJS");
90 #$ ExpandList("BASE_MSW_OBJS");