]> git.saurik.com Git - wxWidgets.git/blob - distrib/msw/tmake/msw.t
up to 2.8.0
[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 foreach $file (sort keys %wxGeneric) {
17 next if $wxGeneric{$file} =~ /\b(PS|G|U|16)\b/;
18
19 ($fileobj = $file) =~ s/cp?p?$/\o/;
20
21 $project{"MSW_SOURCES"} .= "generic/" . $file . " ";
22 $project{"GENERICOBJS"} .= $fileobj . " ";
23 }
24
25 foreach $file (sort keys %wxCommon) {
26 next if $wxCommon{$file} =~ /\b(R|U|16)\b/;
27
28 ($fileobj = $file) =~ s/cp?p?$/\o/;
29
30 $project{"MSW_SOURCES"} .= "common/" . $file . " ";
31 $project{"COMMONOBJS"} .= $fileobj . " ";
32 }
33
34 foreach $file (sort keys %wxMSW) {
35 next if $wxMSW{$file} =~ /\b16\b/;
36
37 ($fileobj = $file) =~ s/cp?p?$/\o/;
38
39 if( $wxMSW{$file} =~ /\bO\b/ ) {
40 $project{"MSW_SOURCES"} .= "msw/ole/" . $file . " ";
41 $project{"OLEOBJS"} .= $fileobj . " ";
42 } else {
43 $project{"MSW_SOURCES"} .= "msw/" . $file . " ";
44 $project{"GUIOBJS"} .= $fileobj . " ";
45
46 if ( $wxMSW{$file} =~ /\bL\b/ ) {
47 $project{"GUI_LOWLEVEL_OBJS"} .= $fileobj . " ";
48 }
49 }
50 }
51
52 foreach $file (sort keys %wxHTML) {
53 ($fileobj = $file) =~ s/cp?p?$/\o/;
54
55 $project{"MSW_SOURCES"} .= "html/" . $file . " ";
56 $project{"HTMLOBJS"} .= $fileobj . " ";
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
67 foreach $file (sort keys %wxOLEINCLUDE) {
68 $project{"MSW_HEADERS"} .= "msw/ole/" . $file . " ";
69 }
70
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 #$}
87 # This file was automatically generated by tmake
88 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MSW.T!
89 ALL_SOURCES = \
90 #$ ExpandList("MSW_SOURCES");
91
92 ALL_HEADERS = \
93 #$ ExpandList("MSW_HEADERS");
94
95 COMMONOBJS = \
96 #$ ExpandList("COMMONOBJS");
97
98 GENERICOBJS = \
99 #$ ExpandList("GENERICOBJS");
100
101 GUIOBJS = \
102 #$ ExpandList("GUIOBJS");
103
104 GUI_LOWLEVEL_OBJS = \
105 #$ ExpandList("GUI_LOWLEVEL_OBJS");
106
107 HTMLOBJS = \
108 #$ ExpandList("HTMLOBJS");
109
110 OLEOBJS = \
111 #$ ExpandList("OLEOBJS");
112