1 #!################################################################################
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)
7 #! Modified: David Elliott
9 #!################################################################################
11 #! include the code which parses filelist.txt file and initializes
12 #! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxMAC, %wxMOTIF and
14 IncludeTemplate("filelist.t");
16 #! find all our sources
17 $project{"COMMONOBJS"} .= "parser.o ";
19 foreach $file (sort keys %wxGeneric) {
20 next if $wxGeneric{$file} =~ /\bNotCocoa\b/;
22 ($fileobj = $file) =~ s/cp?p?$/\o/;
23 $fileobj =~ s/mm?$/\o/;
25 $project{"COCOA_SOURCES"} .= "generic/" . $file . " ";
26 $project{"GENERICOBJS"} .= $fileobj . " ";
29 foreach $file (sort keys %wxCommon) {
30 next if $wxCommon{$file} =~ /\bNotCocoa\b/;
32 ($fileobj = $file) =~ s/cp?p?$/\o/;
33 $fileobj =~ s/mm?$/\o/;
35 $project{"COCOA_SOURCES"} .= "common/" . $file . " ";
36 $project{"COMMONOBJS"} .= $fileobj . " ";
39 foreach $file (sort keys %wxCOCOA) {
40 ($fileobj = $file) =~ s/cp?p?$/\o/;
41 $fileobj =~ s/mm?$/\o/;
43 $project{"COCOA_SOURCES"} .= "cocoa/" . $file . " ";
44 $project{"GUIOBJS"} .= $fileobj . " ";
47 foreach $file (sort keys %wxUNIX) {
48 next if $wxUNIX{$file} =~ /\bNotCocoa\b/;
50 ($fileobj = $file) =~ s/cp?p?$/\o/;
51 $fileobj =~ s/mm?$/\o/;
53 $project{"COCOA_SOURCES"} .= "unix/" . $file . " ";
54 $project{"UNIXOBJS"} .= $fileobj . " ";
57 foreach $file (sort keys %wxHTML) {
58 ($fileobj = $file) =~ s/cp?p?$/\o/;
59 $fileobj =~ s/mm?$/\o/;
61 $project{"COCOA_SOURCES"} .= "html/" . $file . " ";
62 $project{"HTMLOBJS"} .= $fileobj . " ";
64 #! find all our headers
65 foreach $file (sort keys %wxWXINCLUDE) {
66 next if $wxWXINCLUDE{$file} =~ /\bX\b/;
68 $project{"COCOA_HEADERS"} .= $file . " "
71 foreach $file (sort keys %wxCOCOAINCLUDE) {
72 $project{"COCOA_HEADERS"} .= "cocoa/" . $file . " "
75 foreach $file (sort keys %wxGENERICINCLUDE) {
76 $project{"COCOA_HEADERS"} .= "generic/" . $file . " "
79 foreach $file (sort keys %wxUNIXINCLUDE) {
80 $project{"COCOA_HEADERS"} .= "unix/" . $file . " "
83 foreach $file (sort keys %wxHTMLINCLUDE) {
84 $project{"COCOA_HEADERS"} .= "html/" . $file . " "
87 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
88 $project{"COCOA_HEADERS"} .= "protocol/" . $file . " "
91 foreach $file (sort keys %wxCOCOARESOURCE) {
92 $project{"COCOARESOURCES"} .= $file . " "
95 # This file was automatically generated by tmake
96 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE COCOA.T!
98 #$ ExpandList("COCOA_SOURCES");
101 #$ ExpandList("COCOA_HEADERS");
104 #$ ExpandList("COMMONOBJS");
107 #$ ExpandList("GENERICOBJS");
110 #$ ExpandList("GUIOBJS");
113 #$ ExpandList("UNIXOBJS");
116 #$ ExpandList("HTMLOBJS");
119 #$ ExpandList("COCOARESOURCES");