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