wxWidgets/distrib/msw/tmake/x11.t

106 lines
2.9 KiB
Perl
Raw Normal View History

#!################################################################################
#! File: x11.t
#! Purpose: tmake template file from which src/x11/files.lst containing the
#! list of files for wxMotif 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, %wxMOTIF, %wxX11 and
#! %wxOS2PM hashes.
IncludeTemplate("filelist.t");
#! find all our sources
$project{"COMMONOBJS"} .= "parser.o ";
foreach $file (sort keys %wxGeneric) {
next if $wxGeneric{$file} =~ /\bX\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"X11_SOURCES"} .= "generic/" . $file . " ";
$project{"GENERICOBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxCommon) {
next if $wxCommon{$file} =~ /\bX\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"X11_SOURCES"} .= "common/" . $file . " ";
$project{"COMMONOBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxX11) {
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"X11_SOURCES"} .= "x11f/" . $file . " ";
$project{"GUIOBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxUNIX) {
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"X11_SOURCES"} .= "unix/" . $file . " ";
$project{"UNIXOBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxHTML) {
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"X11_SOURCES"} .= "html/" . $file . " ";
$project{"HTMLOBJS"} .= $fileobj . " ";
}
#! find all our headers
foreach $file (sort keys %wxWXINCLUDE) {
next if $wxWXINCLUDE{$file} =~ /\bX\b/;
$project{"X11_HEADERS"} .= $file . " "
}
foreach $file (sort keys %wxX11INCLUDE) {
$project{"X11_HEADERS"} .= "x11/" . $file . " "
}
foreach $file (sort keys %wxGENERICINCLUDE) {
$project{"X11_HEADERS"} .= "generic/" . $file . " "
}
foreach $file (sort keys %wxUNIXINCLUDE) {
$project{"X11_HEADERS"} .= "unix/" . $file . " "
}
foreach $file (sort keys %wxHTMLINCLUDE) {
$project{"X11_HEADERS"} .= "html/" . $file . " "
}
foreach $file (sort keys %wxPROTOCOLINCLUDE) {
$project{"X11_HEADERS"} .= "protocol/" . $file . " "
}
#$}
# This file was automatically generated by tmake
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MOTIF.T!
ALL_SOURCES = \
#$ ExpandList("X11_SOURCES");
ALL_HEADERS = \
#$ ExpandList("X11_HEADERS");
COMMONOBJS = \
#$ ExpandList("COMMONOBJS");
GENERICOBJS = \
#$ ExpandList("GENERICOBJS");
GUIOBJS = \
#$ ExpandList("GUIOBJS");
UNIXOBJS = \
#$ ExpandList("UNIXOBJS");
HTMLOBJS = \
#$ ExpandList("HTMLOBJS");