]>
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) { | |
7529690d VZ |
70 | next if $wxWXINCLUDE{$file} =~ /\bX\b/; |
71 | ||
2224580a VZ |
72 | $project{"MOTIF_HEADERS"} .= $file . " " |
73 | } | |
74 | ||
75 | foreach $file (sort keys %wxMOTIFINCLUDE) { | |
76 | $project{"MOTIF_HEADERS"} .= "motif/" . $file . " " | |
77 | } | |
78 | ||
79 | foreach $file (sort keys %wxGENERICINCLUDE) { | |
80 | $project{"MOTIF_HEADERS"} .= "generic/" . $file . " " | |
81 | } | |
82 | ||
83 | foreach $file (sort keys %wxUNIXINCLUDE) { | |
84 | $project{"MOTIF_HEADERS"} .= "unix/" . $file . " " | |
85 | } | |
86 | ||
87 | foreach $file (sort keys %wxHTMLINCLUDE) { | |
88 | $project{"MOTIF_HEADERS"} .= "html/" . $file . " " | |
89 | } | |
90 | ||
91 | foreach $file (sort keys %wxPROTOCOLINCLUDE) { | |
92 | $project{"MOTIF_HEADERS"} .= "protocol/" . $file . " " | |
93 | } | |
94 | #$} | |
95 | # This file was automatically generated by tmake at #$ Now() | |
96 | # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MOTIF.T! | |
97 | ALL_SOURCES = \ | |
98 | #$ ExpandList("MOTIF_SOURCES"); | |
99 | ||
100 | ALL_HEADERS = \ | |
101 | #$ ExpandList("MOTIF_HEADERS"); | |
102 | ||
103 | COMMONOBJS = \ | |
104 | #$ ExpandList("COMMONOBJS"); | |
105 | ||
106 | COMMONDEPS = \ | |
107 | #$ ExpandList("COMMONDEPS"); | |
108 | ||
109 | GENERICOBJS = \ | |
110 | #$ ExpandList("GENERICOBJS"); | |
111 | ||
112 | GENERICDEPS = \ | |
113 | #$ ExpandList("GENERICDEPS"); | |
114 | ||
115 | GUIOBJS = \ | |
116 | #$ ExpandList("GUIOBJS"); | |
117 | ||
118 | GUIDEPS = \ | |
119 | #$ ExpandList("GUIDEPS"); | |
120 | ||
121 | UNIXOBJS = \ | |
122 | #$ ExpandList("UNIXOBJS"); | |
123 | ||
124 | UNIXDEPS = \ | |
125 | #$ ExpandList("UNIXDEPS"); | |
126 | ||
127 | HTMLOBJS = \ | |
128 | #$ ExpandList("HTMLOBJS"); | |
129 | ||
130 | HTMLDEPS = \ | |
131 | #$ ExpandList("HTMLDEPS"); |