]>
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 "; | |
2224580a VZ |
17 | $project{"GUIOBJS"} .= "xmcombo.o "; |
18 | ||
19 | foreach $file (sort keys %wxGeneric) { | |
49f72157 | 20 | next if $wxGeneric{$file} =~ /\bNotX\b/; |
2224580a VZ |
21 | |
22 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
2224580a VZ |
23 | |
24 | $project{"MOTIF_SOURCES"} .= "generic/" . $file . " "; | |
25 | $project{"GENERICOBJS"} .= $fileobj . " "; | |
2224580a VZ |
26 | } |
27 | ||
28 | foreach $file (sort keys %wxCommon) { | |
49f72157 | 29 | next if $wxCommon{$file} =~ /\bNotX\b/; |
2224580a VZ |
30 | |
31 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
2224580a VZ |
32 | |
33 | $project{"MOTIF_SOURCES"} .= "common/" . $file . " "; | |
34 | $project{"COMMONOBJS"} .= $fileobj . " "; | |
2224580a VZ |
35 | } |
36 | ||
37 | foreach $file (sort keys %wxMOTIF) { | |
38 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
2224580a VZ |
39 | |
40 | $project{"MOTIF_SOURCES"} .= "motif/" . $file . " "; | |
41 | $project{"GUIOBJS"} .= $fileobj . " "; | |
2224580a VZ |
42 | } |
43 | ||
44 | foreach $file (sort keys %wxUNIX) { | |
45 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
2224580a VZ |
46 | |
47 | $project{"MOTIF_SOURCES"} .= "unix/" . $file . " "; | |
48 | $project{"UNIXOBJS"} .= $fileobj . " "; | |
2224580a VZ |
49 | } |
50 | ||
51 | foreach $file (sort keys %wxHTML) { | |
52 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
2224580a VZ |
53 | |
54 | $project{"MOTIF_SOURCES"} .= "html/" . $file . " "; | |
55 | $project{"HTMLOBJS"} .= $fileobj . " "; | |
2224580a VZ |
56 | } |
57 | #! find all our headers | |
58 | foreach $file (sort keys %wxWXINCLUDE) { | |
49f72157 | 59 | next if $wxWXINCLUDE{$file} =~ /\bNotX\b/; |
7529690d | 60 | |
2224580a VZ |
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 | #$} | |
0f04dbf3 | 84 | # This file was automatically generated by tmake |
2224580a VZ |
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 | ||
2224580a VZ |
95 | GENERICOBJS = \ |
96 | #$ ExpandList("GENERICOBJS"); | |
97 | ||
2224580a VZ |
98 | GUIOBJS = \ |
99 | #$ ExpandList("GUIOBJS"); | |
100 | ||
2224580a VZ |
101 | UNIXOBJS = \ |
102 | #$ ExpandList("UNIXOBJS"); | |
103 | ||
2224580a VZ |
104 | HTMLOBJS = \ |
105 | #$ ExpandList("HTMLOBJS"); | |
106 |