mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
845cfb281b
from ruby_1_8, and made it easy to add new constants. [ruby-dev:25771] * ext/socket/depend: ditto. * ext/socket/mkconstants.rb: ditto. (added) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
9 lines
428 B
Text
9 lines
428 B
Text
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
|
|
|
|
constants.h: $(srcdir)/mkconstants.rb
|
|
@echo "generating constants.h"
|
|
@$(RUBY) $(srcdir)/mkconstants.rb > $@
|