IncludeTemplate("filelist.t");
#! find all our sources
- $project{"COMMONOBJS"} .= "parser.o ";
-
foreach $file (sort keys %wxGeneric) {
- next if $wxGeneric{$file} =~ /\bR\b/;
+ next if $wxGeneric{$file} =~ /\bNotGTK\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"GTK_SOURCES"} .= "generic/" . $file . " ";
- $project{"GENERICOBJS"} .= $fileobj . " ";
+ $project{"GUIOBJS"} .= $fileobj . " ";
+
+ #! also add it to the list of object files used by wxUniv if there
+ #! is no file with the same name among wxUniv own objects
+ my $filereal = $file;
+ if ( $file =~ /^([^.]+)g.cpp$/ ) {
+ $filereal = "$1.cpp";
+ }
+ if ( !exists $wxUNIV{$filereal} ) {
+ $project{"GUI_LOWLEVEL_OBJS"} .= $fileobj . " ";
+ }
}
foreach $file (sort keys %wxCommon) {
- next if $wxCommon{$file} =~ /\bR\b/;
+ next if $wxCommon{$file} =~ /\bNotGTK\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
#! find all our headers
foreach $file (sort keys %wxWXINCLUDE) {
- next if $wxWXINCLUDE{$file} =~ /\bR\b/;
+ next if $wxWXINCLUDE{$file} =~ /\bNotGTK\b/;
$project{"GTK_HEADERS"} .= $file . " "
}
}
foreach $file (sort keys %wxGENERICINCLUDE) {
+ next if $wxGENERICINCLUDE{$file} =~ /\bNotGTK\b/;
+
$project{"GTK_HEADERS"} .= "generic/" . $file . " "
}
$project{"GTK_HEADERS"} .= "protocol/" . $file . " "
}
#$}
-# This file was automatically generated by tmake at #$ Now()
+# This file was automatically generated by tmake
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE GTK.T!
ALL_SOURCES = \
#$ ExpandList("GTK_SOURCES");
COMMONOBJS = \
#$ ExpandList("COMMONOBJS");
-GENERICOBJS = \
- #$ ExpandList("GENERICOBJS");
-
GUIOBJS = \
#$ ExpandList("GUIOBJS");