summaryrefslogtreecommitdiff
path: root/ext/socket
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-10-18 02:01:24 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-10-18 02:01:24 +0000
commit0245c7aa161548fd176794f1b3495cb634b96049 (patch)
treef2760f6150ea08dd8df976faf0864ecf45e91617 /ext/socket
parenta2f8339f6f3ddc665c92cff7a83cea62aa5dea08 (diff)
* 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
Diffstat (limited to 'ext/socket')
-rw-r--r--ext/socket/depend2
-rw-r--r--ext/socket/extconf.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/socket/depend b/ext/socket/depend
index eab099b..77d5b66 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 b14fa8e..00821cc 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")