1 #!################################################################################
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
8 #!################################################################################
10 #! include the code which parses filelist.txt file and initializes
11 #! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxMAC, %wxMOTIF and
13 IncludeTemplate("filelist.t");
15 #! find all our sources
17 $project{"GUIOBJS"} .= "MoreFilesX.o ";
19 foreach $file (sort keys %wxGeneric) {
20 next if $wxGeneric{$file} =~ /\bNotMac\b/;
22 ($fileobj = $file) =~ s/cp?p?$/\o/;
24 $project{"MAC_SOURCES"} .= "generic/" . $file . " ";
25 $project{"GENERICOBJS"} .= $fileobj . " ";
28 foreach $file (sort keys %wxCommon) {
29 next if $wxCommon{$file} =~ /\bNotMac\b/;
31 ($fileobj = $file) =~ s/cp?p?$/\o/;
33 $project{"MAC_SOURCES"} .= "common/" . $file . " ";
34 $project{"COMMONOBJS"} .= $fileobj . " ";
37 foreach $file (sort keys %wxMAC) {
38 ($fileobj = $file) =~ s/cp?p?$/\o/;
40 $project{"MAC_SOURCES"} .= "mac/" . $file . " ";
41 $project{"GUIOBJS"} .= $fileobj . " ";
44 foreach $file (sort keys %wxUNIX) {
45 next if $wxUNIX{$file} =~ /\bNotMac\b/;
47 ($fileobj = $file) =~ s/cp?p?$/\o/;
49 $project{"MAC_SOURCES"} .= "unix/" . $file . " ";
50 $project{"UNIXOBJS"} .= $fileobj . " ";
53 foreach $file (sort keys %wxHTML) {
54 ($fileobj = $file) =~ s/cp?p?$/\o/;
56 $project{"MAC_SOURCES"} .= "html/" . $file . " ";
57 $project{"HTMLOBJS"} .= $fileobj . " ";
59 #! find all our headers
60 foreach $file (sort keys %wxWXINCLUDE) {
61 next if $wxWXINCLUDE{$file} =~ /\bX\b/;
63 $project{"MAC_HEADERS"} .= $file . " "
66 foreach $file (sort keys %wxMACINCLUDE) {
67 $project{"MAC_HEADERS"} .= "mac/" . $file . " "
70 foreach $file (sort keys %wxGENERICINCLUDE) {
71 $project{"MAC_HEADERS"} .= "generic/" . $file . " "
74 foreach $file (sort keys %wxUNIXINCLUDE) {
75 $project{"MAC_HEADERS"} .= "unix/" . $file . " "
78 foreach $file (sort keys %wxHTMLINCLUDE) {
79 $project{"MAC_HEADERS"} .= "html/" . $file . " "
82 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
83 $project{"MAC_HEADERS"} .= "protocol/" . $file . " "
86 foreach $file (sort keys %wxMACRESOURCE) {
87 $project{"MACRESOURCES"} .= $file . " "
90 # This file was automatically generated by tmake
91 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MAC.T!
93 #$ ExpandList("MAC_SOURCES");
96 #$ ExpandList("MAC_HEADERS");
99 #$ ExpandList("COMMONOBJS");
102 #$ ExpandList("GENERICOBJS");
105 #$ ExpandList("GUIOBJS");
108 #$ ExpandList("UNIXOBJS");
111 #$ ExpandList("HTMLOBJS");
114 #$ ExpandList("MACRESOURCES");