]>
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 | |
16 | $project{"COMMONOBJS"} .= "parser.o "; | |
17 | ||
18 | foreach $file (sort keys %wxGeneric) { | |
19 | next if $wxGeneric{$file} =~ /\bNotMac\b/; | |
20 | ||
21 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
22 | ||
23 | $project{"MAC_SOURCES"} .= "generic/" . $file . " "; | |
24 | $project{"GENERICOBJS"} .= $fileobj . " "; | |
25 | } | |
26 | ||
27 | foreach $file (sort keys %wxCommon) { | |
28 | next if $wxCommon{$file} =~ /\bNotMac\b/; | |
29 | ||
30 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
31 | ||
32 | $project{"MAC_SOURCES"} .= "common/" . $file . " "; | |
33 | $project{"COMMONOBJS"} .= $fileobj . " "; | |
34 | } | |
35 | ||
36 | foreach $file (sort keys %wxMAC) { | |
37 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
38 | ||
39 | $project{"MAC_SOURCES"} .= "mac/" . $file . " "; | |
40 | $project{"GUIOBJS"} .= $fileobj . " "; | |
41 | } | |
42 | ||
43 | foreach $file (sort keys %wxUNIX) { | |
44 | next if $wxUNIX{$file} =~ /\bNotMac\b/; | |
45 | ||
46 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
47 | ||
48 | $project{"MAC_SOURCES"} .= "unix/" . $file . " "; | |
49 | $project{"UNIXOBJS"} .= $fileobj . " "; | |
50 | } | |
51 | ||
52 | foreach $file (sort keys %wxHTML) { | |
53 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
54 | ||
55 | $project{"MAC_SOURCES"} .= "html/" . $file . " "; | |
56 | $project{"HTMLOBJS"} .= $fileobj . " "; | |
57 | } | |
58 | #! find all our headers | |
59 | foreach $file (sort keys %wxWXINCLUDE) { | |
60 | next if $wxWXINCLUDE{$file} =~ /\bX\b/; | |
61 | ||
62 | $project{"MAC_HEADERS"} .= $file . " " | |
63 | } | |
64 | ||
65 | foreach $file (sort keys %wxMACINCLUDE) { | |
66 | $project{"MAC_HEADERS"} .= "mac/" . $file . " " | |
67 | } | |
68 | ||
69 | foreach $file (sort keys %wxGENERICINCLUDE) { | |
70 | $project{"MAC_HEADERS"} .= "generic/" . $file . " " | |
71 | } | |
72 | ||
73 | foreach $file (sort keys %wxUNIXINCLUDE) { | |
74 | $project{"MAC_HEADERS"} .= "unix/" . $file . " " | |
75 | } | |
76 | ||
77 | foreach $file (sort keys %wxHTMLINCLUDE) { | |
78 | $project{"MAC_HEADERS"} .= "html/" . $file . " " | |
79 | } | |
80 | ||
81 | foreach $file (sort keys %wxPROTOCOLINCLUDE) { | |
82 | $project{"MAC_HEADERS"} .= "protocol/" . $file . " " | |
83 | } | |
84 | ||
85 | foreach $file (sort keys %wxMACRESOURCE) { | |
86 | $project{"MACRESOURCES"} .= $file . " " | |
87 | } | |
88 | #$} | |
89 | # This file was automatically generated by tmake at #$ Now() | |
90 | # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MAC.T! | |
91 | ALL_SOURCES = \ | |
92 | #$ ExpandList("MAC_SOURCES"); | |
93 | ||
94 | ALL_HEADERS = \ | |
95 | #$ ExpandList("MAC_HEADERS"); | |
96 | ||
97 | COMMONOBJS = \ | |
98 | #$ ExpandList("COMMONOBJS"); | |
99 | ||
100 | GENERICOBJS = \ | |
101 | #$ ExpandList("GENERICOBJS"); | |
102 | ||
103 | GUIOBJS = \ | |
104 | #$ ExpandList("GUIOBJS"); | |
105 | ||
106 | UNIXOBJS = \ | |
107 | #$ ExpandList("UNIXOBJS"); | |
108 | ||
109 | HTMLOBJS = \ | |
110 | #$ ExpandList("HTMLOBJS"); | |
111 | ||
112 | MACRESOURCES = \ | |
113 | #$ ExpandList("MACRESOURCES"); |