]>
Commit | Line | Data |
---|---|---|
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 | ||
18 | foreach $file (sort keys %wxGeneric) { | |
19 | next if $wxGeneric{$file} =~ /\bNotMGL\b/; | |
20 | ||
21 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
22 | ||
23 | $project{"MGL_SOURCES"} .= "generic/" . $file . " "; | |
24 | $project{"GENERICOBJS"} .= $fileobj . " "; | |
25 | } | |
26 | ||
27 | foreach $file (sort keys %wxCommon) { | |
28 | next if $wxCommon{$file} =~ /\bNotMGL\b/; | |
29 | ||
30 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
31 | ||
32 | $project{"MGL_SOURCES"} .= "common/" . $file . " "; | |
33 | $project{"COMMONOBJS"} .= $fileobj . " "; | |
34 | } | |
35 | ||
36 | foreach $file (sort keys %wxMGL) { | |
37 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
38 | ||
39 | $project{"MGL_SOURCES"} .= "mgl/" . $file . " "; | |
40 | #! $project{"GUIOBJS"} .= $fileobj . " "; | |
41 | ||
42 | if ( $wxMGL{$file} =~ /\bL\b/ ) { | |
43 | $project{"GUI_LOWLEVEL_OBJS"} .= $fileobj . " "; | |
44 | } | |
45 | } | |
46 | ||
47 | foreach $file (sort keys %wxUNIX) { | |
48 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
49 | ||
50 | $project{"MGL_SOURCES"} .= "unix/" . $file . " "; | |
51 | $project{"UNIXOBJS"} .= $fileobj . " "; | |
52 | } | |
53 | ||
54 | foreach $file (sort keys %wxHTML) { | |
55 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
56 | ||
57 | $project{"MGL_SOURCES"} .= "html/" . $file . " "; | |
58 | $project{"HTMLOBJS"} .= $fileobj . " "; | |
59 | } | |
60 | ||
61 | #! find all our headers | |
62 | foreach $file (sort keys %wxWXINCLUDE) { | |
63 | $project{"MGL_HEADERS"} .= $file . " " | |
64 | } | |
65 | ||
66 | foreach $file (sort keys %wxGTKINCLUDE) { | |
67 | $project{"MGL_HEADERS"} .= "gtk/" . $file . " " | |
68 | } | |
69 | ||
70 | foreach $file (sort keys %wxGENERICINCLUDE) { | |
71 | $project{"MGL_HEADERS"} .= "generic/" . $file . " " | |
72 | } | |
73 | ||
74 | foreach $file (sort keys %wxUNIXINCLUDE) { | |
75 | $project{"MGL_HEADERS"} .= "unix/" . $file . " " | |
76 | } | |
77 | ||
78 | foreach $file (sort keys %wxHTMLINCLUDE) { | |
79 | $project{"MGL_HEADERS"} .= "html/" . $file . " " | |
80 | } | |
81 | ||
82 | foreach $file (sort keys %wxPROTOCOLINCLUDE) { | |
83 | $project{"MGL_HEADERS"} .= "protocol/" . $file . " " | |
84 | } | |
85 | #$} | |
86 | # This file was automatically generated by tmake at #$ Now() | |
87 | # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE GTK.T! | |
88 | ALL_SOURCES = \ | |
89 | #$ ExpandList("MGL_SOURCES"); | |
90 | ||
91 | ALL_HEADERS = \ | |
92 | #$ ExpandList("MGL_HEADERS"); | |
93 | ||
94 | COMMONOBJS = \ | |
95 | #$ ExpandList("COMMONOBJS"); | |
96 | ||
97 | GENERICOBJS = \ | |
98 | #$ ExpandList("GENERICOBJS"); | |
99 | ||
100 | #!GUIOBJS = \ | |
101 | #! #$ ExpandList("GUIOBJS"); | |
102 | #! | |
103 | GUI_LOWLEVEL_OBJS = \ | |
104 | #$ ExpandList("GUI_LOWLEVEL_OBJS"); | |
105 | ||
106 | UNIXOBJS = \ | |
107 | #$ ExpandList("UNIXOBJS"); | |
108 | ||
109 | HTMLOBJS = \ | |
110 | #$ ExpandList("HTMLOBJS"); | |
111 |