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"} .= "DirectoryCopy.o ";
18 $project{"GUIOBJS"} .= "FSpCompat.o ";
19 $project{"GUIOBJS"} .= "FileCopy.o ";
20 $project{"GUIOBJS"} .= "FullPath.o ";
21 $project{"GUIOBJS"} .= "IterateDirectory.o ";
22 $project{"GUIOBJS"} .= "MoreDesktopMgr.o ";
23 $project{"GUIOBJS"} .= "MoreFiles.o ";
24 $project{"GUIOBJS"} .= "MoreFilesExtras.o ";
25 $project{"GUIOBJS"} .= "Search.o ";
27 foreach $file (sort keys %wxGeneric) {
28 next if $wxGeneric{$file} =~ /\bNotMac\b/;
30 ($fileobj = $file) =~ s/cp?p?$/\o/;
32 $project{"MAC_SOURCES"} .= "generic/" . $file . " ";
33 $project{"GENERICOBJS"} .= $fileobj . " ";
36 foreach $file (sort keys %wxCommon) {
37 next if $wxCommon{$file} =~ /\bNotMac\b/;
39 ($fileobj = $file) =~ s/cp?p?$/\o/;
41 $project{"MAC_SOURCES"} .= "common/" . $file . " ";
42 $project{"COMMONOBJS"} .= $fileobj . " ";
45 foreach $file (sort keys %wxMAC) {
46 ($fileobj = $file) =~ s/cp?p?$/\o/;
48 $project{"MAC_SOURCES"} .= "mac/" . $file . " ";
49 $project{"GUIOBJS"} .= $fileobj . " ";
52 foreach $file (sort keys %wxUNIX) {
53 next if $wxUNIX{$file} =~ /\bNotMac\b/;
55 ($fileobj = $file) =~ s/cp?p?$/\o/;
57 $project{"MAC_SOURCES"} .= "unix/" . $file . " ";
58 $project{"UNIXOBJS"} .= $fileobj . " ";
61 foreach $file (sort keys %wxHTML) {
62 ($fileobj = $file) =~ s/cp?p?$/\o/;
64 $project{"MAC_SOURCES"} .= "html/" . $file . " ";
65 $project{"HTMLOBJS"} .= $fileobj . " ";
67 #! find all our headers
68 foreach $file (sort keys %wxWXINCLUDE) {
69 next if $wxWXINCLUDE{$file} =~ /\bX\b/;
71 $project{"MAC_HEADERS"} .= $file . " "
74 foreach $file (sort keys %wxMACINCLUDE) {
75 $project{"MAC_HEADERS"} .= "mac/" . $file . " "
78 foreach $file (sort keys %wxGENERICINCLUDE) {
79 $project{"MAC_HEADERS"} .= "generic/" . $file . " "
82 foreach $file (sort keys %wxUNIXINCLUDE) {
83 $project{"MAC_HEADERS"} .= "unix/" . $file . " "
86 foreach $file (sort keys %wxHTMLINCLUDE) {
87 $project{"MAC_HEADERS"} .= "html/" . $file . " "
90 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
91 $project{"MAC_HEADERS"} .= "protocol/" . $file . " "
94 foreach $file (sort keys %wxMACRESOURCE) {
95 $project{"MACRESOURCES"} .= $file . " "
98 # This file was automatically generated by tmake
99 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MAC.T!
101 #$ ExpandList("MAC_SOURCES");
104 #$ ExpandList("MAC_HEADERS");
107 #$ ExpandList("COMMONOBJS");
110 #$ ExpandList("GENERICOBJS");
113 #$ ExpandList("GUIOBJS");
116 #$ ExpandList("UNIXOBJS");
119 #$ ExpandList("HTMLOBJS");
122 #$ ExpandList("MACRESOURCES");