]>
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) { | |
6a253da1 | 28 | next if $wxCommon{$file} =~ /\b(R|U|16)\b/; |
54744d3a VZ |
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 . " "; | |
b584b7d2 VZ |
47 | |
48 | if ( $wxMSW{$file} =~ /\bL\b/ ) { | |
49 | $project{"GUI_LOWLEVEL_OBJS"} .= $fileobj . " "; | |
50 | } | |
b64f0a5f | 51 | } |
54744d3a VZ |
52 | } |
53 | ||
54 | foreach $file (sort keys %wxHTML) { | |
55 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
54744d3a VZ |
56 | |
57 | $project{"MSW_SOURCES"} .= "html/" . $file . " "; | |
58 | $project{"HTMLOBJS"} .= $fileobj . " "; | |
54744d3a VZ |
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 | ||
f676c7ff MB |
69 | foreach $file (sort keys %wxOLEINCLUDE) { |
70 | $project{"MSW_HEADERS"} .= "msw/ole/" . $file . " "; | |
71 | } | |
72 | ||
54744d3a VZ |
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 | #$} | |
0f04dbf3 | 89 | # This file was automatically generated by tmake |
54744d3a VZ |
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 | ||
54744d3a VZ |
100 | GENERICOBJS = \ |
101 | #$ ExpandList("GENERICOBJS"); | |
102 | ||
54744d3a VZ |
103 | GUIOBJS = \ |
104 | #$ ExpandList("GUIOBJS"); | |
105 | ||
b584b7d2 VZ |
106 | GUI_LOWLEVEL_OBJS = \ |
107 | #$ ExpandList("GUI_LOWLEVEL_OBJS"); | |
108 | ||
54744d3a VZ |
109 | HTMLOBJS = \ |
110 | #$ ExpandList("HTMLOBJS"); | |
111 | ||
b64f0a5f RL |
112 | OLEOBJS = \ |
113 | #$ ExpandList("OLEOBJS"); | |
114 |