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
18 foreach $file (sort keys %wxGeneric) {
19 next if $wxGeneric{$file} =~ /\bNotCocoa\b/;
21 ($fileobj = $file) =~ s/cp?p?$/\o/;
22 $fileobj =~ s/mm?$/\o/;
24 $project{"COCOA_SOURCES"} .= "generic/" . $file . " ";
25 $project{"GENERICOBJS"} .= $fileobj . " ";
28 foreach $file (sort keys %wxCommon) {
29 next if $wxCommon{$file} =~ /\bNotCocoa\b/;
31 ($fileobj = $file) =~ s/cp?p?$/\o/;
32 $fileobj =~ s/mm?$/\o/;
34 $project{"COCOA_SOURCES"} .= "common/" . $file . " ";
35 $project{"COMMONOBJS"} .= $fileobj . " ";
38 foreach $file (sort keys %wxCOCOA) {
39 ($fileobj = $file) =~ s/cp?p?$/\o/;
40 $fileobj =~ s/mm?$/\o/;
42 $project{"COCOA_SOURCES"} .= "cocoa/" . $file . " ";
43 $project{"GUIOBJS"} .= $fileobj . " ";
46 foreach $file (sort keys %wxUNIX) {
47 next if $wxUNIX{$file} =~ /\bNotCocoa\b/;
49 ($fileobj = $file) =~ s/cp?p?$/\o/;
50 $fileobj =~ s/mm?$/\o/;
52 $project{"COCOA_SOURCES"} .= "unix/" . $file . " ";
53 $project{"UNIXOBJS"} .= $fileobj . " ";
56 foreach $file (sort keys %wxHTML) {
57 ($fileobj = $file) =~ s/cp?p?$/\o/;
58 $fileobj =~ s/mm?$/\o/;
60 $project{"COCOA_SOURCES"} .= "html/" . $file . " ";
61 $project{"HTMLOBJS"} .= $fileobj . " ";
63 #! find all our headers
64 foreach $file (sort keys %wxWXINCLUDE) {
65 next if $wxWXINCLUDE{$file} =~ /\bX\b/;
67 $project{"COCOA_HEADERS"} .= $file . " "
70 foreach $file (sort keys %wxCOCOAINCLUDE) {
71 $project{"COCOA_HEADERS"} .= "cocoa/" . $file . " "
74 foreach $file (sort keys %wxGENERICINCLUDE) {
75 $project{"COCOA_HEADERS"} .= "generic/" . $file . " "
78 foreach $file (sort keys %wxUNIXINCLUDE) {
79 $project{"COCOA_HEADERS"} .= "unix/" . $file . " "
82 foreach $file (sort keys %wxHTMLINCLUDE) {
83 $project{"COCOA_HEADERS"} .= "html/" . $file . " "
86 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
87 $project{"COCOA_HEADERS"} .= "protocol/" . $file . " "
90 foreach $file (sort keys %wxCOCOARESOURCE) {
91 $project{"COCOARESOURCES"} .= $file . " "
94 # This file was automatically generated by tmake
95 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE COCOA.T!
97 #$ ExpandList("COCOA_SOURCES");
100 #$ ExpandList("COCOA_HEADERS");
103 #$ ExpandList("COMMONOBJS");
106 #$ ExpandList("GENERICOBJS");
109 #$ ExpandList("GUIOBJS");
112 #$ ExpandList("UNIXOBJS");
115 #$ ExpandList("HTMLOBJS");
118 #$ ExpandList("COCOARESOURCES");