mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
socket/depend: add srcs [ci skip]
* ext/socket/depend (srcs): phony target to update confdefs source files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
38cb576b9c
commit
f0dc29f211
2 changed files with 6 additions and 4 deletions
|
@ -925,15 +925,15 @@ $(srcdir)/ext/rbconfig/sizeof/sizes.c: $(srcdir)/ext/rbconfig/sizeof/depend \
|
|||
$(srcdir)/tool/generic_erb.rb $(srcdir)/template/sizes.c.tmpl $(srcdir)/configure.in
|
||||
$(ECHO) generating $@
|
||||
$(Q) $(CHDIR) $(@D) && \
|
||||
sed '/AUTOGENERATED/q;s#{.*}##' depend | \
|
||||
sed '/AUTOGENERATED/q' depend | \
|
||||
$(exec) $(MAKE) -f - $(MFLAGS) \
|
||||
Q=$(Q) ECHO=$(ECHO) top_srcdir=../../.. srcdir=. VPATH=../../.. RUBY="$(BASERUBY)"
|
||||
|
||||
$(srcdir)/ext/socket/constdefs.c: $(srcdir)/ext/socket/depend
|
||||
$(Q) $(CHDIR) $(@D) && \
|
||||
sed -n "/^constdefs/,/^$$/p" depend | \
|
||||
$(exec) $(MAKE) -f - $(MFLAGS) constdefs.h constdefs.c \
|
||||
Q=$(Q) ECHO=$(ECHO) top_srcdir=../../.. srcdir=. VPATH=../../.. RUBY="$(BASERUBY)"
|
||||
sed '/AUTOGENERATED/q' depend | \
|
||||
$(exec) $(MAKE) -f - $(MFLAGS) \
|
||||
Q=$(Q) ECHO=$(ECHO) top_srcdir=../.. srcdir=. VPATH=../.. RUBY="$(BASERUBY)"
|
||||
|
||||
##
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue