mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
28028fc2b9
functions. * ext/socket/rubysocket.h: include constdefs.h. don't declare generated functions. * ext/socket/constants.c: include constdefs.c instead of constants.h. * ext/socket/depend: dependency updated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
23 lines
971 B
Text
23 lines
971 B
Text
SOCK_HEADERS = rubysocket.h $(hdrdir)/ruby/ruby.h $(arch_hdrdir)/ruby/config.h \
|
|
$(hdrdir)/ruby/defines.h $(hdrdir)/ruby/io.h \
|
|
sockport.h constdefs.h
|
|
|
|
init.o: init.c $(SOCK_HEADERS)
|
|
constants.o: constants.c constdefs.c $(SOCK_HEADERS)
|
|
basicsocket.o: basicsocket.c $(SOCK_HEADERS)
|
|
socket.o: socket.c $(SOCK_HEADERS)
|
|
ipsocket.o: ipsocket.c $(SOCK_HEADERS)
|
|
tcpsocket.o: tcpsocket.c $(SOCK_HEADERS)
|
|
tcpserver.o: tcpserver.c $(SOCK_HEADERS)
|
|
sockssocket.o: sockssocket.c $(SOCK_HEADERS)
|
|
udpsocket.o: udpsocket.c $(SOCK_HEADERS)
|
|
unixsocket.o: unixsocket.c $(SOCK_HEADERS)
|
|
unixserver.o: unixserver.c $(SOCK_HEADERS)
|
|
raddrinfo.o: raddrinfo.c $(SOCK_HEADERS)
|
|
|
|
getnameinfo.o: getnameinfo.c $(arch_hdrdir)/ruby/config.h addrinfo.h sockport.h
|
|
getaddrinfo.o: getaddrinfo.c $(arch_hdrdir)/ruby/config.h addrinfo.h sockport.h
|
|
|
|
constdefs.h constdefs.c : $(srcdir)/mkconstants.rb
|
|
@echo "generating constant definitions"
|
|
@$(RUBY) $(srcdir)/mkconstants.rb -H constdefs.h -o constdefs.c
|