]>
Commit | Line | Data |
---|---|---|
2224580a VZ |
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{"COMMONDEPS"} .= "parser.d "; | |
18 | $project{"GUIOBJS"} .= "xmcombo.o "; | |
19 | ||
20 | foreach $file (sort keys %wxGeneric) { | |
21 | next if $wxGeneric{$file} =~ /\bX\b/; | |
22 | ||
23 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
24 | ($filedep = $file) =~ s/cp?p?$/\d/; | |
25 | ||
26 | $project{"MOTIF_SOURCES"} .= "generic/" . $file . " "; | |
27 | $project{"GENERICOBJS"} .= $fileobj . " "; | |
28 | $project{"GENERICDEPS"} .= $filedep . " " | |
29 | } | |
30 | ||
31 | foreach $file (sort keys %wxCommon) { | |
e48fa619 | 32 | next if $wxCommon{$file} =~ /\bX\b/; |
2224580a VZ |
33 | |
34 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
35 | ($filedep = $file) =~ s/cp?p?$/\d/; | |
36 | ||
37 | $project{"MOTIF_SOURCES"} .= "common/" . $file . " "; | |
38 | $project{"COMMONOBJS"} .= $fileobj . " "; | |
39 | $project{"COMMONDEPS"} .= $filedep . " " | |
40 | } | |
41 | ||
42 | foreach $file (sort keys %wxMOTIF) { | |
43 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
44 | ($filedep = $file) =~ s/cp?p?$/\d/; | |
45 | ||
46 | $project{"MOTIF_SOURCES"} .= "motif/" . $file . " "; | |
47 | $project{"GUIOBJS"} .= $fileobj . " "; | |
48 | $project{"GUIDEPS"} .= $filedep . " " | |
49 | } | |
50 | ||
51 | foreach $file (sort keys %wxUNIX) { | |
52 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
53 | ($filedep = $file) =~ s/cp?p?$/\d/; | |
54 | ||
55 | $project{"MOTIF_SOURCES"} .= "unix/" . $file . " "; | |
56 | $project{"UNIXOBJS"} .= $fileobj . " "; | |
57 | $project{"UNIXDEPS"} .= $filedep . " " | |
58 | } | |
59 | ||
60 | foreach $file (sort keys %wxHTML) { | |
61 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
62 | ($filedep = $file) =~ s/cp?p?$/\d/; | |
63 | ||
64 | $project{"MOTIF_SOURCES"} .= "html/" . $file . " "; | |
65 | $project{"HTMLOBJS"} .= $fileobj . " "; | |
66 | $project{"HTMLDEPS"} .= $filedep . " " | |
67 | } | |
68 | #! find all our headers | |
69 | foreach $file (sort keys %wxWXINCLUDE) { | |
70 | $project{"MOTIF_HEADERS"} .= $file . " " | |
71 | } | |
72 | ||
73 | foreach $file (sort keys %wxMOTIFINCLUDE) { | |
74 | $project{"MOTIF_HEADERS"} .= "motif/" . $file . " " | |
75 | } | |
76 | ||
77 | foreach $file (sort keys %wxGENERICINCLUDE) { | |
78 | $project{"MOTIF_HEADERS"} .= "generic/" . $file . " " | |
79 | } | |
80 | ||
81 | foreach $file (sort keys %wxUNIXINCLUDE) { | |
82 | $project{"MOTIF_HEADERS"} .= "unix/" . $file . " " | |
83 | } | |
84 | ||
85 | foreach $file (sort keys %wxHTMLINCLUDE) { | |
86 | $project{"MOTIF_HEADERS"} .= "html/" . $file . " " | |
87 | } | |
88 | ||
89 | foreach $file (sort keys %wxPROTOCOLINCLUDE) { | |
90 | $project{"MOTIF_HEADERS"} .= "protocol/" . $file . " " | |
91 | } | |
92 | #$} | |
93 | # This file was automatically generated by tmake at #$ Now() | |
94 | # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MOTIF.T! | |
95 | ALL_SOURCES = \ | |
96 | #$ ExpandList("MOTIF_SOURCES"); | |
97 | ||
98 | ALL_HEADERS = \ | |
99 | #$ ExpandList("MOTIF_HEADERS"); | |
100 | ||
101 | COMMONOBJS = \ | |
102 | #$ ExpandList("COMMONOBJS"); | |
103 | ||
104 | COMMONDEPS = \ | |
105 | #$ ExpandList("COMMONDEPS"); | |
106 | ||
107 | GENERICOBJS = \ | |
108 | #$ ExpandList("GENERICOBJS"); | |
109 | ||
110 | GENERICDEPS = \ | |
111 | #$ ExpandList("GENERICDEPS"); | |
112 | ||
113 | GUIOBJS = \ | |
114 | #$ ExpandList("GUIOBJS"); | |
115 | ||
116 | GUIDEPS = \ | |
117 | #$ ExpandList("GUIDEPS"); | |
118 | ||
119 | UNIXOBJS = \ | |
120 | #$ ExpandList("UNIXOBJS"); | |
121 | ||
122 | UNIXDEPS = \ | |
123 | #$ ExpandList("UNIXDEPS"); | |
124 | ||
125 | HTMLOBJS = \ | |
126 | #$ ExpandList("HTMLOBJS"); | |
127 | ||
128 | HTMLDEPS = \ | |
129 | #$ ExpandList("HTMLDEPS"); |