+
+#! Now do MSW dir for UNIV
+ foreach $file (sort keys %wxMSW) {
+ next unless $wxMSW{$file} =~ /\b(L|B)\b/;
+
+ $isCFile = $file =~ /\.c$/;
+
+ my $isOleObj = $wxMSW{$file} =~ /\bO\b/;
+ $file =~ s/cp?p?$/obj/;
+ my $obj = "\$(OBJ_PATH)\\" . $file . " ";
+
+ $project{"WXMSWUNIVOBJS"} .= $obj;
+ if ( $isOleObj ) {
+ #! remember that this file is in ole subdir
+ $project{"WXOLEUNIVOBJS"} .= $obj;
+ }
+ $project{"WXCUNIVOBJS"} .= $obj if $isCFile;
+ }
+
+#! Generic Dir for Native Port
+ foreach $file (sort keys %wxGeneric) {
+ my $tag = "";
+ next if $wxGeneric{$file} =~ /\b(PS|G|16|U)\b/;
+
+ $file =~ s/cp?p?$/obj/;
+ $project{"WXGENERICOBJS"} .= "\$(OBJ_PATH)\\" . $file . " "
+ }
+
+#! Generic Dir for UNIV Port
+ foreach $file (sort keys %wxGeneric) {
+ my $filereal = $file;
+ if ( $file =~ /^([^.]+)g.cpp$/ ) {
+ $filereal = "$1.cpp";
+ }
+ $file =~ s/cp?p?$/obj/;
+ $filereal =~ s/cp?p?$/obj/;
+
+ next if $project{"WXMSWUNIVOBJS"} =~ /\b$filereal\b/ ||
+ $project{"WXUNIVOBJS"} =~ /\b$filereal\b/;
+
+
+ $project{"WXGENERICUNIVOBJS"} .= "\$(OBJ_PATH)\\" . $file . " "
+ }
+