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 #!################################################################################
10 #! include the code which parses filelist.txt file and initializes
11 #! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxMOTIF, %wxMOTIF and
13 IncludeTemplate("filelist.t");
15 #! find all our sources
16 $project{"GUIOBJS"} .= "xmcombo.o ";
18 foreach $file (sort keys %wxGeneric) {
19 next if $wxGeneric{$file} =~ /\bNotX\b/;
21 ($fileobj = $file) =~ s/cp?p?$/\o/;
23 $project{"MOTIF_SOURCES"} .= "generic/" . $file . " ";
24 $project{"GENERICOBJS"} .= $fileobj . " ";
27 foreach $file (sort keys %wxCommon) {
28 next if $wxCommon{$file} =~ /\bNotX\b/;
30 ($fileobj = $file) =~ s/cp?p?$/\o/;
32 $project{"MOTIF_SOURCES"} .= "common/" . $file . " ";
33 $project{"COMMONOBJS"} .= $fileobj . " ";
36 foreach $file (sort keys %wxMOTIF) {
37 ($fileobj = $file) =~ s/cp?p?$/\o/;
39 $project{"MOTIF_SOURCES"} .= "motif/" . $file . " ";
40 $project{"GUIOBJS"} .= $fileobj . " ";
43 foreach $file (sort keys %wxUNIX) {
44 ($fileobj = $file) =~ s/cp?p?$/\o/;
46 $project{"MOTIF_SOURCES"} .= "unix/" . $file . " ";
47 $project{"UNIXOBJS"} .= $fileobj . " ";
50 foreach $file (sort keys %wxHTML) {
51 ($fileobj = $file) =~ s/cp?p?$/\o/;
53 $project{"MOTIF_SOURCES"} .= "html/" . $file . " ";
54 $project{"HTMLOBJS"} .= $fileobj . " ";
56 #! find all our headers
57 foreach $file (sort keys %wxWXINCLUDE) {
58 next if $wxWXINCLUDE{$file} =~ /\bNotX\b/;
60 $project{"MOTIF_HEADERS"} .= $file . " "
63 foreach $file (sort keys %wxMOTIFINCLUDE) {
64 $project{"MOTIF_HEADERS"} .= "motif/" . $file . " "
67 foreach $file (sort keys %wxGENERICINCLUDE) {
68 $project{"MOTIF_HEADERS"} .= "generic/" . $file . " "
71 foreach $file (sort keys %wxUNIXINCLUDE) {
72 $project{"MOTIF_HEADERS"} .= "unix/" . $file . " "
75 foreach $file (sort keys %wxHTMLINCLUDE) {
76 $project{"MOTIF_HEADERS"} .= "html/" . $file . " "
79 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
80 $project{"MOTIF_HEADERS"} .= "protocol/" . $file . " "
83 # This file was automatically generated by tmake
84 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MOTIF.T!
86 #$ ExpandList("MOTIF_SOURCES");
89 #$ ExpandList("MOTIF_HEADERS");
92 #$ ExpandList("COMMONOBJS");
95 #$ ExpandList("GENERICOBJS");
98 #$ ExpandList("GUIOBJS");
101 #$ ExpandList("UNIXOBJS");
104 #$ ExpandList("HTMLOBJS");