2003-02-20 13:20:47 -05:00
|
|
|
#!#############################################################################
|
2000-01-31 13:26:16 -05:00
|
|
|
#! File: motif.t
|
|
|
|
#! Purpose: tmake template file from which src/motif/files.lst containing the
|
|
|
|
#! list of files for wxMotif library is generated by tmake
|
|
|
|
#! Author: Vadim Zeitlin
|
|
|
|
#! Created: 28.01.00
|
|
|
|
#! Version: $Id$
|
2003-02-20 13:20:47 -05:00
|
|
|
#!#############################################################################
|
2000-01-31 13:26:16 -05:00
|
|
|
#${
|
2003-02-20 13:20:47 -05:00
|
|
|
use lib './lib';
|
|
|
|
use wxFileList qw(:default make_arrays);
|
|
|
|
|
2000-01-31 13:26:16 -05:00
|
|
|
#! include the code which parses filelist.txt file and initializes
|
|
|
|
#! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxMOTIF, %wxMOTIF and
|
|
|
|
#! %wxOS2PM hashes.
|
|
|
|
IncludeTemplate("filelist.t");
|
|
|
|
|
2003-02-20 13:20:47 -05:00
|
|
|
make_arrays( 'wxGeneric', 'wxCommon', 'wxMotif',
|
|
|
|
'wxUnix', 'wxHtml',
|
|
|
|
'wxWxInclude', 'wxMotifInclude', 'wxGenericInclude',
|
|
|
|
'wxUnixInclude', 'wxHtmlInclude', 'wxProtocolInclude' );
|
|
|
|
|
2000-01-31 13:26:16 -05:00
|
|
|
#! find all our sources
|
|
|
|
$project{"GUIOBJS"} .= "xmcombo.o ";
|
|
|
|
|
2003-02-20 13:20:47 -05:00
|
|
|
my @generic = grep_not_fileflag 'NotX', @wxGeneric;
|
|
|
|
my @common = grep_not_fileflag 'NotX', @wxCommon;
|
|
|
|
my @motif = ( @wxMotif,
|
|
|
|
grep_source( grep_fileflag 'Motif', @wxALL ) );
|
2000-01-31 13:26:16 -05:00
|
|
|
|
2003-02-20 13:20:47 -05:00
|
|
|
foreach my $file ( @generic ) {
|
|
|
|
$project{"GENERICOBJS"} .= $file->object_file . " ";
|
2000-01-31 13:26:16 -05:00
|
|
|
}
|
|
|
|
|
2003-02-20 13:20:47 -05:00
|
|
|
foreach my $file ( @common ) {
|
|
|
|
$project{"COMMONOBJS"} .= $file->object_file . " ";
|
2000-01-31 13:26:16 -05:00
|
|
|
}
|
|
|
|
|
2003-02-20 13:20:47 -05:00
|
|
|
foreach my $file ( @motif ) {
|
|
|
|
$project{"GUIOBJS"} .= $file->object_file . " ";
|
2000-01-31 13:26:16 -05:00
|
|
|
}
|
2001-04-22 12:12:34 -04:00
|
|
|
|
2003-02-20 13:20:47 -05:00
|
|
|
foreach my $file ( @wxUnix ) {
|
|
|
|
$project{"UNIXOBJS"} .= $file->object_file . " ";
|
2000-01-31 13:26:16 -05:00
|
|
|
}
|
|
|
|
|
2003-02-20 13:20:47 -05:00
|
|
|
foreach my $file ( @wxHtml ) {
|
|
|
|
$project{"HTMLOBJS"} .= $file->object_file . " ";
|
2000-01-31 13:26:16 -05:00
|
|
|
}
|
|
|
|
|
2003-02-20 13:20:47 -05:00
|
|
|
foreach my $file ( @generic, @common, @motif,
|
|
|
|
@wxUnix, @wxHtml ) {
|
|
|
|
$project{"MOTIF_SOURCES"} .= $file->source_file . " ";
|
2000-01-31 13:26:16 -05:00
|
|
|
}
|
|
|
|
|
2003-02-20 13:20:47 -05:00
|
|
|
#! find all our headers
|
|
|
|
foreach my $file ( grep_not_fileflag( 'NotX', @wxWxInclude ),
|
|
|
|
@wxMotifInclude, @wxGenericInclude, @wxUnixInclude,
|
|
|
|
@wxHtmlInclude, @wxProtocolInclude,
|
|
|
|
grep_header( grep_fileflag( 'Motif', @wxALL ) ) ) {
|
|
|
|
$project{MOTIF_HEADERS} .= $file->source_file . " ";
|
2000-01-31 13:26:16 -05:00
|
|
|
}
|
|
|
|
#$}
|
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 MOTIF.T!
|
|
|
|
ALL_SOURCES = \
|
|
|
|
#$ ExpandList("MOTIF_SOURCES");
|
|
|
|
|
|
|
|
ALL_HEADERS = \
|
|
|
|
#$ ExpandList("MOTIF_HEADERS");
|
|
|
|
|
|
|
|
COMMONOBJS = \
|
|
|
|
#$ ExpandList("COMMONOBJS");
|
|
|
|
|
|
|
|
GENERICOBJS = \
|
|
|
|
#$ ExpandList("GENERICOBJS");
|
|
|
|
|
|
|
|
GUIOBJS = \
|
|
|
|
#$ ExpandList("GUIOBJS");
|
|
|
|
|
|
|
|
UNIXOBJS = \
|
|
|
|
#$ ExpandList("UNIXOBJS");
|
|
|
|
|
|
|
|
HTMLOBJS = \
|
|
|
|
#$ ExpandList("HTMLOBJS");
|
|
|
|
|