]> git.saurik.com Git - wxWidgets.git/blob - distrib/msw/tmake/gtk.t
mingw32/cygwin compilation fixes
[wxWidgets.git] / distrib / msw / tmake / gtk.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{"GTK_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{"GTK_SOURCES"} .= "common/" . $file . " ";
37 $project{"COMMONOBJS"} .= $fileobj . " ";
38 $project{"COMMONDEPS"} .= $filedep . " "
39 }
40
41 foreach $file (sort keys %wxGTK) {
42 ($fileobj = $file) =~ s/cp?p?$/\o/;
43 ($filedep = $file) =~ s/cp?p?$/\d/;
44
45 $project{"GTK_SOURCES"} .= "gtk/" . $file . " ";
46 $project{"GUIOBJS"} .= $fileobj . " ";
47 $project{"GUIDEPS"} .= $filedep . " ";
48
49 if ( $wxGTK{$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{"GTK_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{"GTK_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 next if $wxWXINCLUDE{$file} =~ /\bR\b/;
76
77 $project{"GTK_HEADERS"} .= $file . " "
78 }
79
80 foreach $file (sort keys %wxGTKINCLUDE) {
81 $project{"GTK_HEADERS"} .= "gtk/" . $file . " "
82 }
83
84 foreach $file (sort keys %wxGENERICINCLUDE) {
85 $project{"GTK_HEADERS"} .= "generic/" . $file . " "
86 }
87
88 foreach $file (sort keys %wxUNIXINCLUDE) {
89 $project{"GTK_HEADERS"} .= "unix/" . $file . " "
90 }
91
92 foreach $file (sort keys %wxHTMLINCLUDE) {
93 $project{"GTK_HEADERS"} .= "html/" . $file . " "
94 }
95
96 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
97 $project{"GTK_HEADERS"} .= "protocol/" . $file . " "
98 }
99 #$}
100 # This file was automatically generated by tmake at #$ Now()
101 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE GTK.T!
102 ALL_SOURCES = \
103 #$ ExpandList("GTK_SOURCES");
104
105 ALL_HEADERS = \
106 #$ ExpandList("GTK_HEADERS");
107
108 COMMONOBJS = \
109 #$ ExpandList("COMMONOBJS");
110
111 COMMONDEPS = \
112 #$ ExpandList("COMMONDEPS");
113
114 GENERICOBJS = \
115 #$ ExpandList("GENERICOBJS");
116
117 GENERICDEPS = \
118 #$ ExpandList("GENERICDEPS");
119
120 GUIOBJS = \
121 #$ ExpandList("GUIOBJS");
122
123 GUIDEPS = \
124 #$ ExpandList("GUIDEPS");
125
126 GUI_LOWLEVEL_OBJS = \
127 #$ ExpandList("GUI_LOWLEVEL_OBJS");
128
129 GUI_LOWLEVEL_DEPS = \
130 #$ ExpandList("GUI_LOWLEVEL_DEPS");
131
132 UNIXOBJS = \
133 #$ ExpandList("UNIXOBJS");
134
135 UNIXDEPS = \
136 #$ ExpandList("UNIXDEPS");
137
138 HTMLOBJS = \
139 #$ ExpandList("HTMLOBJS");
140
141 HTMLDEPS = \
142 #$ ExpandList("HTMLDEPS");
143