]> git.saurik.com Git - wxWidgets.git/blob - distrib/msw/tmake/mgl.t
mingw32/cygwin compilation fixes
[wxWidgets.git] / distrib / msw / tmake / mgl.t
1 #!################################################################################
2 #! File: gtk.t
3 #! Purpose: tmake template file from which src/gtk/files.lst containing the
4 #! list of files for wxGTK 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 $project{"COMMONOBJS"} .= "parser.o ";
17 $project{"COMMONDEPS"} .= "parser.d ";
18
19 foreach $file (sort keys %wxGeneric) {
20 next if $wxGeneric{$file} =~ /\bR\b/;
21
22 ($fileobj = $file) =~ s/cp?p?$/\o/;
23 ($filedep = $file) =~ s/cp?p?$/\d/;
24
25 $project{"MGL_SOURCES"} .= "generic/" . $file . " ";
26 $project{"GENERICOBJS"} .= $fileobj . " ";
27 $project{"GENERICDEPS"} .= $filedep . " "
28 }
29
30 foreach $file (sort keys %wxCommon) {
31 next if $wxCommon{$file} =~ /\bR\b/;
32
33 ($fileobj = $file) =~ s/cp?p?$/\o/;
34 ($filedep = $file) =~ s/cp?p?$/\d/;
35
36 $project{"MGL_SOURCES"} .= "common/" . $file . " ";
37 $project{"COMMONOBJS"} .= $fileobj . " ";
38 $project{"COMMONDEPS"} .= $filedep . " "
39 }
40
41 foreach $file (sort keys %wxMGL) {
42 ($fileobj = $file) =~ s/cp?p?$/\o/;
43 ($filedep = $file) =~ s/cp?p?$/\d/;
44
45 $project{"MGL_SOURCES"} .= "mgl/" . $file . " ";
46 $project{"GUIOBJS"} .= $fileobj . " ";
47 $project{"GUIDEPS"} .= $filedep . " ";
48
49 if ( $wxMGL{$file} =~ /\bL\b/ ) {
50 $project{"GUI_LOWLEVEL_OBJS"} .= $fileobj . " ";
51 $project{"GUI_LOWLEVEL_DEPS"} .= $filedep . " ";
52 }
53 }
54
55 foreach $file (sort keys %wxUNIX) {
56 ($fileobj = $file) =~ s/cp?p?$/\o/;
57 ($filedep = $file) =~ s/cp?p?$/\d/;
58
59 $project{"MGL_SOURCES"} .= "unix/" . $file . " ";
60 $project{"UNIXOBJS"} .= $fileobj . " ";
61 $project{"UNIXDEPS"} .= $filedep . " "
62 }
63
64 foreach $file (sort keys %wxHTML) {
65 ($fileobj = $file) =~ s/cp?p?$/\o/;
66 ($filedep = $file) =~ s/cp?p?$/\d/;
67
68 $project{"MGL_SOURCES"} .= "html/" . $file . " ";
69 $project{"HTMLOBJS"} .= $fileobj . " ";
70 $project{"HTMLDEPS"} .= $filedep . " "
71 }
72
73 #! find all our headers
74 foreach $file (sort keys %wxWXINCLUDE) {
75 $project{"MGL_HEADERS"} .= $file . " "
76 }
77
78 foreach $file (sort keys %wxGTKINCLUDE) {
79 $project{"MGL_HEADERS"} .= "gtk/" . $file . " "
80 }
81
82 foreach $file (sort keys %wxGENERICINCLUDE) {
83 $project{"MGL_HEADERS"} .= "generic/" . $file . " "
84 }
85
86 foreach $file (sort keys %wxUNIXINCLUDE) {
87 $project{"MGL_HEADERS"} .= "unix/" . $file . " "
88 }
89
90 foreach $file (sort keys %wxHTMLINCLUDE) {
91 $project{"MGL_HEADERS"} .= "html/" . $file . " "
92 }
93
94 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
95 $project{"MGL_HEADERS"} .= "protocol/" . $file . " "
96 }
97 #$}
98 # This file was automatically generated by tmake at #$ Now()
99 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE GTK.T!
100 ALL_SOURCES = \
101 #$ ExpandList("MGL_SOURCES");
102
103 ALL_HEADERS = \
104 #$ ExpandList("MGL_HEADERS");
105
106 COMMONOBJS = \
107 #$ ExpandList("COMMONOBJS");
108
109 COMMONDEPS = \
110 #$ ExpandList("COMMONDEPS");
111
112 GENERICOBJS = \
113 #$ ExpandList("GENERICOBJS");
114
115 GENERICDEPS = \
116 #$ ExpandList("GENERICDEPS");
117
118 GUIOBJS = \
119 #$ ExpandList("GUIOBJS");
120
121 GUIDEPS = \
122 #$ ExpandList("GUIDEPS");
123
124 GUI_LOWLEVEL_OBJS = \
125 #$ ExpandList("GUI_LOWLEVEL_OBJS");
126
127 GUI_LOWLEVEL_DEPS = \
128 #$ ExpandList("GUI_LOWLEVEL_DEPS");
129
130 UNIXOBJS = \
131 #$ ExpandList("UNIXOBJS");
132
133 UNIXDEPS = \
134 #$ ExpandList("UNIXDEPS");
135
136 HTMLOBJS = \
137 #$ ExpandList("HTMLOBJS");
138
139 HTMLDEPS = \
140 #$ ExpandList("HTMLDEPS");
141