]> git.saurik.com Git - wxWidgets.git/blame - distrib/msw/tmake/gtk.t
Temporary ugly trick to make release for OpenWatcom possible.
[wxWidgets.git] / distrib / msw / tmake / gtk.t
CommitLineData
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
2224580a 16 foreach $file (sort keys %wxGeneric) {
49f72157 17 next if $wxGeneric{$file} =~ /\bNotGTK\b/;
2224580a
VZ
18
19 ($fileobj = $file) =~ s/cp?p?$/\o/;
2224580a
VZ
20
21 $project{"GTK_SOURCES"} .= "generic/" . $file . " ";
4eb1fe9d
VZ
22 $project{"GUIOBJS"} .= $fileobj . " ";
23
24 #! also add it to the list of object files used by wxUniv if there
25 #! is no file with the same name among wxUniv own objects
26 my $filereal = $file;
27 if ( $file =~ /^([^.]+)g.cpp$/ ) {
28 $filereal = "$1.cpp";
29 }
30 if ( !exists $wxUNIV{$filereal} ) {
31 $project{"GUI_LOWLEVEL_OBJS"} .= $fileobj . " ";
32 }
2224580a
VZ
33 }
34
35 foreach $file (sort keys %wxCommon) {
49f72157 36 next if $wxCommon{$file} =~ /\bNotGTK\b/;
2224580a
VZ
37
38 ($fileobj = $file) =~ s/cp?p?$/\o/;
2224580a
VZ
39
40 $project{"GTK_SOURCES"} .= "common/" . $file . " ";
41 $project{"COMMONOBJS"} .= $fileobj . " ";
2224580a
VZ
42 }
43
44 foreach $file (sort keys %wxGTK) {
45 ($fileobj = $file) =~ s/cp?p?$/\o/;
2224580a
VZ
46
47 $project{"GTK_SOURCES"} .= "gtk/" . $file . " ";
48 $project{"GUIOBJS"} .= $fileobj . " ";
1e6feb95
VZ
49
50 if ( $wxGTK{$file} =~ /\bL\b/ ) {
51 $project{"GUI_LOWLEVEL_OBJS"} .= $fileobj . " ";
1e6feb95 52 }
2224580a
VZ
53 }
54
55 foreach $file (sort keys %wxUNIX) {
56 ($fileobj = $file) =~ s/cp?p?$/\o/;
2224580a
VZ
57
58 $project{"GTK_SOURCES"} .= "unix/" . $file . " ";
59 $project{"UNIXOBJS"} .= $fileobj . " ";
2224580a
VZ
60 }
61
62 foreach $file (sort keys %wxHTML) {
63 ($fileobj = $file) =~ s/cp?p?$/\o/;
2224580a
VZ
64
65 $project{"GTK_SOURCES"} .= "html/" . $file . " ";
66 $project{"HTMLOBJS"} .= $fileobj . " ";
2224580a 67 }
1e6feb95 68
2224580a
VZ
69 #! find all our headers
70 foreach $file (sort keys %wxWXINCLUDE) {
49f72157 71 next if $wxWXINCLUDE{$file} =~ /\bNotGTK\b/;
7529690d 72
2224580a
VZ
73 $project{"GTK_HEADERS"} .= $file . " "
74 }
75
76 foreach $file (sort keys %wxGTKINCLUDE) {
77 $project{"GTK_HEADERS"} .= "gtk/" . $file . " "
78 }
79
80 foreach $file (sort keys %wxGENERICINCLUDE) {
50b4dd1c
VZ
81 next if $wxGENERICINCLUDE{$file} =~ /\bNotGTK\b/;
82
2224580a
VZ
83 $project{"GTK_HEADERS"} .= "generic/" . $file . " "
84 }
85
86 foreach $file (sort keys %wxUNIXINCLUDE) {
87 $project{"GTK_HEADERS"} .= "unix/" . $file . " "
88 }
89
90 foreach $file (sort keys %wxHTMLINCLUDE) {
91 $project{"GTK_HEADERS"} .= "html/" . $file . " "
92 }
93
94 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
95 $project{"GTK_HEADERS"} .= "protocol/" . $file . " "
96 }
97#$}
0f04dbf3 98# This file was automatically generated by tmake
2224580a
VZ
99# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE GTK.T!
100ALL_SOURCES = \
101 #$ ExpandList("GTK_SOURCES");
102
103ALL_HEADERS = \
104 #$ ExpandList("GTK_HEADERS");
105
106COMMONOBJS = \
107 #$ ExpandList("COMMONOBJS");
108
2224580a
VZ
109GUIOBJS = \
110 #$ ExpandList("GUIOBJS");
111
1e6feb95
VZ
112GUI_LOWLEVEL_OBJS = \
113 #$ ExpandList("GUI_LOWLEVEL_OBJS");
114
2224580a
VZ
115UNIXOBJS = \
116 #$ ExpandList("UNIXOBJS");
117
2224580a
VZ
118HTMLOBJS = \
119 #$ ExpandList("HTMLOBJS");
120