]> git.saurik.com Git - wxWidgets.git/blame - distrib/msw/tmake/motif.t
Script tweak
[wxWidgets.git] / distrib / msw / tmake / motif.t
CommitLineData
69c44812 1#!#############################################################################
2224580a
VZ
2#! File: motif.t
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
6#! Created: 28.01.00
7#! Version: $Id$
69c44812 8#!#############################################################################
2224580a 9#${
69c44812
MB
10 use lib './lib';
11 use wxFileList qw(:default make_arrays);
12
2224580a
VZ
13 #! include the code which parses filelist.txt file and initializes
14 #! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxMOTIF, %wxMOTIF and
15 #! %wxOS2PM hashes.
16 IncludeTemplate("filelist.t");
17
69c44812
MB
18 make_arrays( 'wxGeneric', 'wxCommon', 'wxMotif',
19 'wxUnix', 'wxHtml',
20 'wxWxInclude', 'wxMotifInclude', 'wxGenericInclude',
21 'wxUnixInclude', 'wxHtmlInclude', 'wxProtocolInclude' );
22
2224580a 23 #! find all our sources
2224580a
VZ
24 $project{"GUIOBJS"} .= "xmcombo.o ";
25
69c44812
MB
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 ) );
2224580a 30
69c44812
MB
31 foreach my $file ( @generic ) {
32 $project{"GENERICOBJS"} .= $file->object_file . " ";
2224580a
VZ
33 }
34
69c44812
MB
35 foreach my $file ( @common ) {
36 $project{"COMMONOBJS"} .= $file->object_file . " ";
2224580a
VZ
37 }
38
69c44812
MB
39 foreach my $file ( @motif ) {
40 $project{"GUIOBJS"} .= $file->object_file . " ";
2224580a 41 }
7529690d 42
69c44812
MB
43 foreach my $file ( @wxUnix ) {
44 $project{"UNIXOBJS"} .= $file->object_file . " ";
2224580a
VZ
45 }
46
69c44812
MB
47 foreach my $file ( @wxHtml ) {
48 $project{"HTMLOBJS"} .= $file->object_file . " ";
2224580a
VZ
49 }
50
69c44812
MB
51 foreach my $file ( @generic, @common, @motif,
52 @wxUnix, @wxHtml ) {
53 $project{"MOTIF_SOURCES"} .= $file->source_file . " ";
2224580a
VZ
54 }
55
69c44812
MB
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 . " ";
2224580a
VZ
62 }
63#$}
0f04dbf3 64# This file was automatically generated by tmake
2224580a
VZ
65# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MOTIF.T!
66ALL_SOURCES = \
67 #$ ExpandList("MOTIF_SOURCES");
68
69ALL_HEADERS = \
70 #$ ExpandList("MOTIF_HEADERS");
71
72COMMONOBJS = \
73 #$ ExpandList("COMMONOBJS");
74
2224580a
VZ
75GENERICOBJS = \
76 #$ ExpandList("GENERICOBJS");
77
2224580a
VZ
78GUIOBJS = \
79 #$ ExpandList("GUIOBJS");
80
2224580a
VZ
81UNIXOBJS = \
82 #$ ExpandList("UNIXOBJS");
83
2224580a
VZ
84HTMLOBJS = \
85 #$ ExpandList("HTMLOBJS");
86