fixed wxUniv/GTK linking by getting rid of GENERICOBJS and putting them into GUIOBJS/GUI_LOWLEVEL_OBJS instead

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-11-06 16:31:31 +00:00
parent 8b9c59052a
commit 4eb1fe9da6
5 changed files with 340 additions and 251 deletions

View File

@@ -21,7 +21,17 @@
($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) {
@@ -96,9 +106,6 @@ ALL_HEADERS = \
COMMONOBJS = \
#$ ExpandList("COMMONOBJS");
GENERICOBJS = \
#$ ExpandList("GENERICOBJS");
GUIOBJS = \
#$ ExpandList("GUIOBJS");