]> git.saurik.com Git - wxWidgets.git/blob - distrib/msw/tmake/msw.t
some != NULL checks
[wxWidgets.git] / distrib / msw / tmake / msw.t
1 #!################################################################################
2 #! File: msw.t
3 #! Purpose: tmake template file from which src/msw/files.lst containing the
4 #! list of files for wxMSW 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, %wxMSW, %wxMOTIF and
12 #! %wxOS2PM hashes.
13 IncludeTemplate("filelist.t");
14
15 #! find all our sources
16 $project{"COMMONOBJS"} .= "parser.o ";
17 $project{"COMMONDEPS"} .= "parser.d ";
18
19 foreach $file (sort keys %wxGeneric) {
20 next if $wxGeneric{$file} =~ /\b(PS|G|U|16)\b/;
21
22 ($fileobj = $file) =~ s/cp?p?$/\o/;
23 ($filedep = $file) =~ s/cp?p?$/\d/;
24
25 $project{"MSW_SOURCES"} .= "generic/" . $file . " ";
26 $project{"GENERICOBJS"} .= $fileobj . " ";
27 $project{"GENERICDEPS"} .= $filedep . " "
28 }
29
30 foreach $file (sort keys %wxCommon) {
31 next if $wxCommon{$file} =~ /\bR\b/;
32
33 ($fileobj = $file) =~ s/cp?p?$/\o/;
34 ($filedep = $file) =~ s/cp?p?$/\d/;
35
36 $project{"MSW_SOURCES"} .= "common/" . $file . " ";
37 $project{"COMMONOBJS"} .= $fileobj . " ";
38 $project{"COMMONDEPS"} .= $filedep . " "
39 }
40
41 foreach $file (sort keys %wxMSW) {
42 #! OLE files can'be compiled with mingw32 yet
43 next if $wxMSW{$file} =~ /\b(O|16)\b/;
44
45 ($fileobj = $file) =~ s/cp?p?$/\o/;
46 ($filedep = $file) =~ s/cp?p?$/\d/;
47
48 $project{"MSW_SOURCES"} .= "msw/" . $file . " ";
49 $project{"GUIOBJS"} .= $fileobj . " ";
50 $project{"GUIDEPS"} .= $filedep . " "
51 }
52
53 foreach $file (sort keys %wxHTML) {
54 ($fileobj = $file) =~ s/cp?p?$/\o/;
55 ($filedep = $file) =~ s/cp?p?$/\d/;
56
57 $project{"MSW_SOURCES"} .= "html/" . $file . " ";
58 $project{"HTMLOBJS"} .= $fileobj . " ";
59 $project{"HTMLDEPS"} .= $filedep . " "
60 }
61 #! find all our headers
62 foreach $file (sort keys %wxWXINCLUDE) {
63 $project{"MSW_HEADERS"} .= $file . " "
64 }
65
66 foreach $file (sort keys %wxMSWINCLUDE) {
67 $project{"MSW_HEADERS"} .= "msw/" . $file . " "
68 }
69
70 foreach $file (sort keys %wxGENERICINCLUDE) {
71 $project{"MSW_HEADERS"} .= "generic/" . $file . " "
72 }
73
74 foreach $file (sort keys %wxUNIXINCLUDE) {
75 $project{"MSW_HEADERS"} .= "unix/" . $file . " "
76 }
77
78 foreach $file (sort keys %wxHTMLINCLUDE) {
79 $project{"MSW_HEADERS"} .= "html/" . $file . " "
80 }
81
82 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
83 $project{"MSW_HEADERS"} .= "protocol/" . $file . " "
84 }
85 #$}
86 # This file was automatically generated by tmake at #$ Now()
87 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MSW.T!
88 ALL_SOURCES = \
89 #$ ExpandList("MSW_SOURCES");
90
91 ALL_HEADERS = \
92 #$ ExpandList("MSW_HEADERS");
93
94 COMMONOBJS = \
95 #$ ExpandList("COMMONOBJS");
96
97 COMMONDEPS = \
98 #$ ExpandList("COMMONDEPS");
99
100 GENERICOBJS = \
101 #$ ExpandList("GENERICOBJS");
102
103 GENERICDEPS = \
104 #$ ExpandList("GENERICDEPS");
105
106 GUIOBJS = \
107 #$ ExpandList("GUIOBJS");
108
109 GUIDEPS = \
110 #$ ExpandList("GUIDEPS");
111
112 UNIXOBJS = \
113 #$ ExpandList("UNIXOBJS");
114
115 UNIXDEPS = \
116 #$ ExpandList("UNIXDEPS");
117
118 HTMLOBJS = \
119 #$ ExpandList("HTMLOBJS");
120
121 HTMLDEPS = \
122 #$ ExpandList("HTMLDEPS");
123
124 IODBCOBJS = \
125 #$ ExpandList("IODBCOBJS");
126
127 IODBCDEPS = \
128 #$ ExpandList("IODBCDEPS");