]> git.saurik.com Git - wxWidgets.git/blame - distrib/msw/tmake/msw.t
Temporary ugly trick to make release for OpenWatcom possible.
[wxWidgets.git] / distrib / msw / tmake / msw.t
CommitLineData
54744d3a
VZ
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
54744d3a
VZ
16 foreach $file (sort keys %wxGeneric) {
17 next if $wxGeneric{$file} =~ /\b(PS|G|U|16)\b/;
18
19 ($fileobj = $file) =~ s/cp?p?$/\o/;
54744d3a
VZ
20
21 $project{"MSW_SOURCES"} .= "generic/" . $file . " ";
22 $project{"GENERICOBJS"} .= $fileobj . " ";
54744d3a
VZ
23 }
24
25 foreach $file (sort keys %wxCommon) {
6a253da1 26 next if $wxCommon{$file} =~ /\b(R|U|16)\b/;
54744d3a
VZ
27
28 ($fileobj = $file) =~ s/cp?p?$/\o/;
54744d3a
VZ
29
30 $project{"MSW_SOURCES"} .= "common/" . $file . " ";
31 $project{"COMMONOBJS"} .= $fileobj . " ";
54744d3a
VZ
32 }
33
34 foreach $file (sort keys %wxMSW) {
b64f0a5f 35 next if $wxMSW{$file} =~ /\b16\b/;
54744d3a
VZ
36
37 ($fileobj = $file) =~ s/cp?p?$/\o/;
54744d3a 38
b64f0a5f
RL
39 if( $wxMSW{$file} =~ /\bO\b/ ) {
40 $project{"MSW_SOURCES"} .= "msw/ole/" . $file . " ";
41 $project{"OLEOBJS"} .= $fileobj . " ";
b64f0a5f
RL
42 } else {
43 $project{"MSW_SOURCES"} .= "msw/" . $file . " ";
44 $project{"GUIOBJS"} .= $fileobj . " ";
b584b7d2
VZ
45
46 if ( $wxMSW{$file} =~ /\bL\b/ ) {
47 $project{"GUI_LOWLEVEL_OBJS"} .= $fileobj . " ";
48 }
b64f0a5f 49 }
54744d3a
VZ
50 }
51
52 foreach $file (sort keys %wxHTML) {
53 ($fileobj = $file) =~ s/cp?p?$/\o/;
54744d3a
VZ
54
55 $project{"MSW_SOURCES"} .= "html/" . $file . " ";
56 $project{"HTMLOBJS"} .= $fileobj . " ";
54744d3a
VZ
57 }
58 #! find all our headers
59 foreach $file (sort keys %wxWXINCLUDE) {
60 $project{"MSW_HEADERS"} .= $file . " "
61 }
62
63 foreach $file (sort keys %wxMSWINCLUDE) {
64 $project{"MSW_HEADERS"} .= "msw/" . $file . " "
65 }
66
f676c7ff
MB
67 foreach $file (sort keys %wxOLEINCLUDE) {
68 $project{"MSW_HEADERS"} .= "msw/ole/" . $file . " ";
69 }
70
54744d3a
VZ
71 foreach $file (sort keys %wxGENERICINCLUDE) {
72 $project{"MSW_HEADERS"} .= "generic/" . $file . " "
73 }
74
75 foreach $file (sort keys %wxUNIXINCLUDE) {
76 $project{"MSW_HEADERS"} .= "unix/" . $file . " "
77 }
78
79 foreach $file (sort keys %wxHTMLINCLUDE) {
80 $project{"MSW_HEADERS"} .= "html/" . $file . " "
81 }
82
83 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
84 $project{"MSW_HEADERS"} .= "protocol/" . $file . " "
85 }
86#$}
0f04dbf3 87# This file was automatically generated by tmake
54744d3a
VZ
88# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MSW.T!
89ALL_SOURCES = \
90 #$ ExpandList("MSW_SOURCES");
91
92ALL_HEADERS = \
93 #$ ExpandList("MSW_HEADERS");
94
95COMMONOBJS = \
96 #$ ExpandList("COMMONOBJS");
97
54744d3a
VZ
98GENERICOBJS = \
99 #$ ExpandList("GENERICOBJS");
100
54744d3a
VZ
101GUIOBJS = \
102 #$ ExpandList("GUIOBJS");
103
b584b7d2
VZ
104GUI_LOWLEVEL_OBJS = \
105 #$ ExpandList("GUI_LOWLEVEL_OBJS");
106
54744d3a
VZ
107HTMLOBJS = \
108 #$ ExpandList("HTMLOBJS");
109
b64f0a5f
RL
110OLEOBJS = \
111 #$ ExpandList("OLEOBJS");
112