]>
Commit | Line | Data |
---|---|---|
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 | #! include the code which parses filelist.txt file and initializes | |
11 | #! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxMOTIF, %wxMOTIF and | |
12 | #! %wxOS2PM hashes. | |
13 | IncludeTemplate("filelist.t"); | |
14 | ||
15 | #! find all our sources | |
16 | $project{"COMMONOBJS"} .= "parser.o "; | |
17 | $project{"GUIOBJS"} .= "xmcombo.o "; | |
18 | ||
19 | foreach $file (sort keys %wxGeneric) { | |
20 | next if $wxGeneric{$file} =~ /\bNotX\b/; | |
21 | ||
22 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
23 | ||
24 | $project{"MOTIF_SOURCES"} .= "generic/" . $file . " "; | |
25 | $project{"GENERICOBJS"} .= $fileobj . " "; | |
26 | } | |
27 | ||
28 | foreach $file (sort keys %wxCommon) { | |
29 | next if $wxCommon{$file} =~ /\bNotX\b/; | |
30 | ||
31 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
32 | ||
33 | $project{"MOTIF_SOURCES"} .= "common/" . $file . " "; | |
34 | $project{"COMMONOBJS"} .= $fileobj . " "; | |
35 | } | |
36 | ||
37 | foreach $file (sort keys %wxMOTIF) { | |
38 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
39 | ||
40 | $project{"MOTIF_SOURCES"} .= "motif/" . $file . " "; | |
41 | $project{"GUIOBJS"} .= $fileobj . " "; | |
42 | } | |
43 | ||
44 | foreach $file (sort keys %wxUNIX) { | |
45 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
46 | ||
47 | $project{"MOTIF_SOURCES"} .= "unix/" . $file . " "; | |
48 | $project{"UNIXOBJS"} .= $fileobj . " "; | |
49 | } | |
50 | ||
51 | foreach $file (sort keys %wxHTML) { | |
52 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
53 | ||
54 | $project{"MOTIF_SOURCES"} .= "html/" . $file . " "; | |
55 | $project{"HTMLOBJS"} .= $fileobj . " "; | |
56 | } | |
57 | #! find all our headers | |
58 | foreach $file (sort keys %wxWXINCLUDE) { | |
59 | next if $wxWXINCLUDE{$file} =~ /\bNotX\b/; | |
60 | ||
61 | $project{"MOTIF_HEADERS"} .= $file . " " | |
62 | } | |
63 | ||
64 | foreach $file (sort keys %wxMOTIFINCLUDE) { | |
65 | $project{"MOTIF_HEADERS"} .= "motif/" . $file . " " | |
66 | } | |
67 | ||
68 | foreach $file (sort keys %wxGENERICINCLUDE) { | |
69 | $project{"MOTIF_HEADERS"} .= "generic/" . $file . " " | |
70 | } | |
71 | ||
72 | foreach $file (sort keys %wxUNIXINCLUDE) { | |
73 | $project{"MOTIF_HEADERS"} .= "unix/" . $file . " " | |
74 | } | |
75 | ||
76 | foreach $file (sort keys %wxHTMLINCLUDE) { | |
77 | $project{"MOTIF_HEADERS"} .= "html/" . $file . " " | |
78 | } | |
79 | ||
80 | foreach $file (sort keys %wxPROTOCOLINCLUDE) { | |
81 | $project{"MOTIF_HEADERS"} .= "protocol/" . $file . " " | |
82 | } | |
83 | #$} | |
84 | # This file was automatically generated by tmake | |
85 | # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MOTIF.T! | |
86 | ALL_SOURCES = \ | |
87 | #$ ExpandList("MOTIF_SOURCES"); | |
88 | ||
89 | ALL_HEADERS = \ | |
90 | #$ ExpandList("MOTIF_HEADERS"); | |
91 | ||
92 | COMMONOBJS = \ | |
93 | #$ ExpandList("COMMONOBJS"); | |
94 | ||
95 | GENERICOBJS = \ | |
96 | #$ ExpandList("GENERICOBJS"); | |
97 | ||
98 | GUIOBJS = \ | |
99 | #$ ExpandList("GUIOBJS"); | |
100 | ||
101 | UNIXOBJS = \ | |
102 | #$ ExpandList("UNIXOBJS"); | |
103 | ||
104 | HTMLOBJS = \ | |
105 | #$ ExpandList("HTMLOBJS"); | |
106 |