2001-06-26 16:59:19 -04:00
|
|
|
#!################################################################################
|
2001-12-21 14:22:48 -05:00
|
|
|
#! File: mgl.t
|
|
|
|
#! Purpose: tmake template file from which src/mgl/files.lst containing the
|
|
|
|
#! list of files for wxMGL library is generated by tmake
|
2001-06-26 16:59:19 -04:00
|
|
|
#! Author: Vadim Zeitlin
|
|
|
|
#! Created: 28.01.00
|
|
|
|
#! Version: $Id$
|
|
|
|
#!################################################################################
|
|
|
|
#${
|
|
|
|
#! include the code which parses filelist.txt file and initializes
|
|
|
|
#! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxGTK, %wxMOTIF and
|
|
|
|
#! %wxOS2PM hashes.
|
|
|
|
IncludeTemplate("filelist.t");
|
|
|
|
|
|
|
|
#! find all our sources
|
|
|
|
$project{"COMMONOBJS"} .= "parser.o ";
|
|
|
|
|
|
|
|
foreach $file (sort keys %wxGeneric) {
|
2001-08-01 18:55:02 -04:00
|
|
|
next if $wxGeneric{$file} =~ /\bNotMGL\b/;
|
2001-06-26 16:59:19 -04:00
|
|
|
|
|
|
|
($fileobj = $file) =~ s/cp?p?$/\o/;
|
|
|
|
|
|
|
|
$project{"MGL_SOURCES"} .= "generic/" . $file . " ";
|
|
|
|
$project{"GENERICOBJS"} .= $fileobj . " ";
|
|
|
|
}
|
|
|
|
|
|
|
|
foreach $file (sort keys %wxCommon) {
|
2001-08-01 18:55:02 -04:00
|
|
|
next if $wxCommon{$file} =~ /\bNotMGL\b/;
|
2001-06-26 16:59:19 -04:00
|
|
|
|
|
|
|
($fileobj = $file) =~ s/cp?p?$/\o/;
|
|
|
|
|
|
|
|
$project{"MGL_SOURCES"} .= "common/" . $file . " ";
|
|
|
|
$project{"COMMONOBJS"} .= $fileobj . " ";
|
|
|
|
}
|
|
|
|
|
|
|
|
foreach $file (sort keys %wxMGL) {
|
|
|
|
($fileobj = $file) =~ s/cp?p?$/\o/;
|
|
|
|
|
|
|
|
$project{"MGL_SOURCES"} .= "mgl/" . $file . " ";
|
2001-08-01 18:55:02 -04:00
|
|
|
#! $project{"GUIOBJS"} .= $fileobj . " ";
|
2001-06-26 16:59:19 -04:00
|
|
|
|
|
|
|
if ( $wxMGL{$file} =~ /\bL\b/ ) {
|
|
|
|
$project{"GUI_LOWLEVEL_OBJS"} .= $fileobj . " ";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
foreach $file (sort keys %wxUNIX) {
|
2001-12-14 14:24:04 -05:00
|
|
|
next if $wxUNIX{$file} =~ /\bNotMGL\b/;
|
|
|
|
|
2001-06-26 16:59:19 -04:00
|
|
|
($fileobj = $file) =~ s/cp?p?$/\o/;
|
|
|
|
|
|
|
|
$project{"MGL_SOURCES"} .= "unix/" . $file . " ";
|
|
|
|
$project{"UNIXOBJS"} .= $fileobj . " ";
|
|
|
|
}
|
|
|
|
|
|
|
|
foreach $file (sort keys %wxHTML) {
|
|
|
|
($fileobj = $file) =~ s/cp?p?$/\o/;
|
|
|
|
|
|
|
|
$project{"MGL_SOURCES"} .= "html/" . $file . " ";
|
|
|
|
$project{"HTMLOBJS"} .= $fileobj . " ";
|
|
|
|
}
|
|
|
|
|
|
|
|
#! find all our headers
|
|
|
|
foreach $file (sort keys %wxWXINCLUDE) {
|
|
|
|
$project{"MGL_HEADERS"} .= $file . " "
|
|
|
|
}
|
|
|
|
|
2001-12-21 14:22:48 -05:00
|
|
|
foreach $file (sort keys %wxMGLINCLUDE) {
|
|
|
|
$project{"MGL_HEADERS"} .= "mgl/" . $file . " "
|
2001-06-26 16:59:19 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
foreach $file (sort keys %wxGENERICINCLUDE) {
|
|
|
|
$project{"MGL_HEADERS"} .= "generic/" . $file . " "
|
|
|
|
}
|
|
|
|
|
|
|
|
foreach $file (sort keys %wxUNIXINCLUDE) {
|
|
|
|
$project{"MGL_HEADERS"} .= "unix/" . $file . " "
|
|
|
|
}
|
|
|
|
|
|
|
|
foreach $file (sort keys %wxHTMLINCLUDE) {
|
|
|
|
$project{"MGL_HEADERS"} .= "html/" . $file . " "
|
|
|
|
}
|
|
|
|
|
|
|
|
foreach $file (sort keys %wxPROTOCOLINCLUDE) {
|
|
|
|
$project{"MGL_HEADERS"} .= "protocol/" . $file . " "
|
|
|
|
}
|
|
|
|
#$}
|
2002-02-02 18:15:23 -05:00
|
|
|
# This file was automatically generated by tmake
|
2001-12-21 14:22:48 -05:00
|
|
|
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MGL.T!
|
2001-06-26 16:59:19 -04:00
|
|
|
ALL_SOURCES = \
|
|
|
|
#$ ExpandList("MGL_SOURCES");
|
|
|
|
|
|
|
|
ALL_HEADERS = \
|
|
|
|
#$ ExpandList("MGL_HEADERS");
|
|
|
|
|
|
|
|
COMMONOBJS = \
|
|
|
|
#$ ExpandList("COMMONOBJS");
|
|
|
|
|
|
|
|
GENERICOBJS = \
|
|
|
|
#$ ExpandList("GENERICOBJS");
|
|
|
|
|
2001-08-01 18:55:02 -04:00
|
|
|
#!GUIOBJS = \
|
|
|
|
#! #$ ExpandList("GUIOBJS");
|
|
|
|
#!
|
2001-06-26 16:59:19 -04:00
|
|
|
GUI_LOWLEVEL_OBJS = \
|
|
|
|
#$ ExpandList("GUI_LOWLEVEL_OBJS");
|
|
|
|
|
|
|
|
UNIXOBJS = \
|
|
|
|
#$ ExpandList("UNIXOBJS");
|
|
|
|
|
|
|
|
HTMLOBJS = \
|
|
|
|
#$ ExpandList("HTMLOBJS");
|
|
|
|
|