]>
Commit | Line | Data |
---|---|---|
7c7b95f4 JS |
1 | #!################################################################################ |
2 | #! File: x11.t | |
3 | #! Purpose: tmake template file from which src/x11/files.lst containing the | |
4 | #! list of files for wxMotif library is generated by tmake | |
5 | #! Author: Vadim Zeitlin | |
6 | #! Created: 28.01.00 | |
7 | #! Version: $Id$ | |
8 | #!################################################################################ | |
9 | #${ | |
10 | #! include the code which parses filelist.txt file and initializes | |
11 | #! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxMOTIF, %wxX11 and | |
12 | #! %wxOS2PM hashes. | |
13 | IncludeTemplate("filelist.t"); | |
14 | ||
15 | #! find all our sources | |
16 | $project{"COMMONOBJS"} .= "parser.o "; | |
17 | ||
be0a4b9a RR |
18 | foreach $file (sort keys %wxX11) { |
19 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
20 | ||
21 | $project{"X11_SOURCES"} .= "x11/" . $file . " "; | |
22 | $project{"GUIOBJS"} .= $fileobj . " "; | |
23 | } | |
24 | ||
25 | foreach $file (sort keys %wxUNIV) { | |
26 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
27 | ||
28 | if ( $wxUNIV{$file} =~ /Theme/ ) { | |
29 | $file = "themes/" . $file | |
30 | } | |
31 | ||
32 | $project{"X11_SOURCES"} .= "univ/" . $file . " "; | |
33 | $project{"GUIOBJS"} .= $fileobj . " "; | |
34 | } | |
35 | ||
7c7b95f4 | 36 | foreach $file (sort keys %wxGeneric) { |
45ce82f3 | 37 | next if $wxGeneric{$file} =~ /\bNotX11\b/; |
7c7b95f4 JS |
38 | |
39 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
40 | ||
41 | $project{"X11_SOURCES"} .= "generic/" . $file . " "; | |
42 | $project{"GENERICOBJS"} .= $fileobj . " "; | |
43 | } | |
44 | ||
45 | foreach $file (sort keys %wxCommon) { | |
45ce82f3 | 46 | next if $wxCommon{$file} =~ /\bNotX11\b/; |
7c7b95f4 JS |
47 | |
48 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
49 | ||
50 | $project{"X11_SOURCES"} .= "common/" . $file . " "; | |
51 | $project{"COMMONOBJS"} .= $fileobj . " "; | |
52 | } | |
53 | ||
7c7b95f4 JS |
54 | foreach $file (sort keys %wxUNIX) { |
55 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
56 | ||
57 | $project{"X11_SOURCES"} .= "unix/" . $file . " "; | |
58 | $project{"UNIXOBJS"} .= $fileobj . " "; | |
59 | } | |
60 | ||
61 | foreach $file (sort keys %wxHTML) { | |
62 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
63 | ||
64 | $project{"X11_SOURCES"} .= "html/" . $file . " "; | |
65 | $project{"HTMLOBJS"} .= $fileobj . " "; | |
66 | } | |
67 | #! find all our headers | |
68 | foreach $file (sort keys %wxWXINCLUDE) { | |
45ce82f3 | 69 | next if $wxWXINCLUDE{$file} =~ /\bNotX11\b/; |
7c7b95f4 JS |
70 | |
71 | $project{"X11_HEADERS"} .= $file . " " | |
72 | } | |
73 | ||
74 | foreach $file (sort keys %wxX11INCLUDE) { | |
75 | $project{"X11_HEADERS"} .= "x11/" . $file . " " | |
76 | } | |
77 | ||
be0a4b9a RR |
78 | foreach $file (sort keys %wxUNIVINCLUDE) { |
79 | $project{"X11_HEADERS"} .= "univ/" . $file . " "; | |
80 | } | |
81 | ||
7c7b95f4 JS |
82 | foreach $file (sort keys %wxGENERICINCLUDE) { |
83 | $project{"X11_HEADERS"} .= "generic/" . $file . " " | |
84 | } | |
85 | ||
86 | foreach $file (sort keys %wxUNIXINCLUDE) { | |
87 | $project{"X11_HEADERS"} .= "unix/" . $file . " " | |
88 | } | |
89 | ||
90 | foreach $file (sort keys %wxHTMLINCLUDE) { | |
91 | $project{"X11_HEADERS"} .= "html/" . $file . " " | |
92 | } | |
93 | ||
94 | foreach $file (sort keys %wxPROTOCOLINCLUDE) { | |
95 | $project{"X11_HEADERS"} .= "protocol/" . $file . " " | |
96 | } | |
97 | #$} | |
98 | # This file was automatically generated by tmake | |
45ce82f3 | 99 | # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE X11.T! |
7c7b95f4 JS |
100 | ALL_SOURCES = \ |
101 | #$ ExpandList("X11_SOURCES"); | |
102 | ||
103 | ALL_HEADERS = \ | |
104 | #$ ExpandList("X11_HEADERS"); | |
105 | ||
be0a4b9a RR |
106 | GUIOBJS = \ |
107 | #$ ExpandList("GUIOBJS"); | |
108 | ||
7c7b95f4 JS |
109 | COMMONOBJS = \ |
110 | #$ ExpandList("COMMONOBJS"); | |
111 | ||
112 | GENERICOBJS = \ | |
113 | #$ ExpandList("GENERICOBJS"); | |
114 | ||
7c7b95f4 JS |
115 | UNIXOBJS = \ |
116 | #$ ExpandList("UNIXOBJS"); | |
117 | ||
118 | HTMLOBJS = \ | |
119 | #$ ExpandList("HTMLOBJS"); | |
120 |