2009-01-18 20:35:57 -05:00
|
|
|
SOCK_HEADERS = $(srcdir)/rubysocket.h $(hdrdir)/ruby/ruby.h $(arch_hdrdir)/ruby/config.h \
|
2012-07-10 09:57:11 -04:00
|
|
|
$(hdrdir)/ruby/defines.h $(hdrdir)/ruby/io.h $(hdrdir)/ruby/thread.h \
|
2011-06-22 08:30:22 -04:00
|
|
|
$(srcdir)/addrinfo.h $(srcdir)/sockport.h constdefs.h $(top_srcdir)/internal.h
|
2009-01-16 23:11:27 -05:00
|
|
|
|
|
|
|
init.o: init.c $(SOCK_HEADERS)
|
2009-01-17 05:19:03 -05:00
|
|
|
constants.o: constants.c constdefs.c $(SOCK_HEADERS)
|
2009-01-16 23:11:27 -05:00
|
|
|
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)
|
2009-02-01 20:53:02 -05:00
|
|
|
option.o: option.c $(SOCK_HEADERS)
|
2009-02-01 21:51:02 -05:00
|
|
|
ancdata.o: ancdata.c $(SOCK_HEADERS)
|
2009-01-16 23:11:27 -05:00
|
|
|
raddrinfo.o: raddrinfo.c $(SOCK_HEADERS)
|
|
|
|
|
2007-06-09 23:06:15 -04:00
|
|
|
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
|
2005-02-28 01:29:52 -05:00
|
|
|
|
2009-01-17 05:19:03 -05:00
|
|
|
constdefs.h constdefs.c : $(srcdir)/mkconstants.rb
|
|
|
|
@echo "generating constant definitions"
|
|
|
|
@$(RUBY) $(srcdir)/mkconstants.rb -H constdefs.h -o constdefs.c
|