next;
}
- my $isOle = $wxMSW{$file} =~ /\bO\b/;
+ my $isOleObj = $wxMSW{$file} =~ /\bO\b/;
$file =~ s/cp?p?$/obj/;
- $project{"WXMSWOBJS"} .= ($isOle ? "\$(OLEDIR)\\" : "\$(MSWDIR)\\")
- . $file . " "
+ my $obj = "\$(MSWDIR)\\" . $file . " ";
+
+ $project{"WXMSWOBJS"} .= $obj;
+ if ( $isOleObj ) {
+ #! remember that this file is in ole subdir
+ $project{"WXOLEOBJS"} .= $obj;
+ }
+
}
#$}
my @objs = split;
foreach (@objs) {
$text .= $_ . ": ";
+ if ( $project{"WXOLEOBJS"} =~ /\Q$_/ ) { s/MSWDIR/OLEDIR/; }
s/obj$/\$(SRCSUFF)/;
$text .= $_ . "\n\n";
}
-# This file was automatically generated by tmake at 13:27, 1999/07/26
+# This file was automatically generated by tmake at 15:27, 1999/07/26
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE B32.T!
#
$(MSWDIR)\curico.obj \
$(MSWDIR)\cursor.obj \
$(MSWDIR)\data.obj \
- $(OLEDIR)\dataobj.obj \
+ $(MSWDIR)\dataobj.obj \
$(MSWDIR)\dc.obj \
$(MSWDIR)\dcclient.obj \
$(MSWDIR)\dcmemory.obj \
$(MSWDIR)\dibutils.obj \
$(MSWDIR)\dirdlg.obj \
$(MSWDIR)\dragimag.obj \
- $(OLEDIR)\dropsrc.obj \
- $(OLEDIR)\droptgt.obj \
+ $(MSWDIR)\dropsrc.obj \
+ $(MSWDIR)\droptgt.obj \
$(MSWDIR)\filedlg.obj \
$(MSWDIR)\font.obj \
$(MSWDIR)\fontdlg.obj \
$(MSWDIR)\msgdlg.obj \
$(MSWDIR)\nativdlg.obj \
$(MSWDIR)\notebook.obj \
- $(OLEDIR)\oleutils.obj \
+ $(MSWDIR)\oleutils.obj \
$(MSWDIR)\ownerdrw.obj \
$(MSWDIR)\palette.obj \
$(MSWDIR)\pen.obj \
$(MSWDIR)\treectrl.obj \
$(MSWDIR)\utils.obj \
$(MSWDIR)\utilsexc.obj \
- $(OLEDIR)\uuid.obj \
+ $(MSWDIR)\uuid.obj \
$(MSWDIR)\wave.obj \
$(MSWDIR)\window.obj \
$(MSWDIR)\xpmhand.obj
$(MSWDIR)\data.obj: $(MSWDIR)\data.$(SRCSUFF)
-$(OLEDIR)\dataobj.obj: $(OLEDIR)\dataobj.$(SRCSUFF)
+$(MSWDIR)\dataobj.obj: $(OLEDIR)\dataobj.$(SRCSUFF)
$(MSWDIR)\dc.obj: $(MSWDIR)\dc.$(SRCSUFF)
$(MSWDIR)\dragimag.obj: $(MSWDIR)\dragimag.$(SRCSUFF)
-$(OLEDIR)\dropsrc.obj: $(OLEDIR)\dropsrc.$(SRCSUFF)
+$(MSWDIR)\dropsrc.obj: $(OLEDIR)\dropsrc.$(SRCSUFF)
-$(OLEDIR)\droptgt.obj: $(OLEDIR)\droptgt.$(SRCSUFF)
+$(MSWDIR)\droptgt.obj: $(OLEDIR)\droptgt.$(SRCSUFF)
$(MSWDIR)\filedlg.obj: $(MSWDIR)\filedlg.$(SRCSUFF)
$(MSWDIR)\notebook.obj: $(MSWDIR)\notebook.$(SRCSUFF)
-$(OLEDIR)\oleutils.obj: $(OLEDIR)\oleutils.$(SRCSUFF)
+$(MSWDIR)\oleutils.obj: $(OLEDIR)\oleutils.$(SRCSUFF)
$(MSWDIR)\ownerdrw.obj: $(MSWDIR)\ownerdrw.$(SRCSUFF)
$(MSWDIR)\utilsexc.obj: $(MSWDIR)\utilsexc.$(SRCSUFF)
-$(OLEDIR)\uuid.obj: $(OLEDIR)\uuid.$(SRCSUFF)
+$(MSWDIR)\uuid.obj: $(OLEDIR)\uuid.$(SRCSUFF)
$(MSWDIR)\wave.obj: $(MSWDIR)\wave.$(SRCSUFF)