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} =~ /\bR\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 $project{"MOTIF_HEADERS"} .= $file . " "
73 foreach $file (sort keys %wxMOTIFINCLUDE) {
74 $project{"MOTIF_HEADERS"} .= "motif/" . $file . " "
77 foreach $file (sort keys %wxGENERICINCLUDE) {
78 $project{"MOTIF_HEADERS"} .= "generic/" . $file . " "
81 foreach $file (sort keys %wxUNIXINCLUDE) {
82 $project{"MOTIF_HEADERS"} .= "unix/" . $file . " "
85 foreach $file (sort keys %wxHTMLINCLUDE) {
86 $project{"MOTIF_HEADERS"} .= "html/" . $file . " "
89 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
90 $project{"MOTIF_HEADERS"} .= "protocol/" . $file . " "
93 # This file was automatically generated by tmake at #$ Now()
94 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MOTIF.T!
96 #$ ExpandList("MOTIF_SOURCES");
99 #$ ExpandList("MOTIF_HEADERS");
102 #$ ExpandList("COMMONOBJS");
105 #$ ExpandList("COMMONDEPS");
108 #$ ExpandList("GENERICOBJS");
111 #$ ExpandList("GENERICDEPS");
114 #$ ExpandList("GUIOBJS");
117 #$ ExpandList("GUIDEPS");
120 #$ ExpandList("UNIXOBJS");
123 #$ ExpandList("UNIXDEPS");
126 #$ ExpandList("HTMLOBJS");
129 #$ ExpandList("HTMLDEPS");
132 #$ ExpandList("IODBCOBJS");
135 #$ ExpandList("IODBCDEPS");