]> git.saurik.com Git - wxWidgets.git/blob - distrib/msw/tmake/mgl.t
up to 2.8.0
[wxWidgets.git] / distrib / msw / tmake / mgl.t
1 #!################################################################################
2 #! File: mgl.t
3 #! Purpose: tmake template file from which src/mgl/files.lst containing the
4 #! list of files for wxMGL 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, %wxGTK, %wxMOTIF and
12 #! %wxOS2PM hashes.
13 IncludeTemplate("filelist.t");
14
15 #! find all our sources
16
17 foreach $file (sort keys %wxGeneric) {
18 next if $wxGeneric{$file} =~ /\bNotMGL\b/;
19
20 ($fileobj = $file) =~ s/cp?p?$/\o/;
21
22 $project{"MGL_SOURCES"} .= "generic/" . $file . " ";
23 $project{"GENERICOBJS"} .= $fileobj . " ";
24 }
25
26 foreach $file (sort keys %wxCommon) {
27 next if $wxCommon{$file} =~ /\bNotMGL\b/;
28
29 ($fileobj = $file) =~ s/cp?p?$/\o/;
30
31 $project{"MGL_SOURCES"} .= "common/" . $file . " ";
32 $project{"COMMONOBJS"} .= $fileobj . " ";
33 }
34
35 foreach $file (sort keys %wxMGL) {
36 ($fileobj = $file) =~ s/cp?p?$/\o/;
37
38 $project{"MGL_SOURCES"} .= "mgl/" . $file . " ";
39 #! $project{"GUIOBJS"} .= $fileobj . " ";
40
41 if ( $wxMGL{$file} =~ /\bL\b/ ) {
42 $project{"GUI_LOWLEVEL_OBJS"} .= $fileobj . " ";
43 }
44 }
45
46 foreach $file (sort keys %wxUNIX) {
47 next if $wxUNIX{$file} =~ /\bNotMGL\b/;
48
49 ($fileobj = $file) =~ s/cp?p?$/\o/;
50
51 $project{"MGL_SOURCES"} .= "unix/" . $file . " ";
52 $project{"UNIXOBJS"} .= $fileobj . " ";
53 }
54
55 foreach $file (sort keys %wxHTML) {
56 ($fileobj = $file) =~ s/cp?p?$/\o/;
57
58 $project{"MGL_SOURCES"} .= "html/" . $file . " ";
59 $project{"HTMLOBJS"} .= $fileobj . " ";
60 }
61
62 #! find all our headers
63 foreach $file (sort keys %wxWXINCLUDE) {
64 $project{"MGL_HEADERS"} .= $file . " "
65 }
66
67 foreach $file (sort keys %wxMGLINCLUDE) {
68 $project{"MGL_HEADERS"} .= "mgl/" . $file . " "
69 }
70
71 foreach $file (sort keys %wxGENERICINCLUDE) {
72 $project{"MGL_HEADERS"} .= "generic/" . $file . " "
73 }
74
75 foreach $file (sort keys %wxUNIXINCLUDE) {
76 $project{"MGL_HEADERS"} .= "unix/" . $file . " "
77 }
78
79 foreach $file (sort keys %wxHTMLINCLUDE) {
80 $project{"MGL_HEADERS"} .= "html/" . $file . " "
81 }
82
83 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
84 $project{"MGL_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 MGL.T!
89 ALL_SOURCES = \
90 #$ ExpandList("MGL_SOURCES");
91
92 ALL_HEADERS = \
93 #$ ExpandList("MGL_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 UNIXOBJS = \
108 #$ ExpandList("UNIXOBJS");
109
110 HTMLOBJS = \
111 #$ ExpandList("HTMLOBJS");
112