1 #!################################################################################
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
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
17 foreach $file (sort keys %wxGeneric) {
18 next if $wxGeneric{$file} =~ /\bNotMGL\b/;
20 ($fileobj = $file) =~ s/cp?p?$/\o/;
22 $project{"MGL_SOURCES"} .= "generic/" . $file . " ";
23 $project{"GENERICOBJS"} .= $fileobj . " ";
26 foreach $file (sort keys %wxCommon) {
27 next if $wxCommon{$file} =~ /\bNotMGL\b/;
29 ($fileobj = $file) =~ s/cp?p?$/\o/;
31 $project{"MGL_SOURCES"} .= "common/" . $file . " ";
32 $project{"COMMONOBJS"} .= $fileobj . " ";
35 foreach $file (sort keys %wxMGL) {
36 ($fileobj = $file) =~ s/cp?p?$/\o/;
38 $project{"MGL_SOURCES"} .= "mgl/" . $file . " ";
39 #! $project{"GUIOBJS"} .= $fileobj . " ";
41 if ( $wxMGL{$file} =~ /\bL\b/ ) {
42 $project{"GUI_LOWLEVEL_OBJS"} .= $fileobj . " ";
46 foreach $file (sort keys %wxUNIX) {
47 next if $wxUNIX{$file} =~ /\bNotMGL\b/;
49 ($fileobj = $file) =~ s/cp?p?$/\o/;
51 $project{"MGL_SOURCES"} .= "unix/" . $file . " ";
52 $project{"UNIXOBJS"} .= $fileobj . " ";
55 foreach $file (sort keys %wxHTML) {
56 ($fileobj = $file) =~ s/cp?p?$/\o/;
58 $project{"MGL_SOURCES"} .= "html/" . $file . " ";
59 $project{"HTMLOBJS"} .= $fileobj . " ";
62 #! find all our headers
63 foreach $file (sort keys %wxWXINCLUDE) {
64 $project{"MGL_HEADERS"} .= $file . " "
67 foreach $file (sort keys %wxMGLINCLUDE) {
68 $project{"MGL_HEADERS"} .= "mgl/" . $file . " "
71 foreach $file (sort keys %wxGENERICINCLUDE) {
72 $project{"MGL_HEADERS"} .= "generic/" . $file . " "
75 foreach $file (sort keys %wxUNIXINCLUDE) {
76 $project{"MGL_HEADERS"} .= "unix/" . $file . " "
79 foreach $file (sort keys %wxHTMLINCLUDE) {
80 $project{"MGL_HEADERS"} .= "html/" . $file . " "
83 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
84 $project{"MGL_HEADERS"} .= "protocol/" . $file . " "
87 # This file was automatically generated by tmake
88 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MGL.T!
90 #$ ExpandList("MGL_SOURCES");
93 #$ ExpandList("MGL_HEADERS");
96 #$ ExpandList("COMMONOBJS");
99 #$ ExpandList("GENERICOBJS");
102 #! #$ ExpandList("GUIOBJS");
104 GUI_LOWLEVEL_OBJS = \
105 #$ ExpandList("GUI_LOWLEVEL_OBJS");
108 #$ ExpandList("UNIXOBJS");
111 #$ ExpandList("HTMLOBJS");