]> git.saurik.com Git - wxWidgets.git/blob - distrib/msw/tmake/x11.t
Trim trailing spaces from key names when parsing
[wxWidgets.git] / distrib / msw / tmake / x11.t
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 foreach $file (sort keys %wxX11) {
17 ($fileobj = $file) =~ s/cp?p?$/\o/;
18
19 $project{"X11_SOURCES"} .= "x11/" . $file . " ";
20 $project{"GUIOBJS"} .= $fileobj . " ";
21 }
22
23 foreach $file (sort keys %wxGeneric) {
24 next if $wxGeneric{$file} =~ /\bNotX11\b/;
25
26 ($fileobj = $file) =~ s/cp?p?$/\o/;
27
28 $project{"X11_SOURCES"} .= "generic/" . $file . " ";
29 $project{"GENERICOBJS"} .= $fileobj . " ";
30 }
31
32 foreach $file (sort keys %wxCommon) {
33 next if $wxCommon{$file} =~ /\bNotX11\b/;
34
35 ($fileobj = $file) =~ s/cp?p?$/\o/;
36
37 $project{"X11_SOURCES"} .= "common/" . $file . " ";
38 $project{"COMMONOBJS"} .= $fileobj . " ";
39 }
40
41 foreach $file (sort keys %wxUNIX) {
42 ($fileobj = $file) =~ s/cp?p?$/\o/;
43
44 $project{"X11_SOURCES"} .= "unix/" . $file . " ";
45 $project{"UNIXOBJS"} .= $fileobj . " ";
46 }
47
48 foreach $file (sort keys %wxHTML) {
49 ($fileobj = $file) =~ s/cp?p?$/\o/;
50
51 $project{"X11_SOURCES"} .= "html/" . $file . " ";
52 $project{"HTMLOBJS"} .= $fileobj . " ";
53 }
54 #! find all our headers
55 foreach $file (sort keys %wxWXINCLUDE) {
56 next if $wxWXINCLUDE{$file} =~ /\bNotX11\b/;
57
58 $project{"X11_HEADERS"} .= $file . " "
59 }
60
61 foreach $file (sort keys %wxX11INCLUDE) {
62 $project{"X11_HEADERS"} .= "x11/" . $file . " "
63 }
64
65 foreach $file (sort keys %wxUNIVINCLUDE) {
66 $project{"X11_HEADERS"} .= "univ/" . $file . " ";
67 }
68
69 foreach $file (sort keys %wxGENERICINCLUDE) {
70 $project{"X11_HEADERS"} .= "generic/" . $file . " "
71 }
72
73 foreach $file (sort keys %wxUNIXINCLUDE) {
74 $project{"X11_HEADERS"} .= "unix/" . $file . " "
75 }
76
77 foreach $file (sort keys %wxHTMLINCLUDE) {
78 $project{"X11_HEADERS"} .= "html/" . $file . " "
79 }
80
81 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
82 $project{"X11_HEADERS"} .= "protocol/" . $file . " "
83 }
84 #$}
85 # This file was automatically generated by tmake
86 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE X11.T!
87 ALL_SOURCES = \
88 #$ ExpandList("X11_SOURCES");
89
90 ALL_HEADERS = \
91 #$ ExpandList("X11_HEADERS");
92
93 GUI_LOWLEVEL_OBJS = \
94 #$ ExpandList("GUIOBJS");
95
96 COMMONOBJS = \
97 #$ ExpandList("COMMONOBJS");
98
99 GENERICOBJS = \
100 #$ ExpandList("GENERICOBJS");
101
102 UNIXOBJS = \
103 #$ ExpandList("UNIXOBJS");
104
105 HTMLOBJS = \
106 #$ ExpandList("HTMLOBJS");
107