]>
Commit | Line | Data |
---|---|---|
2b03b51b GD |
1 | #!################################################################################ |
2 | #! File: mac.t | |
3 | #! Purpose: tmake template file from which src/mac/files.lst containing the | |
4 | #! list of files for wxMac library is generated by tmake | |
5 | #! Author: Gilles Depeyrot | |
6 | #! Created: 04.10.01 | |
7 | #! Version: $Id$ | |
8 | #!################################################################################ | |
9 | #${ | |
10 | #! include the code which parses filelist.txt file and initializes | |
11 | #! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxMAC, %wxMOTIF and | |
12 | #! %wxOS2PM hashes. | |
13 | IncludeTemplate("filelist.t"); | |
14 | ||
15 | #! find all our sources | |
293e425d | 16 | #! MoreFiles sources |
ec341c7e | 17 | $project{"GUIOBJS"} .= "MoreFilesX.o "; |
2b03b51b GD |
18 | |
19 | foreach $file (sort keys %wxGeneric) { | |
20 | next if $wxGeneric{$file} =~ /\bNotMac\b/; | |
21 | ||
22 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
23 | ||
24 | $project{"MAC_SOURCES"} .= "generic/" . $file . " "; | |
25 | $project{"GENERICOBJS"} .= $fileobj . " "; | |
26 | } | |
27 | ||
28 | foreach $file (sort keys %wxCommon) { | |
29 | next if $wxCommon{$file} =~ /\bNotMac\b/; | |
30 | ||
31 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
32 | ||
33 | $project{"MAC_SOURCES"} .= "common/" . $file . " "; | |
34 | $project{"COMMONOBJS"} .= $fileobj . " "; | |
35 | } | |
36 | ||
37 | foreach $file (sort keys %wxMAC) { | |
38 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
39 | ||
40 | $project{"MAC_SOURCES"} .= "mac/" . $file . " "; | |
41 | $project{"GUIOBJS"} .= $fileobj . " "; | |
42 | } | |
43 | ||
44 | foreach $file (sort keys %wxUNIX) { | |
45 | next if $wxUNIX{$file} =~ /\bNotMac\b/; | |
46 | ||
47 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
48 | ||
49 | $project{"MAC_SOURCES"} .= "unix/" . $file . " "; | |
50 | $project{"UNIXOBJS"} .= $fileobj . " "; | |
51 | } | |
52 | ||
53 | foreach $file (sort keys %wxHTML) { | |
54 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
55 | ||
56 | $project{"MAC_SOURCES"} .= "html/" . $file . " "; | |
57 | $project{"HTMLOBJS"} .= $fileobj . " "; | |
58 | } | |
59 | #! find all our headers | |
60 | foreach $file (sort keys %wxWXINCLUDE) { | |
61 | next if $wxWXINCLUDE{$file} =~ /\bX\b/; | |
62 | ||
63 | $project{"MAC_HEADERS"} .= $file . " " | |
64 | } | |
65 | ||
66 | foreach $file (sort keys %wxMACINCLUDE) { | |
67 | $project{"MAC_HEADERS"} .= "mac/" . $file . " " | |
68 | } | |
69 | ||
70 | foreach $file (sort keys %wxGENERICINCLUDE) { | |
71 | $project{"MAC_HEADERS"} .= "generic/" . $file . " " | |
72 | } | |
73 | ||
74 | foreach $file (sort keys %wxUNIXINCLUDE) { | |
75 | $project{"MAC_HEADERS"} .= "unix/" . $file . " " | |
76 | } | |
77 | ||
78 | foreach $file (sort keys %wxHTMLINCLUDE) { | |
79 | $project{"MAC_HEADERS"} .= "html/" . $file . " " | |
80 | } | |
81 | ||
82 | foreach $file (sort keys %wxPROTOCOLINCLUDE) { | |
83 | $project{"MAC_HEADERS"} .= "protocol/" . $file . " " | |
84 | } | |
85 | ||
86 | foreach $file (sort keys %wxMACRESOURCE) { | |
87 | $project{"MACRESOURCES"} .= $file . " " | |
88 | } | |
89 | #$} | |
0f04dbf3 | 90 | # This file was automatically generated by tmake |
2b03b51b GD |
91 | # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MAC.T! |
92 | ALL_SOURCES = \ | |
93 | #$ ExpandList("MAC_SOURCES"); | |
94 | ||
95 | ALL_HEADERS = \ | |
96 | #$ ExpandList("MAC_HEADERS"); | |
97 | ||
98 | COMMONOBJS = \ | |
99 | #$ ExpandList("COMMONOBJS"); | |
100 | ||
101 | GENERICOBJS = \ | |
102 | #$ ExpandList("GENERICOBJS"); | |
103 | ||
104 | GUIOBJS = \ | |
105 | #$ ExpandList("GUIOBJS"); | |
106 | ||
107 | UNIXOBJS = \ | |
108 | #$ ExpandList("UNIXOBJS"); | |
109 | ||
110 | HTMLOBJS = \ | |
111 | #$ ExpandList("HTMLOBJS"); | |
112 | ||
113 | MACRESOURCES = \ | |
114 | #$ ExpandList("MACRESOURCES"); |