]> git.saurik.com Git - wxWidgets.git/blob - distrib/msw/tmake/msw.t
first pass of wxUniv merge - nothing works, most parts don't even compile
[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 next if $wxMSW{$file} =~ /\b16\b/;
43
44 ($fileobj = $file) =~ s/cp?p?$/\o/;
45 ($filedep = $file) =~ s/cp?p?$/\d/;
46
47 if( $wxMSW{$file} =~ /\bO\b/ ) {
48 $project{"MSW_SOURCES"} .= "msw/ole/" . $file . " ";
49 $project{"OLEOBJS"} .= $fileobj . " ";
50 $project{"OLEDEPS"} .= $filedep . " ";
51 } else {
52 $project{"MSW_SOURCES"} .= "msw/" . $file . " ";
53 $project{"GUIOBJS"} .= $fileobj . " ";
54 $project{"GUIDEPS"} .= $filedep . " ";
55 }
56 }
57
58 foreach $file (sort keys %wxHTML) {
59 ($fileobj = $file) =~ s/cp?p?$/\o/;
60 ($filedep = $file) =~ s/cp?p?$/\d/;
61
62 $project{"MSW_SOURCES"} .= "html/" . $file . " ";
63 $project{"HTMLOBJS"} .= $fileobj . " ";
64 $project{"HTMLDEPS"} .= $filedep . " "
65 }
66 #! find all our headers
67 foreach $file (sort keys %wxWXINCLUDE) {
68 $project{"MSW_HEADERS"} .= $file . " "
69 }
70
71 foreach $file (sort keys %wxMSWINCLUDE) {
72 $project{"MSW_HEADERS"} .= "msw/" . $file . " "
73 }
74
75 foreach $file (sort keys %wxGENERICINCLUDE) {
76 $project{"MSW_HEADERS"} .= "generic/" . $file . " "
77 }
78
79 foreach $file (sort keys %wxUNIXINCLUDE) {
80 $project{"MSW_HEADERS"} .= "unix/" . $file . " "
81 }
82
83 foreach $file (sort keys %wxHTMLINCLUDE) {
84 $project{"MSW_HEADERS"} .= "html/" . $file . " "
85 }
86
87 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
88 $project{"MSW_HEADERS"} .= "protocol/" . $file . " "
89 }
90 #$}
91 # This file was automatically generated by tmake at #$ Now()
92 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MSW.T!
93 ALL_SOURCES = \
94 #$ ExpandList("MSW_SOURCES");
95
96 ALL_HEADERS = \
97 #$ ExpandList("MSW_HEADERS");
98
99 COMMONOBJS = \
100 #$ ExpandList("COMMONOBJS");
101
102 COMMONDEPS = \
103 #$ ExpandList("COMMONDEPS");
104
105 GENERICOBJS = \
106 #$ ExpandList("GENERICOBJS");
107
108 GENERICDEPS = \
109 #$ ExpandList("GENERICDEPS");
110
111 GUIOBJS = \
112 #$ ExpandList("GUIOBJS");
113
114 GUIDEPS = \
115 #$ ExpandList("GUIDEPS");
116
117 UNIXOBJS = \
118 #$ ExpandList("UNIXOBJS");
119
120 UNIXDEPS = \
121 #$ ExpandList("UNIXDEPS");
122
123 HTMLOBJS = \
124 #$ ExpandList("HTMLOBJS");
125
126 HTMLDEPS = \
127 #$ ExpandList("HTMLDEPS");
128
129 OLEOBJS = \
130 #$ ExpandList("OLEOBJS");
131
132 OLEDEPS = \
133 #$ ExpandList("OLEDEPS");
134
135 IODBCOBJS = \
136 #$ ExpandList("IODBCOBJS");
137
138 IODBCDEPS = \
139 #$ ExpandList("IODBCDEPS");