]> git.saurik.com Git - wxWidgets.git/blame - distrib/msw/tmake/mgl.t
Some code tidying; removing dibutils.cpp which
[wxWidgets.git] / distrib / msw / tmake / mgl.t
CommitLineData
1e6feb95 1#!################################################################################
1725144d
RR
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
1e6feb95
VZ
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
1e6feb95
VZ
16
17 foreach $file (sort keys %wxGeneric) {
7a0166fa 18 next if $wxGeneric{$file} =~ /\bNotMGL\b/;
1e6feb95
VZ
19
20 ($fileobj = $file) =~ s/cp?p?$/\o/;
1e6feb95
VZ
21
22 $project{"MGL_SOURCES"} .= "generic/" . $file . " ";
23 $project{"GENERICOBJS"} .= $fileobj . " ";
1e6feb95
VZ
24 }
25
26 foreach $file (sort keys %wxCommon) {
7a0166fa 27 next if $wxCommon{$file} =~ /\bNotMGL\b/;
1e6feb95
VZ
28
29 ($fileobj = $file) =~ s/cp?p?$/\o/;
1e6feb95
VZ
30
31 $project{"MGL_SOURCES"} .= "common/" . $file . " ";
32 $project{"COMMONOBJS"} .= $fileobj . " ";
1e6feb95
VZ
33 }
34
35 foreach $file (sort keys %wxMGL) {
36 ($fileobj = $file) =~ s/cp?p?$/\o/;
1e6feb95
VZ
37
38 $project{"MGL_SOURCES"} .= "mgl/" . $file . " ";
7a0166fa 39#! $project{"GUIOBJS"} .= $fileobj . " ";
1e6feb95
VZ
40
41 if ( $wxMGL{$file} =~ /\bL\b/ ) {
42 $project{"GUI_LOWLEVEL_OBJS"} .= $fileobj . " ";
1e6feb95
VZ
43 }
44 }
45
46 foreach $file (sort keys %wxUNIX) {
f05605ff
VS
47 next if $wxUNIX{$file} =~ /\bNotMGL\b/;
48
1e6feb95 49 ($fileobj = $file) =~ s/cp?p?$/\o/;
1e6feb95
VZ
50
51 $project{"MGL_SOURCES"} .= "unix/" . $file . " ";
52 $project{"UNIXOBJS"} .= $fileobj . " ";
1e6feb95
VZ
53 }
54
55 foreach $file (sort keys %wxHTML) {
56 ($fileobj = $file) =~ s/cp?p?$/\o/;
1e6feb95
VZ
57
58 $project{"MGL_SOURCES"} .= "html/" . $file . " ";
59 $project{"HTMLOBJS"} .= $fileobj . " ";
1e6feb95
VZ
60 }
61
62 #! find all our headers
63 foreach $file (sort keys %wxWXINCLUDE) {
64 $project{"MGL_HEADERS"} .= $file . " "
65 }
66
1725144d
RR
67 foreach $file (sort keys %wxMGLINCLUDE) {
68 $project{"MGL_HEADERS"} .= "mgl/" . $file . " "
1e6feb95
VZ
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#$}
0f04dbf3 87# This file was automatically generated by tmake
1725144d 88# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MGL.T!
1e6feb95
VZ
89ALL_SOURCES = \
90 #$ ExpandList("MGL_SOURCES");
91
92ALL_HEADERS = \
93 #$ ExpandList("MGL_HEADERS");
94
95COMMONOBJS = \
96 #$ ExpandList("COMMONOBJS");
97
1e6feb95
VZ
98GENERICOBJS = \
99 #$ ExpandList("GENERICOBJS");
100
7a0166fa
VS
101#!GUIOBJS = \
102#! #$ ExpandList("GUIOBJS");
103#!
1e6feb95
VZ
104GUI_LOWLEVEL_OBJS = \
105 #$ ExpandList("GUI_LOWLEVEL_OBJS");
106
1e6feb95
VZ
107UNIXOBJS = \
108 #$ ExpandList("UNIXOBJS");
109
1e6feb95
VZ
110HTMLOBJS = \
111 #$ ExpandList("HTMLOBJS");
112