Commit | Line | Data |
---|---|---|
2224580a VZ |
1 | #!################################################################################ |
2 | #! File: base.t | |
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 | |
6 | #! Created: 27.01.00 | |
7 | #! Version: $Id$ | |
8 | #!################################################################################ | |
9 | #${ | |
10 | #! include the code which parses filelist.txt file and initializes | |
11 | #! %wxCommon, %wxGeneric, %wxHtml, %wxUnix, %wxGTK, %wxMOTIF and | |
12 | #! %wxOS2PM hashes. | |
13 | IncludeTemplate("filelist.t"); | |
14 | ||
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/; | |
19 | ||
20 | $project{"BASE_SOURCES"} .= "common/" . $file . " "; | |
21 | $project{"BASE_OBJS"} .= $fileobj . " "; | |
22 | $project{"BASE_DEPS"} .= $filedep . " "; | |
23 | } | |
24 | ||
25 | foreach $file (sort keys %wxCommon) { | |
26 | next unless $wxCommon{$file} =~ /\bB\b/; | |
27 | ||
28 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
29 | ($filedep = $file) =~ s/cp?p?$/\d/; | |
30 | ||
31 | $project{"BASE_SOURCES"} .= "common/" . $file . " "; | |
32 | $project{"BASE_OBJS"} .= $fileobj . " "; | |
33 | $project{"BASE_DEPS"} .= $filedep . " "; | |
34 | } | |
35 | ||
36 | foreach $file (sort keys %wxUNIX) { | |
37 | next unless $wxUNIX{$file} =~ /\bB\b/; | |
38 | ||
39 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
40 | ($filedep = $file) =~ s/cp?p?$/\d/; | |
41 | ||
42 | $project{"BASE_SOURCES"} .= "unix/" . $file . " "; | |
43 | $project{"BASE_UNIX_OBJS"} .= $fileobj . " "; | |
44 | $project{"BASE_UNIX_DEPS"} .= $filedep . " "; | |
45 | } | |
46 | ||
47 | #! find all our headers | |
48 | foreach $file (sort keys %wxWXINCLUDE) { | |
49 | next unless $wxWXINCLUDE{$file} =~ /\bB\b/; | |
50 | ||
51 | $project{"BASE_HEADERS"} .= $file . " " | |
52 | } | |
53 | ||
54 | foreach $file (sort keys %wxUNIXINCLUDE) { | |
dc3d889d | 55 | next unless $wxUNIXINCLUDE{$file} =~ /\bB\b/; |
2224580a VZ |
56 | |
57 | $project{"BASE_HEADERS"} .= "unix/" . $file . " " | |
58 | } | |
59 | ||
60 | foreach $file (sort keys %wxPROTOCOLINCLUDE) { | |
61 | next unless $wxPROTOCOLINCLUDE{$file} =~ /\bB\b/; | |
62 | ||
63 | $project{"BASE_HEADERS"} .= "protocol/" . $file . " " | |
64 | } | |
65 | #$} | |
66 | # This file was automatically generated by tmake at #$ Now() | |
67 | # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE BASE.T! | |
68 | ALL_SOURCES = \ | |
69 | #$ ExpandList("BASE_SOURCES"); | |
70 | ||
71 | ALL_HEADERS = \ | |
72 | #$ ExpandList("BASE_HEADERS"); | |
73 | ||
74 | BASE_OBJS = \ | |
75 | #$ ExpandList("BASE_OBJS"); | |
76 | ||
77 | BASE_DEPS = \ | |
78 | #$ ExpandList("BASE_DEPS"); | |
79 | ||
80 | BASE_UNIX_OBJS = \ | |
81 | #$ ExpandList("BASE_UNIX_OBJS"); | |
82 | ||
83 | BASE_DEPS = \ | |
84 | #$ ExpandList("BASE_DEPS"); |