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{"COMMONDEPS"} .= "parser.d ";
18 $project{"GUIOBJS"} .= "xmcombo.o ";
20 foreach $file (sort keys %wxGeneric) {
21 next if $wxGeneric{$file} =~ /\bX\b/;
23 ($fileobj = $file) =~ s/cp?p?$/\o/;
24 ($filedep = $file) =~ s/cp?p?$/\d/;
26 $project{"MOTIF_SOURCES"} .= "generic/" . $file . " ";
27 $project{"GENERICOBJS"} .= $fileobj . " ";
28 $project{"GENERICDEPS"} .= $filedep . " "
31 foreach $file (sort keys %wxCommon) {
32 next if $wxCommon{$file} =~ /\bX\b/;
34 ($fileobj = $file) =~ s/cp?p?$/\o/;
35 ($filedep = $file) =~ s/cp?p?$/\d/;
37 $project{"MOTIF_SOURCES"} .= "common/" . $file . " ";
38 $project{"COMMONOBJS"} .= $fileobj . " ";
39 $project{"COMMONDEPS"} .= $filedep . " "
42 foreach $file (sort keys %wxMOTIF) {
43 ($fileobj = $file) =~ s/cp?p?$/\o/;
44 ($filedep = $file) =~ s/cp?p?$/\d/;
46 $project{"MOTIF_SOURCES"} .= "motif/" . $file . " ";
47 $project{"GUIOBJS"} .= $fileobj . " ";
48 $project{"GUIDEPS"} .= $filedep . " "
51 foreach $file (sort keys %wxUNIX) {
52 ($fileobj = $file) =~ s/cp?p?$/\o/;
53 ($filedep = $file) =~ s/cp?p?$/\d/;
55 $project{"MOTIF_SOURCES"} .= "unix/" . $file . " ";
56 $project{"UNIXOBJS"} .= $fileobj . " ";
57 $project{"UNIXDEPS"} .= $filedep . " "
60 foreach $file (sort keys %wxHTML) {
61 ($fileobj = $file) =~ s/cp?p?$/\o/;
62 ($filedep = $file) =~ s/cp?p?$/\d/;
64 $project{"MOTIF_SOURCES"} .= "html/" . $file . " ";
65 $project{"HTMLOBJS"} .= $fileobj . " ";
66 $project{"HTMLDEPS"} .= $filedep . " "
68 #! find all our headers
69 foreach $file (sort keys %wxWXINCLUDE) {
70 next if $wxWXINCLUDE{$file} =~ /\bX\b/;
72 $project{"MOTIF_HEADERS"} .= $file . " "
75 foreach $file (sort keys %wxMOTIFINCLUDE) {
76 $project{"MOTIF_HEADERS"} .= "motif/" . $file . " "
79 foreach $file (sort keys %wxGENERICINCLUDE) {
80 $project{"MOTIF_HEADERS"} .= "generic/" . $file . " "
83 foreach $file (sort keys %wxUNIXINCLUDE) {
84 $project{"MOTIF_HEADERS"} .= "unix/" . $file . " "
87 foreach $file (sort keys %wxHTMLINCLUDE) {
88 $project{"MOTIF_HEADERS"} .= "html/" . $file . " "
91 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
92 $project{"MOTIF_HEADERS"} .= "protocol/" . $file . " "
95 # This file was automatically generated by tmake at #$ Now()
96 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MOTIF.T!
98 #$ ExpandList("MOTIF_SOURCES");
101 #$ ExpandList("MOTIF_HEADERS");
104 #$ ExpandList("COMMONOBJS");
107 #$ ExpandList("COMMONDEPS");
110 #$ ExpandList("GENERICOBJS");
113 #$ ExpandList("GENERICDEPS");
116 #$ ExpandList("GUIOBJS");
119 #$ ExpandList("GUIDEPS");
122 #$ ExpandList("UNIXOBJS");
125 #$ ExpandList("UNIXDEPS");
128 #$ ExpandList("HTMLOBJS");
131 #$ ExpandList("HTMLDEPS");