1 #!#############################################################################
3 #! Purpose: tmake template file from which src/motif/files.lst containing the
4 #! list of files for wxMotif library is generated by tmake
5 #! Author: Vadim Zeitlin
8 #!#############################################################################
11 use wxFileList qw(:default make_arrays);
13 #! include the code which parses filelist.txt file and initializes
14 #! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxMOTIF, %wxMOTIF and
16 IncludeTemplate("filelist.t");
18 make_arrays( 'wxGeneric', 'wxCommon', 'wxMotif',
20 'wxWxInclude', 'wxMotifInclude', 'wxGenericInclude',
21 'wxUnixInclude', 'wxHtmlInclude', 'wxProtocolInclude' );
23 #! find all our sources
24 $project{"GUIOBJS"} .= "xmcombo.o ";
26 my @generic = grep_not_fileflag 'NotX', @wxGeneric;
27 my @common = grep_not_fileflag 'NotX', @wxCommon;
28 my @motif = ( @wxMotif,
29 grep_source( grep_fileflag 'Motif', @wxALL ) );
31 foreach my $file ( @generic ) {
32 $project{"GENERICOBJS"} .= $file->object_file . " ";
35 foreach my $file ( @common ) {
36 $project{"COMMONOBJS"} .= $file->object_file . " ";
39 foreach my $file ( @motif ) {
40 $project{"GUIOBJS"} .= $file->object_file . " ";
43 foreach my $file ( @wxUnix ) {
44 $project{"UNIXOBJS"} .= $file->object_file . " ";
47 foreach my $file ( @wxHtml ) {
48 $project{"HTMLOBJS"} .= $file->object_file . " ";
51 foreach my $file ( @generic, @common, @motif,
53 $project{"MOTIF_SOURCES"} .= $file->source_file . " ";
56 #! find all our headers
57 foreach my $file ( grep_not_fileflag( 'NotX', @wxWxInclude ),
58 @wxMotifInclude, @wxGenericInclude, @wxUnixInclude,
59 @wxHtmlInclude, @wxProtocolInclude,
60 grep_header( grep_fileflag( 'Motif', @wxALL ) ) ) {
61 $project{MOTIF_HEADERS} .= $file->source_file . " ";
64 # This file was automatically generated by tmake
65 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MOTIF.T!
67 #$ ExpandList("MOTIF_SOURCES");
70 #$ ExpandList("MOTIF_HEADERS");
73 #$ ExpandList("COMMONOBJS");
76 #$ ExpandList("GENERICOBJS");
79 #$ ExpandList("GUIOBJS");
82 #$ ExpandList("UNIXOBJS");
85 #$ ExpandList("HTMLOBJS");