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
16 $project{"COMMONOBJS"} .= "parser.o ";
18 $project{"GUIOBJS"} .= "DirectoryCopy.o ";
19 $project{"GUIOBJS"} .= "FSpCompat.o ";
20 $project{"GUIOBJS"} .= "FileCopy.o ";
21 $project{"GUIOBJS"} .= "FullPath.o ";
22 $project{"GUIOBJS"} .= "IterateDirectory.o ";
23 $project{"GUIOBJS"} .= "MoreDesktopMgr.o ";
24 $project{"GUIOBJS"} .= "MoreFiles.o ";
25 $project{"GUIOBJS"} .= "MoreFilesExtras.o ";
26 $project{"GUIOBJS"} .= "Search.o ";
28 foreach $file (sort keys %wxGeneric) {
29 next if $wxGeneric{$file} =~ /\bNotMac\b/;
31 ($fileobj = $file) =~ s/cp?p?$/\o/;
33 $project{"MAC_SOURCES"} .= "generic/" . $file . " ";
34 $project{"GENERICOBJS"} .= $fileobj . " ";
37 foreach $file (sort keys %wxCommon) {
38 next if $wxCommon{$file} =~ /\bNotMac\b/;
40 ($fileobj = $file) =~ s/cp?p?$/\o/;
42 $project{"MAC_SOURCES"} .= "common/" . $file . " ";
43 $project{"COMMONOBJS"} .= $fileobj . " ";
46 foreach $file (sort keys %wxMAC) {
47 ($fileobj = $file) =~ s/cp?p?$/\o/;
49 $project{"MAC_SOURCES"} .= "mac/" . $file . " ";
50 $project{"GUIOBJS"} .= $fileobj . " ";
53 foreach $file (sort keys %wxUNIX) {
54 next if $wxUNIX{$file} =~ /\bNotMac\b/;
56 ($fileobj = $file) =~ s/cp?p?$/\o/;
58 $project{"MAC_SOURCES"} .= "unix/" . $file . " ";
59 $project{"UNIXOBJS"} .= $fileobj . " ";
62 foreach $file (sort keys %wxHTML) {
63 ($fileobj = $file) =~ s/cp?p?$/\o/;
65 $project{"MAC_SOURCES"} .= "html/" . $file . " ";
66 $project{"HTMLOBJS"} .= $fileobj . " ";
68 #! find all our headers
69 foreach $file (sort keys %wxWXINCLUDE) {
70 next if $wxWXINCLUDE{$file} =~ /\bX\b/;
72 $project{"MAC_HEADERS"} .= $file . " "
75 foreach $file (sort keys %wxMACINCLUDE) {
76 $project{"MAC_HEADERS"} .= "mac/" . $file . " "
79 foreach $file (sort keys %wxGENERICINCLUDE) {
80 $project{"MAC_HEADERS"} .= "generic/" . $file . " "
83 foreach $file (sort keys %wxUNIXINCLUDE) {
84 $project{"MAC_HEADERS"} .= "unix/" . $file . " "
87 foreach $file (sort keys %wxHTMLINCLUDE) {
88 $project{"MAC_HEADERS"} .= "html/" . $file . " "
91 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
92 $project{"MAC_HEADERS"} .= "protocol/" . $file . " "
95 foreach $file (sort keys %wxMACRESOURCE) {
96 $project{"MACRESOURCES"} .= $file . " "
99 # This file was automatically generated by tmake
100 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MAC.T!
102 #$ ExpandList("MAC_SOURCES");
105 #$ ExpandList("MAC_HEADERS");
108 #$ ExpandList("COMMONOBJS");
111 #$ ExpandList("GENERICOBJS");
114 #$ ExpandList("GUIOBJS");
117 #$ ExpandList("UNIXOBJS");
120 #$ ExpandList("HTMLOBJS");
123 #$ ExpandList("MACRESOURCES");