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