1 #!################################################################################
3 #! Purpose: tmake template file from which src/gtk/files.lst containing the
4 #! list of files for wxGTK library is generated by tmake
5 #! Author: Vadim Zeitlin
8 #!################################################################################
10 #! include the code which parses filelist.txt file and initializes
11 #! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxGTK, %wxMOTIF and
13 IncludeTemplate("filelist.t");
15 #! find all our sources
16 $project{"COMMONOBJS"} .= "parser.o ";
17 $project{"COMMONDEPS"} .= "parser.d ";
19 foreach $file (sort keys %wxGeneric) {
20 next if $wxGeneric{$file} =~ /\bR\b/;
22 ($fileobj = $file) =~ s/cp?p?$/\o/;
23 ($filedep = $file) =~ s/cp?p?$/\d/;
25 $project{"GTK_SOURCES"} .= "generic/" . $file . " ";
26 $project{"GENERICOBJS"} .= $fileobj . " ";
27 $project{"GENERICDEPS"} .= $filedep . " "
30 foreach $file (sort keys %wxCommon) {
31 next if $wxCommon{$file} =~ /\bR\b/;
33 ($fileobj = $file) =~ s/cp?p?$/\o/;
34 ($filedep = $file) =~ s/cp?p?$/\d/;
36 $project{"GTK_SOURCES"} .= "common/" . $file . " ";
37 $project{"COMMONOBJS"} .= $fileobj . " ";
38 $project{"COMMONDEPS"} .= $filedep . " "
41 foreach $file (sort keys %wxGTK) {
42 ($fileobj = $file) =~ s/cp?p?$/\o/;
43 ($filedep = $file) =~ s/cp?p?$/\d/;
45 $project{"GTK_SOURCES"} .= "gtk/" . $file . " ";
46 $project{"GUIOBJS"} .= $fileobj . " ";
47 $project{"GUIDEPS"} .= $filedep . " "
50 foreach $file (sort keys %wxUNIX) {
51 ($fileobj = $file) =~ s/cp?p?$/\o/;
52 ($filedep = $file) =~ s/cp?p?$/\d/;
54 $project{"GTK_SOURCES"} .= "unix/" . $file . " ";
55 $project{"UNIXOBJS"} .= $fileobj . " ";
56 $project{"UNIXDEPS"} .= $filedep . " "
59 foreach $file (sort keys %wxHTML) {
60 ($fileobj = $file) =~ s/cp?p?$/\o/;
61 ($filedep = $file) =~ s/cp?p?$/\d/;
63 $project{"GTK_SOURCES"} .= "html/" . $file . " ";
64 $project{"HTMLOBJS"} .= $fileobj . " ";
65 $project{"HTMLDEPS"} .= $filedep . " "
68 foreach $file (sort keys %wxOGL) {
69 ($fileobj = $file) =~ s/cp?p?$/\o/;
70 ($filedep = $file) =~ s/cp?p?$/\d/;
72 $project{"GTK_SOURCES"} .= "ogl/" . $file . " ";
73 $project{"OGLOBJS"} .= $fileobj . " ";
74 $project{"OGLDEPS"} .= $filedep . " "
77 #! find all our headers
78 foreach $file (sort keys %wxWXINCLUDE) {
79 $project{"GTK_HEADERS"} .= $file . " "
82 foreach $file (sort keys %wxGTKINCLUDE) {
83 $project{"GTK_HEADERS"} .= "gtk/" . $file . " "
86 foreach $file (sort keys %wxGENERICINCLUDE) {
87 $project{"GTK_HEADERS"} .= "generic/" . $file . " "
90 foreach $file (sort keys %wxUNIXINCLUDE) {
91 $project{"GTK_HEADERS"} .= "unix/" . $file . " "
94 foreach $file (sort keys %wxHTMLINCLUDE) {
95 $project{"GTK_HEADERS"} .= "html/" . $file . " "
98 foreach $file (sort keys %wxOGLINCLUDE) {
99 $project{"GTK_HEADERS"} .= "ogl/" . $file . " "
102 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
103 $project{"GTK_HEADERS"} .= "protocol/" . $file . " "
106 # This file was automatically generated by tmake at #$ Now()
107 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE GTK.T!
109 #$ ExpandList("GTK_SOURCES");
112 #$ ExpandList("GTK_HEADERS");
115 #$ ExpandList("COMMONOBJS");
118 #$ ExpandList("COMMONDEPS");
121 #$ ExpandList("GENERICOBJS");
124 #$ ExpandList("GENERICDEPS");
127 #$ ExpandList("GUIOBJS");
130 #$ ExpandList("GUIDEPS");
133 #$ ExpandList("UNIXOBJS");
136 #$ ExpandList("UNIXDEPS");
139 #$ ExpandList("HTMLOBJS");
142 #$ ExpandList("HTMLDEPS");
145 #$ ExpandList("OGLOBJS");
148 #$ ExpandList("OGLDEPS");