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