]>
Commit | Line | Data |
---|---|---|
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 | |
16 | $project{"COMMONOBJS"} .= "parser.o "; | |
54744d3a VZ |
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/; | |
54744d3a VZ |
22 | |
23 | $project{"MSW_SOURCES"} .= "generic/" . $file . " "; | |
24 | $project{"GENERICOBJS"} .= $fileobj . " "; | |
54744d3a VZ |
25 | } |
26 | ||
27 | foreach $file (sort keys %wxCommon) { | |
28 | next if $wxCommon{$file} =~ /\bR\b/; | |
29 | ||
30 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
54744d3a VZ |
31 | |
32 | $project{"MSW_SOURCES"} .= "common/" . $file . " "; | |
33 | $project{"COMMONOBJS"} .= $fileobj . " "; | |
54744d3a VZ |
34 | } |
35 | ||
36 | foreach $file (sort keys %wxMSW) { | |
b64f0a5f | 37 | next if $wxMSW{$file} =~ /\b16\b/; |
54744d3a VZ |
38 | |
39 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
54744d3a | 40 | |
b64f0a5f RL |
41 | if( $wxMSW{$file} =~ /\bO\b/ ) { |
42 | $project{"MSW_SOURCES"} .= "msw/ole/" . $file . " "; | |
43 | $project{"OLEOBJS"} .= $fileobj . " "; | |
b64f0a5f RL |
44 | } else { |
45 | $project{"MSW_SOURCES"} .= "msw/" . $file . " "; | |
46 | $project{"GUIOBJS"} .= $fileobj . " "; | |
b64f0a5f | 47 | } |
54744d3a VZ |
48 | } |
49 | ||
50 | foreach $file (sort keys %wxHTML) { | |
51 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
54744d3a VZ |
52 | |
53 | $project{"MSW_SOURCES"} .= "html/" . $file . " "; | |
54 | $project{"HTMLOBJS"} .= $fileobj . " "; | |
54744d3a VZ |
55 | } |
56 | #! find all our headers | |
57 | foreach $file (sort keys %wxWXINCLUDE) { | |
58 | $project{"MSW_HEADERS"} .= $file . " " | |
59 | } | |
60 | ||
61 | foreach $file (sort keys %wxMSWINCLUDE) { | |
62 | $project{"MSW_HEADERS"} .= "msw/" . $file . " " | |
63 | } | |
64 | ||
65 | foreach $file (sort keys %wxGENERICINCLUDE) { | |
66 | $project{"MSW_HEADERS"} .= "generic/" . $file . " " | |
67 | } | |
68 | ||
69 | foreach $file (sort keys %wxUNIXINCLUDE) { | |
70 | $project{"MSW_HEADERS"} .= "unix/" . $file . " " | |
71 | } | |
72 | ||
73 | foreach $file (sort keys %wxHTMLINCLUDE) { | |
74 | $project{"MSW_HEADERS"} .= "html/" . $file . " " | |
75 | } | |
76 | ||
77 | foreach $file (sort keys %wxPROTOCOLINCLUDE) { | |
78 | $project{"MSW_HEADERS"} .= "protocol/" . $file . " " | |
79 | } | |
80 | #$} | |
81 | # This file was automatically generated by tmake at #$ Now() | |
82 | # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MSW.T! | |
83 | ALL_SOURCES = \ | |
84 | #$ ExpandList("MSW_SOURCES"); | |
85 | ||
86 | ALL_HEADERS = \ | |
87 | #$ ExpandList("MSW_HEADERS"); | |
88 | ||
89 | COMMONOBJS = \ | |
90 | #$ ExpandList("COMMONOBJS"); | |
91 | ||
54744d3a VZ |
92 | GENERICOBJS = \ |
93 | #$ ExpandList("GENERICOBJS"); | |
94 | ||
54744d3a VZ |
95 | GUIOBJS = \ |
96 | #$ ExpandList("GUIOBJS"); | |
97 | ||
54744d3a VZ |
98 | HTMLOBJS = \ |
99 | #$ ExpandList("HTMLOBJS"); | |
100 | ||
b64f0a5f RL |
101 | OLEOBJS = \ |
102 | #$ ExpandList("OLEOBJS"); | |
103 |