зеркало из https://github.com/github/ruby.git
* ext/extmk.rb.in (create_makefile): use `{$(srcdir)}' directive instead
of `$(srcdir)/' when including depend file. * lib/mkmf.rb (create_makefile): add `{$(srcdir)}' when including depend file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
3fe3e72b17
Коммит
ad8dbab888
|
@ -1,3 +1,11 @@
|
||||||
|
Wed Apr 24 00:37:12 2002 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* ext/extmk.rb.in (create_makefile): use `{$(srcdir)}' directive instead
|
||||||
|
of `$(srcdir)/' when including depend file.
|
||||||
|
|
||||||
|
* lib/mkmf.rb (create_makefile): add `{$(srcdir)}' when including depend
|
||||||
|
file.
|
||||||
|
|
||||||
Fri Apr 19 22:03:40 2002 NAKAMURA Usaku <usa@ruby-lang.org>
|
Fri Apr 19 22:03:40 2002 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* win32/Makefile.sub: add -DNT to $CFLAGS instead of $CPPFLAGS.
|
* win32/Makefile.sub: add -DNT to $CFLAGS instead of $CPPFLAGS.
|
||||||
|
|
|
@ -586,7 +586,7 @@ $(DLLIB): $(OBJS)
|
||||||
mfile.printf "###\n"
|
mfile.printf "###\n"
|
||||||
while line = dfile.gets()
|
while line = dfile.gets()
|
||||||
line.gsub!(/\.o\b/, ".#{$OBJEXT}")
|
line.gsub!(/\.o\b/, ".#{$OBJEXT}")
|
||||||
line.gsub!(/(\s)([^\s\/]+\.[ch])/, '\1$(srcdir)/\2') if /nmake/i =~ $make
|
line.gsub!(/(\s)([^\s\/]+\.[ch])/, '\1{$(srcdir)}\2') if /nmake/i =~ $make
|
||||||
mfile.printf "%s", line.gsub('\$\(hdrdir\)/config.h', '$(topdir)/config.h')
|
mfile.printf "%s", line.gsub('\$\(hdrdir\)/config.h', '$(topdir)/config.h')
|
||||||
end
|
end
|
||||||
dfile.close
|
dfile.close
|
||||||
|
|
|
@ -630,7 +630,8 @@ EOMF
|
||||||
dfile = open(depend, "r")
|
dfile = open(depend, "r")
|
||||||
mfile.printf "###\n"
|
mfile.printf "###\n"
|
||||||
while line = dfile.gets()
|
while line = dfile.gets()
|
||||||
mfile.printf "%s", line.gsub(/\.o\b/, ".#{$OBJEXT}")
|
line.gsub!(/\.o\b/, ".#{$OBJEXT}")
|
||||||
|
mfile.printf "%s", line.gsub(/(\s)([^\s\/]+\.[ch])/, '\1{$(srcdir)}\2') if /nmake/i =~ $make
|
||||||
end
|
end
|
||||||
dfile.close
|
dfile.close
|
||||||
end
|
end
|
||||||
|
|
Загрузка…
Ссылка в новой задаче