From 0245c7aa161548fd176794f1b3495cb634b96049 Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 18 Oct 2005 02:01:24 +0000 Subject: * 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 --- ext/dl/depend | 2 -- ext/dl/extconf.rb | 2 ++ ext/socket/depend | 2 -- ext/socket/extconf.rb | 2 ++ 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'ext') diff --git a/ext/dl/depend b/ext/dl/depend index 3d86c3405f..3f05a2f802 100644 --- a/ext/dl/depend +++ b/ext/dl/depend @@ -1,5 +1,3 @@ -DISTCLEANFILES = $(srcdir)/callback.h - cfunc.o: cfunc.c dl.h cptr.o: cptr.c dl.h diff --git a/ext/dl/extconf.rb b/ext/dl/extconf.rb index 6311fc82d1..ef9f09438d 100644 --- a/ext/dl/extconf.rb +++ b/ext/dl/extconf.rb @@ -7,6 +7,8 @@ end $INSTALLFILES = [ ["dl.h", "$(archdir)$(target_prefix)", ""], ] +$distcleanfiles = "callback.h" + check = true if( have_header("dlfcn.h") ) diff --git a/ext/socket/depend b/ext/socket/depend index eab099b0c0..77d5b66559 100644 --- a/ext/socket/depend +++ b/ext/socket/depend @@ -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 getnameinfo.o: getnameinfo.c $(topdir)/config.h addrinfo.h sockport.h getaddrinfo.o: getaddrinfo.c $(topdir)/config.h addrinfo.h sockport.h diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb index b14fa8efbf..00821ccb01 100644 --- a/ext/socket/extconf.rb +++ b/ext/socket/extconf.rb @@ -268,6 +268,8 @@ end have_header("sys/un.h") have_header("sys/uio.h") +$distcleanfiles = "constants.h" + if have_func(test_func) have_func("hsterror") have_func("getipnodebyname") or have_func("gethostbyname2") -- cgit v1.2.3