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