1 #!################################################################################
3 #! Purpose: tmake template file from which src/common/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/;
18 ($filedep = $file) =~ s/cp?p?$/\d/;
20 $project{"BASE_SOURCES"} .= "common/" . $file . " ";
21 $project{"BASE_OBJS"} .= $fileobj . " ";
22 $project{"BASE_DEPS"} .= $filedep . " ";
25 foreach $file (sort keys %wxCommon) {
26 next unless $wxCommon{$file} =~ /\bB\b/;
28 ($fileobj = $file) =~ s/cp?p?$/\o/;
29 ($filedep = $file) =~ s/cp?p?$/\d/;
31 $project{"BASE_SOURCES"} .= "common/" . $file . " ";
32 $project{"BASE_OBJS"} .= $fileobj . " ";
33 $project{"BASE_DEPS"} .= $filedep . " ";
36 foreach $file (sort keys %wxUNIX) {
37 next unless $wxUNIX{$file} =~ /\bB\b/;
39 ($fileobj = $file) =~ s/cp?p?$/\o/;
40 ($filedep = $file) =~ s/cp?p?$/\d/;
42 $project{"BASE_SOURCES"} .= "unix/" . $file . " ";
43 $project{"BASE_UNIX_OBJS"} .= $fileobj . " ";
44 $project{"BASE_UNIX_DEPS"} .= $filedep . " ";
47 #! find all our headers
48 foreach $file (sort keys %wxWXINCLUDE) {
49 next unless $wxWXINCLUDE{$file} =~ /\bB\b/;
51 $project{"BASE_HEADERS"} .= $file . " "
54 foreach $file (sort keys %wxUNIXINCLUDE) {
55 next unless $wxUNIXINCLUDE{$file} =~ /\bB\b/;
57 $project{"BASE_HEADERS"} .= "unix/" . $file . " "
60 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
61 next unless $wxPROTOCOLINCLUDE{$file} =~ /\bB\b/;
63 $project{"BASE_HEADERS"} .= "protocol/" . $file . " "
66 # This file was automatically generated by tmake at #$ Now()
67 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE BASE.T!
69 #$ ExpandList("BASE_SOURCES");
72 #$ ExpandList("BASE_HEADERS");
75 #$ ExpandList("BASE_OBJS");
78 #$ ExpandList("BASE_DEPS");
81 #$ ExpandList("BASE_UNIX_OBJS");
84 #$ ExpandList("BASE_DEPS");