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 foreach $file (sort keys %wxGeneric) {
19 next if $wxGeneric{$file} =~ /\bNotMac\b/;
21 ($fileobj = $file) =~ s/cp?p?$/\o/;
23 $project{"MAC_SOURCES"} .= "generic/" . $file . " ";
24 $project{"GENERICOBJS"} .= $fileobj . " ";
27 foreach $file (sort keys %wxCommon) {
28 next if $wxCommon{$file} =~ /\bNotMac\b/;
30 ($fileobj = $file) =~ s/cp?p?$/\o/;
32 $project{"MAC_SOURCES"} .= "common/" . $file . " ";
33 $project{"COMMONOBJS"} .= $fileobj . " ";
36 foreach $file (sort keys %wxMAC) {
37 ($fileobj = $file) =~ s/cp?p?$/\o/;
39 $project{"MAC_SOURCES"} .= "mac/" . $file . " ";
40 $project{"GUIOBJS"} .= $fileobj . " ";
43 foreach $file (sort keys %wxUNIX) {
44 next if $wxUNIX{$file} =~ /\bNotMac\b/;
46 ($fileobj = $file) =~ s/cp?p?$/\o/;
48 $project{"MAC_SOURCES"} .= "unix/" . $file . " ";
49 $project{"UNIXOBJS"} .= $fileobj . " ";
52 foreach $file (sort keys %wxHTML) {
53 ($fileobj = $file) =~ s/cp?p?$/\o/;
55 $project{"MAC_SOURCES"} .= "html/" . $file . " ";
56 $project{"HTMLOBJS"} .= $fileobj . " ";
58 #! find all our headers
59 foreach $file (sort keys %wxWXINCLUDE) {
60 next if $wxWXINCLUDE{$file} =~ /\bX\b/;
62 $project{"MAC_HEADERS"} .= $file . " "
65 foreach $file (sort keys %wxMACINCLUDE) {
66 $project{"MAC_HEADERS"} .= "mac/" . $file . " "
69 foreach $file (sort keys %wxGENERICINCLUDE) {
70 $project{"MAC_HEADERS"} .= "generic/" . $file . " "
73 foreach $file (sort keys %wxUNIXINCLUDE) {
74 $project{"MAC_HEADERS"} .= "unix/" . $file . " "
77 foreach $file (sort keys %wxHTMLINCLUDE) {
78 $project{"MAC_HEADERS"} .= "html/" . $file . " "
81 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
82 $project{"MAC_HEADERS"} .= "protocol/" . $file . " "
85 foreach $file (sort keys %wxMACRESOURCE) {
86 $project{"MACRESOURCES"} .= $file . " "
89 # This file was automatically generated by tmake at #$ Now()
90 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MAC.T!
92 #$ ExpandList("MAC_SOURCES");
95 #$ ExpandList("MAC_HEADERS");
98 #$ ExpandList("COMMONOBJS");
101 #$ ExpandList("GENERICOBJS");
104 #$ ExpandList("GUIOBJS");
107 #$ ExpandList("UNIXOBJS");
110 #$ ExpandList("HTMLOBJS");
113 #$ ExpandList("MACRESOURCES");