]> git.saurik.com Git - wxWidgets.git/blob - distrib/msw/tmake/motif.t
Checked in WXWIN=$(WXDIR) hack as per Vadim's request
[wxWidgets.git] / distrib / msw / tmake / motif.t
1 #!#############################################################################
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$
8 #!#############################################################################
9 #${
10 use lib './lib';
11 use wxFileList qw(:default make_arrays);
12
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
18 make_arrays( 'wxGeneric', 'wxCommon', 'wxMotif',
19 'wxUnix', 'wxHtml',
20 'wxWxInclude', 'wxMotifInclude', 'wxGenericInclude',
21 'wxUnixInclude', 'wxHtmlInclude', 'wxProtocolInclude' );
22
23 #! find all our sources
24 $project{"GUIOBJS"} .= "xmcombo.o ";
25
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 ) );
30
31 foreach my $file ( @generic ) {
32 $project{"GENERICOBJS"} .= $file->object_file . " ";
33 }
34
35 foreach my $file ( @common ) {
36 $project{"COMMONOBJS"} .= $file->object_file . " ";
37 }
38
39 foreach my $file ( @motif ) {
40 $project{"GUIOBJS"} .= $file->object_file . " ";
41 }
42
43 foreach my $file ( @wxUnix ) {
44 $project{"UNIXOBJS"} .= $file->object_file . " ";
45 }
46
47 foreach my $file ( @wxHtml ) {
48 $project{"HTMLOBJS"} .= $file->object_file . " ";
49 }
50
51 foreach my $file ( @generic, @common, @motif,
52 @wxUnix, @wxHtml ) {
53 $project{"MOTIF_SOURCES"} .= $file->source_file . " ";
54 }
55
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 . " ";
62 }
63 #$}
64 # This file was automatically generated by tmake
65 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MOTIF.T!
66 ALL_SOURCES = \
67 #$ ExpandList("MOTIF_SOURCES");
68
69 ALL_HEADERS = \
70 #$ ExpandList("MOTIF_HEADERS");
71
72 COMMONOBJS = \
73 #$ ExpandList("COMMONOBJS");
74
75 GENERICOBJS = \
76 #$ ExpandList("GENERICOBJS");
77
78 GUIOBJS = \
79 #$ ExpandList("GUIOBJS");
80
81 UNIXOBJS = \
82 #$ ExpandList("UNIXOBJS");
83
84 HTMLOBJS = \
85 #$ ExpandList("HTMLOBJS");
86