]>
Commit | Line | Data |
---|---|---|
2224580a VZ |
1 | #!################################################################################ |
2 | #! File: gtk.t | |
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 | |
6 | #! Created: 28.01.00 | |
7 | #! Version: $Id$ | |
8 | #!################################################################################ | |
9 | #${ | |
10 | #! include the code which parses filelist.txt file and initializes | |
11 | #! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxGTK, %wxMOTIF and | |
12 | #! %wxOS2PM hashes. | |
13 | IncludeTemplate("filelist.t"); | |
14 | ||
15 | #! find all our sources | |
16 | $project{"COMMONOBJS"} .= "parser.o "; | |
17 | $project{"COMMONDEPS"} .= "parser.d "; | |
18 | ||
19 | foreach $file (sort keys %wxGeneric) { | |
20 | next if $wxGeneric{$file} =~ /\bR\b/; | |
21 | ||
22 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
23 | ($filedep = $file) =~ s/cp?p?$/\d/; | |
24 | ||
25 | $project{"GTK_SOURCES"} .= "generic/" . $file . " "; | |
26 | $project{"GENERICOBJS"} .= $fileobj . " "; | |
27 | $project{"GENERICDEPS"} .= $filedep . " " | |
28 | } | |
29 | ||
30 | foreach $file (sort keys %wxCommon) { | |
31 | next if $wxCommon{$file} =~ /\bR\b/; | |
32 | ||
33 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
34 | ($filedep = $file) =~ s/cp?p?$/\d/; | |
35 | ||
36 | $project{"GTK_SOURCES"} .= "common/" . $file . " "; | |
37 | $project{"COMMONOBJS"} .= $fileobj . " "; | |
38 | $project{"COMMONDEPS"} .= $filedep . " " | |
39 | } | |
40 | ||
41 | foreach $file (sort keys %wxGTK) { | |
42 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
43 | ($filedep = $file) =~ s/cp?p?$/\d/; | |
44 | ||
45 | $project{"GTK_SOURCES"} .= "gtk/" . $file . " "; | |
46 | $project{"GUIOBJS"} .= $fileobj . " "; | |
47 | $project{"GUIDEPS"} .= $filedep . " " | |
48 | } | |
49 | ||
50 | foreach $file (sort keys %wxUNIX) { | |
51 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
52 | ($filedep = $file) =~ s/cp?p?$/\d/; | |
53 | ||
54 | $project{"GTK_SOURCES"} .= "unix/" . $file . " "; | |
55 | $project{"UNIXOBJS"} .= $fileobj . " "; | |
56 | $project{"UNIXDEPS"} .= $filedep . " " | |
57 | } | |
58 | ||
59 | foreach $file (sort keys %wxHTML) { | |
60 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
61 | ($filedep = $file) =~ s/cp?p?$/\d/; | |
62 | ||
63 | $project{"GTK_SOURCES"} .= "html/" . $file . " "; | |
64 | $project{"HTMLOBJS"} .= $fileobj . " "; | |
65 | $project{"HTMLDEPS"} .= $filedep . " " | |
66 | } | |
67 | #! find all our headers | |
68 | foreach $file (sort keys %wxWXINCLUDE) { | |
69 | $project{"GTK_HEADERS"} .= $file . " " | |
70 | } | |
71 | ||
72 | foreach $file (sort keys %wxGTKINCLUDE) { | |
73 | $project{"GTK_HEADERS"} .= "gtk/" . $file . " " | |
74 | } | |
75 | ||
76 | foreach $file (sort keys %wxGENERICINCLUDE) { | |
77 | $project{"GTK_HEADERS"} .= "generic/" . $file . " " | |
78 | } | |
79 | ||
80 | foreach $file (sort keys %wxUNIXINCLUDE) { | |
81 | $project{"GTK_HEADERS"} .= "unix/" . $file . " " | |
82 | } | |
83 | ||
84 | foreach $file (sort keys %wxHTMLINCLUDE) { | |
85 | $project{"GTK_HEADERS"} .= "html/" . $file . " " | |
86 | } | |
87 | ||
88 | foreach $file (sort keys %wxPROTOCOLINCLUDE) { | |
89 | $project{"GTK_HEADERS"} .= "protocol/" . $file . " " | |
90 | } | |
91 | #$} | |
92 | # This file was automatically generated by tmake at #$ Now() | |
93 | # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE GTK.T! | |
94 | ALL_SOURCES = \ | |
95 | #$ ExpandList("GTK_SOURCES"); | |
96 | ||
97 | ALL_HEADERS = \ | |
98 | #$ ExpandList("GTK_HEADERS"); | |
99 | ||
100 | COMMONOBJS = \ | |
101 | #$ ExpandList("COMMONOBJS"); | |
102 | ||
103 | COMMONDEPS = \ | |
104 | #$ ExpandList("COMMONDEPS"); | |
105 | ||
106 | GENERICOBJS = \ | |
107 | #$ ExpandList("GENERICOBJS"); | |
108 | ||
109 | GENERICDEPS = \ | |
110 | #$ ExpandList("GENERICDEPS"); | |
111 | ||
112 | GUIOBJS = \ | |
113 | #$ ExpandList("GUIOBJS"); | |
114 | ||
115 | GUIDEPS = \ | |
116 | #$ ExpandList("GUIDEPS"); | |
117 | ||
118 | UNIXOBJS = \ | |
119 | #$ ExpandList("UNIXOBJS"); | |
120 | ||
121 | UNIXDEPS = \ | |
122 | #$ ExpandList("UNIXDEPS"); | |
123 | ||
124 | HTMLOBJS = \ | |
125 | #$ ExpandList("HTMLOBJS"); | |
126 | ||
127 | HTMLDEPS = \ | |
128 | #$ ExpandList("HTMLDEPS"); | |
129 |