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