]>
Commit | Line | Data |
---|---|---|
2224580a VZ |
1 | #!################################################################################ |
2 | #! File: base.t | |
f21a3c41 | 3 | #! Purpose: tmake template file from which src/files.lst containing the |
2224580a VZ |
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/; | |
2224580a VZ |
18 | |
19 | $project{"BASE_SOURCES"} .= "common/" . $file . " "; | |
20 | $project{"BASE_OBJS"} .= $fileobj . " "; | |
2224580a VZ |
21 | } |
22 | ||
23 | foreach $file (sort keys %wxCommon) { | |
24 | next unless $wxCommon{$file} =~ /\bB\b/; | |
25 | ||
26 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
2224580a VZ |
27 | |
28 | $project{"BASE_SOURCES"} .= "common/" . $file . " "; | |
29 | $project{"BASE_OBJS"} .= $fileobj . " "; | |
2224580a VZ |
30 | } |
31 | ||
32 | foreach $file (sort keys %wxUNIX) { | |
33 | next unless $wxUNIX{$file} =~ /\bB\b/; | |
34 | ||
35 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
2224580a VZ |
36 | |
37 | $project{"BASE_SOURCES"} .= "unix/" . $file . " "; | |
38 | $project{"BASE_UNIX_OBJS"} .= $fileobj . " "; | |
3a922bb4 RL |
39 | } |
40 | ||
41 | foreach $file (sort keys %wxMSW) { | |
42 | next unless $wxMSW{$file} =~ /\bB\b/; | |
43 | ||
44 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
45 | ||
46 | $project{"BASE_SOURCES"} .= "msw/" . $file . " "; | |
47 | $project{"BASE_MSW_OBJS"} .= $fileobj . " "; | |
2224580a VZ |
48 | } |
49 | ||
50 | #! find all our headers | |
51 | foreach $file (sort keys %wxWXINCLUDE) { | |
52 | next unless $wxWXINCLUDE{$file} =~ /\bB\b/; | |
53 | ||
54 | $project{"BASE_HEADERS"} .= $file . " " | |
55 | } | |
56 | ||
57 | foreach $file (sort keys %wxUNIXINCLUDE) { | |
dc3d889d | 58 | next unless $wxUNIXINCLUDE{$file} =~ /\bB\b/; |
2224580a VZ |
59 | |
60 | $project{"BASE_HEADERS"} .= "unix/" . $file . " " | |
61 | } | |
62 | ||
3a922bb4 RL |
63 | foreach $file (sort keys %wxMSWINCLUDE) { |
64 | next unless $wxMSWINCLUDE{$file} =~ /\bB\b/; | |
65 | ||
66 | $project{"BASE_HEADERS"} .= "msw/" . $file . " " | |
67 | } | |
68 | ||
2224580a VZ |
69 | foreach $file (sort keys %wxPROTOCOLINCLUDE) { |
70 | next unless $wxPROTOCOLINCLUDE{$file} =~ /\bB\b/; | |
71 | ||
72 | $project{"BASE_HEADERS"} .= "protocol/" . $file . " " | |
73 | } | |
74 | #$} | |
75 | # This file was automatically generated by tmake at #$ Now() | |
76 | # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE BASE.T! | |
77 | ALL_SOURCES = \ | |
78 | #$ ExpandList("BASE_SOURCES"); | |
79 | ||
80 | ALL_HEADERS = \ | |
81 | #$ ExpandList("BASE_HEADERS"); | |
82 | ||
83 | BASE_OBJS = \ | |
84 | #$ ExpandList("BASE_OBJS"); | |
85 | ||
2224580a VZ |
86 | BASE_UNIX_OBJS = \ |
87 | #$ ExpandList("BASE_UNIX_OBJS"); | |
88 | ||
3a922bb4 RL |
89 | BASE_MSW_OBJS = \ |
90 | #$ ExpandList("BASE_MSW_OBJS"); | |
91 | ||
92 |