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