2019-11-22 12:39:39 +03:00
|
|
|
$(TARGET_SO) $(STATIC_LIB): $(FAILURES:.cpp=.failed)
|
2019-09-19 16:09:43 +03:00
|
|
|
|
2019-11-22 12:39:39 +03:00
|
|
|
.SUFFIXES: .failed
|
|
|
|
|
|
|
|
.cpp.failed:
|
2019-09-20 10:55:16 +03:00
|
|
|
$(Q)$(RUBY) -rfileutils \
|
2019-09-20 11:05:52 +03:00
|
|
|
-e "t = ARGV.shift" \
|
|
|
|
-e "err = IO.popen(ARGV, err:[:child, :out], &:read)" \
|
2019-09-20 10:55:16 +03:00
|
|
|
-e "abort err unless /rb_define_method/ =~ err" \
|
2019-11-22 12:39:39 +03:00
|
|
|
-e "File.write(t, err)" $@ $(MAKE) $(*F).o
|
2019-09-19 16:09:43 +03:00
|
|
|
|
2019-09-07 11:48:02 +03:00
|
|
|
# AUTOGENERATED DEPENDENCIES START
|
|
|
|
cxxanyargs.o: $(RUBY_EXTCONF_H)
|
|
|
|
cxxanyargs.o: $(arch_hdrdir)/ruby/config.h
|
|
|
|
cxxanyargs.o: $(hdrdir)/ruby/assert.h
|
|
|
|
cxxanyargs.o: $(hdrdir)/ruby/backward.h
|
|
|
|
cxxanyargs.o: $(hdrdir)/ruby/backward/cxxanyargs.hpp
|
|
|
|
cxxanyargs.o: $(hdrdir)/ruby/defines.h
|
|
|
|
cxxanyargs.o: $(hdrdir)/ruby/intern.h
|
|
|
|
cxxanyargs.o: $(hdrdir)/ruby/missing.h
|
|
|
|
cxxanyargs.o: $(hdrdir)/ruby/ruby.h
|
|
|
|
cxxanyargs.o: $(hdrdir)/ruby/st.h
|
|
|
|
cxxanyargs.o: $(hdrdir)/ruby/subst.h
|
|
|
|
cxxanyargs.o: cxxanyargs.cpp
|
|
|
|
# AUTOGENERATED DEPENDENCIES END
|