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