From ae13226414c8afbc5bd9b38b2b4009e258b47210 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 17 Feb 2004 03:12:53 +0000 Subject: * ext/extmk.rb (parse_args): delay expanding $(extout) until invoking make. * lib/mkmf.rb (CLEANLIBS): should remove files have specific extensions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/mkmf.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/mkmf.rb b/lib/mkmf.rb index c117741ee..189c49612 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -868,7 +868,7 @@ DEFFILE = #{deffile} CLEANFILES = #{$cleanfiles.join(' ')} DISTCLEANFILES = #{$distcleanfiles.join(' ')} -extout = #{$extout.sub(/#{Regexp.quote($topdir)}/, '$(topdir)') if $extout} +extout = #{$extout} extout_prefix = #{$extout_prefix} target_prefix = #{target_prefix} LOCAL_LIBS = #{$LOCAL_LIBS} @@ -898,7 +898,7 @@ RUBYARCHDIR = $(sitearchdir)$(target_prefix) } end mfile.print %{ -CLEANLIBS = #{$extout_prefix}$(TARGET).* +CLEANLIBS = #{$extout_prefix}$(TARGET).{#{CONFIG['DLEXT']},#{$LIBEXT},exp,il?,tds,map} CLEANOBJS = *.#{$OBJEXT} *.#{$LIBEXT} *.s[ol] *.pdb *.bak all: #{target ? $extout ? "install" : "$(DLLIB)" : "Makefile"} -- cgit