wxWidgets/distrib/msw/tmake/mgl.t
Václav Slavík f05605ff4d fixes to wxMGL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-14 19:24:04 +00:00

114 lines
3.1 KiB
Perl

#!################################################################################
#! File: gtk.t
#! Purpose: tmake template file from which src/gtk/files.lst containing the
#! list of files for wxGTK library is generated by tmake
#! 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) {
next if $wxGeneric{$file} =~ /\bNotMGL\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"MGL_SOURCES"} .= "generic/" . $file . " ";
$project{"GENERICOBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxCommon) {
next if $wxCommon{$file} =~ /\bNotMGL\b/;
($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 . " ";
#! $project{"GUIOBJS"} .= $fileobj . " ";
if ( $wxMGL{$file} =~ /\bL\b/ ) {
$project{"GUI_LOWLEVEL_OBJS"} .= $fileobj . " ";
}
}
foreach $file (sort keys %wxUNIX) {
next if $wxUNIX{$file} =~ /\bNotMGL\b/;
($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 . " "
}
foreach $file (sort keys %wxGTKINCLUDE) {
$project{"MGL_HEADERS"} .= "gtk/" . $file . " "
}
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 . " "
}
#$}
# This file was automatically generated by tmake at #$ Now()
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE GTK.T!
ALL_SOURCES = \
#$ ExpandList("MGL_SOURCES");
ALL_HEADERS = \
#$ ExpandList("MGL_HEADERS");
COMMONOBJS = \
#$ ExpandList("COMMONOBJS");
GENERICOBJS = \
#$ ExpandList("GENERICOBJS");
#!GUIOBJS = \
#! #$ ExpandList("GUIOBJS");
#!
GUI_LOWLEVEL_OBJS = \
#$ ExpandList("GUI_LOWLEVEL_OBJS");
UNIXOBJS = \
#$ ExpandList("UNIXOBJS");
HTMLOBJS = \
#$ ExpandList("HTMLOBJS");