summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-08 05:31:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-08 05:31:02 +0000
commitebbe6782c6ca1d07008b05b3a064bee27ebf88a6 (patch)
treeabd1600aef8bb9a65621834d4a9677c93a4a4db8 /ext
parent774420eba03beeed4ac8b99a28f271b3dfa312dc (diff)
separate constdefs.c and constdefs.h
* ext/socket/depend: separate constdefs.c and constdefs.h so that only one process will run when parallel building. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/socket/depend4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/socket/depend b/ext/socket/depend
index 616edaa..41b0040 100644
--- a/ext/socket/depend
+++ b/ext/socket/depend
@@ -3,10 +3,12 @@ srcs: constdefs.h constdefs.c
getnameinfo.o: getnameinfo.c $(arch_hdrdir)/ruby/config.h addrinfo.h sockport.h rubysocket.h
getaddrinfo.o: getaddrinfo.c $(arch_hdrdir)/ruby/config.h addrinfo.h sockport.h
-constdefs.h constdefs.c : $(srcdir)/mkconstants.rb
+constdefs.h: $(srcdir)/mkconstants.rb
@echo "generating constant definitions"
@$(RUBY) $(srcdir)/mkconstants.rb -H constdefs.h -o constdefs.c
+constdefs.c: constdefs.h
+
# AUTOGENERATED DEPENDENCIES START
ancdata.o: $(RUBY_EXTCONF_H)
ancdata.o: $(arch_hdrdir)/ruby/config.h