зеркало из https://github.com/github/ruby.git
* ext/dl/depend, ext/dl/extconf.rb, ext/socket/depend,
ext/socket/extconf.rb: shouldn't define DESTCLEANFILES in depend, use $distcleanfiles in extconf.rb. * win32/Makefile.sub (distclean-local): should remove .config.h.time. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
a2f8339f6f
Коммит
0245c7aa16
|
@ -1,3 +1,11 @@
|
||||||
|
Tue Oct 18 10:58:27 2005 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* ext/dl/depend, ext/dl/extconf.rb, ext/socket/depend,
|
||||||
|
ext/socket/extconf.rb: shouldn't define DESTCLEANFILES in depend,
|
||||||
|
use $distcleanfiles in extconf.rb.
|
||||||
|
|
||||||
|
* win32/Makefile.sub (distclean-local): should remove .config.h.time.
|
||||||
|
|
||||||
Mon Oct 17 09:42:50 2005 NAKAMURA Usaku <usa@ruby-lang.org>
|
Mon Oct 17 09:42:50 2005 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* mkconfig.rb: fixup configure_args for mswin32 configure.
|
* mkconfig.rb: fixup configure_args for mswin32 configure.
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
DISTCLEANFILES = $(srcdir)/callback.h
|
|
||||||
|
|
||||||
cfunc.o: cfunc.c dl.h
|
cfunc.o: cfunc.c dl.h
|
||||||
|
|
||||||
cptr.o: cptr.c dl.h
|
cptr.o: cptr.c dl.h
|
||||||
|
|
|
@ -7,6 +7,8 @@ end
|
||||||
$INSTALLFILES = [
|
$INSTALLFILES = [
|
||||||
["dl.h", "$(archdir)$(target_prefix)", ""],
|
["dl.h", "$(archdir)$(target_prefix)", ""],
|
||||||
]
|
]
|
||||||
|
$distcleanfiles = "callback.h"
|
||||||
|
|
||||||
|
|
||||||
check = true
|
check = true
|
||||||
if( have_header("dlfcn.h") )
|
if( have_header("dlfcn.h") )
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
DISTCLEANFILES = $(srcdir)/constants.h
|
|
||||||
|
|
||||||
socket.o: socket.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h $(hdrdir)/rubyio.h $(hdrdir)/rubysig.h sockport.h constants.h
|
socket.o: socket.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h $(hdrdir)/rubyio.h $(hdrdir)/rubysig.h sockport.h constants.h
|
||||||
getnameinfo.o: getnameinfo.c $(topdir)/config.h addrinfo.h sockport.h
|
getnameinfo.o: getnameinfo.c $(topdir)/config.h addrinfo.h sockport.h
|
||||||
getaddrinfo.o: getaddrinfo.c $(topdir)/config.h addrinfo.h sockport.h
|
getaddrinfo.o: getaddrinfo.c $(topdir)/config.h addrinfo.h sockport.h
|
||||||
|
|
|
@ -268,6 +268,8 @@ end
|
||||||
have_header("sys/un.h")
|
have_header("sys/un.h")
|
||||||
have_header("sys/uio.h")
|
have_header("sys/uio.h")
|
||||||
|
|
||||||
|
$distcleanfiles = "constants.h"
|
||||||
|
|
||||||
if have_func(test_func)
|
if have_func(test_func)
|
||||||
have_func("hsterror")
|
have_func("hsterror")
|
||||||
have_func("getipnodebyname") or have_func("gethostbyname2")
|
have_func("getipnodebyname") or have_func("gethostbyname2")
|
||||||
|
|
|
@ -469,7 +469,7 @@ clean-local::
|
||||||
@$(RM) $(RUBY_INSTALL_NAME).res $(RUBYW_INSTALL_NAME).res $(RUBY_SO_NAME).res
|
@$(RM) $(RUBY_INSTALL_NAME).res $(RUBYW_INSTALL_NAME).res $(RUBY_SO_NAME).res
|
||||||
|
|
||||||
distclean-local::
|
distclean-local::
|
||||||
@$(RM) ext\config.cache $(RBCONFIG:/=\)
|
@$(RM) ext\config.cache $(RBCONFIG:/=\) $(CONFIG_H:/=\)
|
||||||
@$(RM) *.map *.pdb *.ilk *.exp $(RUBYDEF)
|
@$(RM) *.map *.pdb *.ilk *.exp $(RUBYDEF)
|
||||||
@$(RM) $(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc
|
@$(RM) $(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче