2000-01-31 13:26:16 -05:00
|
|
|
#!################################################################################
|
|
|
|
#! 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
|
|
|
|
foreach $file (sort keys %wxGeneric) {
|
2002-02-09 13:43:37 -05:00
|
|
|
next if $wxGeneric{$file} =~ /\bNotGTK\b/;
|
2000-01-31 13:26:16 -05:00
|
|
|
|
|
|
|
($fileobj = $file) =~ s/cp?p?$/\o/;
|
|
|
|
|
|
|
|
$project{"GTK_SOURCES"} .= "generic/" . $file . " ";
|
2001-11-06 11:31:31 -05:00
|
|
|
$project{"GUIOBJS"} .= $fileobj . " ";
|
|
|
|
|
|
|
|
#! also add it to the list of object files used by wxUniv if there
|
|
|
|
#! is no file with the same name among wxUniv own objects
|
|
|
|
my $filereal = $file;
|
|
|
|
if ( $file =~ /^([^.]+)g.cpp$/ ) {
|
|
|
|
$filereal = "$1.cpp";
|
|
|
|
}
|
|
|
|
if ( !exists $wxUNIV{$filereal} ) {
|
|
|
|
$project{"GUI_LOWLEVEL_OBJS"} .= $fileobj . " ";
|
|
|
|
}
|
2000-01-31 13:26:16 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
foreach $file (sort keys %wxCommon) {
|
2002-02-09 13:43:37 -05:00
|
|
|
next if $wxCommon{$file} =~ /\bNotGTK\b/;
|
2000-01-31 13:26:16 -05:00
|
|
|
|
|
|
|
($fileobj = $file) =~ s/cp?p?$/\o/;
|
|
|
|
|
|
|
|
$project{"GTK_SOURCES"} .= "common/" . $file . " ";
|
|
|
|
$project{"COMMONOBJS"} .= $fileobj . " ";
|
|
|
|
}
|
|
|
|
|
|
|
|
foreach $file (sort keys %wxGTK) {
|
|
|
|
($fileobj = $file) =~ s/cp?p?$/\o/;
|
|
|
|
|
|
|
|
$project{"GTK_SOURCES"} .= "gtk/" . $file . " ";
|
|
|
|
$project{"GUIOBJS"} .= $fileobj . " ";
|
2001-06-26 16:59:19 -04:00
|
|
|
|
|
|
|
if ( $wxGTK{$file} =~ /\bL\b/ ) {
|
|
|
|
$project{"GUI_LOWLEVEL_OBJS"} .= $fileobj . " ";
|
|
|
|
}
|
2000-01-31 13:26:16 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
foreach $file (sort keys %wxUNIX) {
|
|
|
|
($fileobj = $file) =~ s/cp?p?$/\o/;
|
|
|
|
|
|
|
|
$project{"GTK_SOURCES"} .= "unix/" . $file . " ";
|
|
|
|
$project{"UNIXOBJS"} .= $fileobj . " ";
|
|
|
|
}
|
|
|
|
|
|
|
|
foreach $file (sort keys %wxHTML) {
|
|
|
|
($fileobj = $file) =~ s/cp?p?$/\o/;
|
|
|
|
|
|
|
|
$project{"GTK_SOURCES"} .= "html/" . $file . " ";
|
|
|
|
$project{"HTMLOBJS"} .= $fileobj . " ";
|
|
|
|
}
|
2001-06-26 16:59:19 -04:00
|
|
|
|
2000-01-31 13:26:16 -05:00
|
|
|
#! find all our headers
|
|
|
|
foreach $file (sort keys %wxWXINCLUDE) {
|
2002-02-09 13:43:37 -05:00
|
|
|
next if $wxWXINCLUDE{$file} =~ /\bNotGTK\b/;
|
2001-04-22 12:12:34 -04:00
|
|
|
|
2000-01-31 13:26:16 -05:00
|
|
|
$project{"GTK_HEADERS"} .= $file . " "
|
|
|
|
}
|
|
|
|
|
|
|
|
foreach $file (sort keys %wxGTKINCLUDE) {
|
|
|
|
$project{"GTK_HEADERS"} .= "gtk/" . $file . " "
|
|
|
|
}
|
|
|
|
|
|
|
|
foreach $file (sort keys %wxGENERICINCLUDE) {
|
2002-09-15 14:15:56 -04:00
|
|
|
next if $wxGENERICINCLUDE{$file} =~ /\bNotGTK\b/;
|
|
|
|
|
2000-01-31 13:26:16 -05:00
|
|
|
$project{"GTK_HEADERS"} .= "generic/" . $file . " "
|
|
|
|
}
|
|
|
|
|
|
|
|
foreach $file (sort keys %wxUNIXINCLUDE) {
|
|
|
|
$project{"GTK_HEADERS"} .= "unix/" . $file . " "
|
|
|
|
}
|
|
|
|
|
|
|
|
foreach $file (sort keys %wxHTMLINCLUDE) {
|
|
|
|
$project{"GTK_HEADERS"} .= "html/" . $file . " "
|
|
|
|
}
|
|
|
|
|
|
|
|
foreach $file (sort keys %wxPROTOCOLINCLUDE) {
|
|
|
|
$project{"GTK_HEADERS"} .= "protocol/" . $file . " "
|
|
|
|
}
|
|
|
|
#$}
|
2002-02-02 18:15:23 -05:00
|
|
|
# This file was automatically generated by tmake
|
2000-01-31 13:26:16 -05:00
|
|
|
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE GTK.T!
|
|
|
|
ALL_SOURCES = \
|
|
|
|
#$ ExpandList("GTK_SOURCES");
|
|
|
|
|
|
|
|
ALL_HEADERS = \
|
|
|
|
#$ ExpandList("GTK_HEADERS");
|
|
|
|
|
|
|
|
COMMONOBJS = \
|
|
|
|
#$ ExpandList("COMMONOBJS");
|
|
|
|
|
|
|
|
GUIOBJS = \
|
|
|
|
#$ ExpandList("GUIOBJS");
|
|
|
|
|
2001-06-26 16:59:19 -04:00
|
|
|
GUI_LOWLEVEL_OBJS = \
|
|
|
|
#$ ExpandList("GUI_LOWLEVEL_OBJS");
|
|
|
|
|
2000-01-31 13:26:16 -05:00
|
|
|
UNIXOBJS = \
|
|
|
|
#$ ExpandList("UNIXOBJS");
|
|
|
|
|
|
|
|
HTMLOBJS = \
|
|
|
|
#$ ExpandList("HTMLOBJS");
|
|
|
|
|