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{"COMMONOBJS"} .= "parser.o ";
17 $project{"GUIOBJS"} .= "xmcombo.o ";
19 foreach $file (sort keys %wxGeneric) {
20 next if $wxGeneric{$file} =~ /\bNotX\b/;
22 ($fileobj = $file) =~ s/cp?p?$/\o/;
24 $project{"MOTIF_SOURCES"} .= "generic/" . $file . " ";
25 $project{"GENERICOBJS"} .= $fileobj . " ";
28 foreach $file (sort keys %wxCommon) {
29 next if $wxCommon{$file} =~ /\bNotX\b/;
31 ($fileobj = $file) =~ s/cp?p?$/\o/;
33 $project{"MOTIF_SOURCES"} .= "common/" . $file . " ";
34 $project{"COMMONOBJS"} .= $fileobj . " ";
37 foreach $file (sort keys %wxMOTIF) {
38 ($fileobj = $file) =~ s/cp?p?$/\o/;
40 $project{"MOTIF_SOURCES"} .= "motif/" . $file . " ";
41 $project{"GUIOBJS"} .= $fileobj . " ";
44 foreach $file (sort keys %wxUNIX) {
45 ($fileobj = $file) =~ s/cp?p?$/\o/;
47 $project{"MOTIF_SOURCES"} .= "unix/" . $file . " ";
48 $project{"UNIXOBJS"} .= $fileobj . " ";
51 foreach $file (sort keys %wxHTML) {
52 ($fileobj = $file) =~ s/cp?p?$/\o/;
54 $project{"MOTIF_SOURCES"} .= "html/" . $file . " ";
55 $project{"HTMLOBJS"} .= $fileobj . " ";
57 #! find all our headers
58 foreach $file (sort keys %wxWXINCLUDE) {
59 next if $wxWXINCLUDE{$file} =~ /\bNotX\b/;
61 $project{"MOTIF_HEADERS"} .= $file . " "
64 foreach $file (sort keys %wxMOTIFINCLUDE) {
65 $project{"MOTIF_HEADERS"} .= "motif/" . $file . " "
68 foreach $file (sort keys %wxGENERICINCLUDE) {
69 $project{"MOTIF_HEADERS"} .= "generic/" . $file . " "
72 foreach $file (sort keys %wxUNIXINCLUDE) {
73 $project{"MOTIF_HEADERS"} .= "unix/" . $file . " "
76 foreach $file (sort keys %wxHTMLINCLUDE) {
77 $project{"MOTIF_HEADERS"} .= "html/" . $file . " "
80 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
81 $project{"MOTIF_HEADERS"} .= "protocol/" . $file . " "
84 # This file was automatically generated by tmake
85 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MOTIF.T!
87 #$ ExpandList("MOTIF_SOURCES");
90 #$ ExpandList("MOTIF_HEADERS");
93 #$ ExpandList("COMMONOBJS");
96 #$ ExpandList("GENERICOBJS");
99 #$ ExpandList("GUIOBJS");
102 #$ ExpandList("UNIXOBJS");
105 #$ ExpandList("HTMLOBJS");