1 #!################################################################################
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
8 #!################################################################################
10 #! include the code which parses filelist.txt file and initializes
11 #! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxGTK, %wxMOTIF and
13 IncludeTemplate("filelist.t");
15 #! find all our sources
16 $project{"COMMONOBJS"} .= "parser.o ";
17 $project{"COMMONDEPS"} .= "parser.d ";
19 foreach $file (sort keys %wxGeneric) {
20 next if $wxGeneric{$file} =~ /\bR\b/;
22 ($fileobj = $file) =~ s/cp?p?$/\o/;
23 ($filedep = $file) =~ s/cp?p?$/\d/;
25 $project{"MGL_SOURCES"} .= "generic/" . $file . " ";
26 $project{"GENERICOBJS"} .= $fileobj . " ";
27 $project{"GENERICDEPS"} .= $filedep . " "
30 foreach $file (sort keys %wxCommon) {
31 next if $wxCommon{$file} =~ /\bR\b/;
33 ($fileobj = $file) =~ s/cp?p?$/\o/;
34 ($filedep = $file) =~ s/cp?p?$/\d/;
36 $project{"MGL_SOURCES"} .= "common/" . $file . " ";
37 $project{"COMMONOBJS"} .= $fileobj . " ";
38 $project{"COMMONDEPS"} .= $filedep . " "
41 foreach $file (sort keys %wxMGL) {
42 ($fileobj = $file) =~ s/cp?p?$/\o/;
43 ($filedep = $file) =~ s/cp?p?$/\d/;
45 $project{"MGL_SOURCES"} .= "mgl/" . $file . " ";
46 $project{"GUIOBJS"} .= $fileobj . " ";
47 $project{"GUIDEPS"} .= $filedep . " ";
49 if ( $wxMGL{$file} =~ /\bL\b/ ) {
50 $project{"GUI_LOWLEVEL_OBJS"} .= $fileobj . " ";
51 $project{"GUI_LOWLEVEL_DEPS"} .= $filedep . " ";
55 foreach $file (sort keys %wxUNIX) {
56 ($fileobj = $file) =~ s/cp?p?$/\o/;
57 ($filedep = $file) =~ s/cp?p?$/\d/;
59 $project{"MGL_SOURCES"} .= "unix/" . $file . " ";
60 $project{"UNIXOBJS"} .= $fileobj . " ";
61 $project{"UNIXDEPS"} .= $filedep . " "
64 foreach $file (sort keys %wxHTML) {
65 ($fileobj = $file) =~ s/cp?p?$/\o/;
66 ($filedep = $file) =~ s/cp?p?$/\d/;
68 $project{"MGL_SOURCES"} .= "html/" . $file . " ";
69 $project{"HTMLOBJS"} .= $fileobj . " ";
70 $project{"HTMLDEPS"} .= $filedep . " "
73 #! find all our headers
74 foreach $file (sort keys %wxWXINCLUDE) {
75 $project{"MGL_HEADERS"} .= $file . " "
78 foreach $file (sort keys %wxGTKINCLUDE) {
79 $project{"MGL_HEADERS"} .= "gtk/" . $file . " "
82 foreach $file (sort keys %wxGENERICINCLUDE) {
83 $project{"MGL_HEADERS"} .= "generic/" . $file . " "
86 foreach $file (sort keys %wxUNIXINCLUDE) {
87 $project{"MGL_HEADERS"} .= "unix/" . $file . " "
90 foreach $file (sort keys %wxHTMLINCLUDE) {
91 $project{"MGL_HEADERS"} .= "html/" . $file . " "
94 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
95 $project{"MGL_HEADERS"} .= "protocol/" . $file . " "
98 # This file was automatically generated by tmake at #$ Now()
99 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE GTK.T!
101 #$ ExpandList("MGL_SOURCES");
104 #$ ExpandList("MGL_HEADERS");
107 #$ ExpandList("COMMONOBJS");
110 #$ ExpandList("COMMONDEPS");
113 #$ ExpandList("GENERICOBJS");
116 #$ ExpandList("GENERICDEPS");
119 #$ ExpandList("GUIOBJS");
122 #$ ExpandList("GUIDEPS");
124 GUI_LOWLEVEL_OBJS = \
125 #$ ExpandList("GUI_LOWLEVEL_OBJS");
127 GUI_LOWLEVEL_DEPS = \
128 #$ ExpandList("GUI_LOWLEVEL_DEPS");
131 #$ ExpandList("UNIXOBJS");
134 #$ ExpandList("UNIXDEPS");
137 #$ ExpandList("HTMLOBJS");
140 #$ ExpandList("HTMLDEPS");