]> git.saurik.com Git - wxWidgets.git/blob - distrib/msw/tmake/msw.t
give focus to show top level windows
[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} =~ /\bR\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 %wxGENERICINCLUDE) {
70 $project{"MSW_HEADERS"} .= "generic/" . $file . " "
71 }
72
73 foreach $file (sort keys %wxUNIXINCLUDE) {
74 $project{"MSW_HEADERS"} .= "unix/" . $file . " "
75 }
76
77 foreach $file (sort keys %wxHTMLINCLUDE) {
78 $project{"MSW_HEADERS"} .= "html/" . $file . " "
79 }
80
81 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
82 $project{"MSW_HEADERS"} .= "protocol/" . $file . " "
83 }
84 #$}
85 # This file was automatically generated by tmake at #$ Now()
86 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MSW.T!
87 ALL_SOURCES = \
88 #$ ExpandList("MSW_SOURCES");
89
90 ALL_HEADERS = \
91 #$ ExpandList("MSW_HEADERS");
92
93 COMMONOBJS = \
94 #$ ExpandList("COMMONOBJS");
95
96 GENERICOBJS = \
97 #$ ExpandList("GENERICOBJS");
98
99 GUIOBJS = \
100 #$ ExpandList("GUIOBJS");
101
102 GUI_LOWLEVEL_OBJS = \
103 #$ ExpandList("GUI_LOWLEVEL_OBJS");
104
105 HTMLOBJS = \
106 #$ ExpandList("HTMLOBJS");
107
108 OLEOBJS = \
109 #$ ExpandList("OLEOBJS");
110