зеркало из https://github.com/github/ruby.git
157 строки
4.4 KiB
Plaintext
157 строки
4.4 KiB
Plaintext
PWD =
|
|
|
|
CONFIGURE_LIBFFI = \
|
|
$(LIBFFI_CONFIGURE) --disable-shared \
|
|
--host=$(LIBFFI_ARCH) --enable-builddir=$(arch) \
|
|
CC="$(CC)" CFLAGS="$(LIBFFI_CFLAGS)" \
|
|
LD="$(LD)" LDFLAGS="$(LIBFFI_LDFLAGS)"
|
|
|
|
$(STATIC_LIB) $(RUBYARCHDIR)/$(DLLIB) $(DLLIB): $(LIBFFI_A)
|
|
|
|
$(OBJS): $(FFI_H)
|
|
|
|
.PHONY: .FORCE hdr
|
|
|
|
.FORCE:
|
|
|
|
hdr: $(FFI_H)
|
|
|
|
configure-libffi build-libffi: .FORCE
|
|
configure-libffi \
|
|
$(LIBFFI_DIR)/include/ffi.h \
|
|
$(LIBFFI_DIR)/include/ffitarget.h \
|
|
$(LIBFFI_DIR)/fficonfig.h \
|
|
$(LIBFFI_DIR)/Makefile:
|
|
$(Q) $(MAKEDIRS) $(LIBFFI_DIR)
|
|
$(Q) $(CONFIGURE_LIBFFI)
|
|
|
|
build-libffi $(LIBFFI_A):
|
|
$(Q) $(SUBMAKE_PRE) $(MAKE) $(SUBMAKE_ARG)
|
|
|
|
clean-none:
|
|
clean-libffi:
|
|
$(Q) $(SUBMAKE_PRE) $(MAKE) $(SUBMAKE_ARG) clean
|
|
|
|
distclean-none:
|
|
distclean-libffi:
|
|
$(Q) $(SUBMAKE_PRE) $(MAKE) $(SUBMAKE_ARG) distclean
|
|
$(Q) $(RM) $(LIBFFI_DIR)/local.exp
|
|
$(Q) $(RUBY) -rfileutils -e "FileUtils.rmdir(Dir.glob(ARGV[0]+'/**/{,.*/}'), :parents=>true)" $(LIBFFI_DIR)
|
|
|
|
realclean-none:
|
|
realclean-libffi:
|
|
$(Q) $(RMALL) $(LIBFFI_DIR)
|
|
|
|
.PHONY: clean-libffi distclean-libffi realclean-libffi
|
|
.PHONY: clean-none distclean-none realclean-none
|
|
|
|
clean: clean-$(LIBFFI_CLEAN)
|
|
distclean: distclean-$(LIBFFI_CLEAN)
|
|
realclean: realclean-$(LIBFFI_CLEAN)
|
|
|
|
.PHONY: configure configure-libffi
|
|
|
|
# AUTOGENERATED DEPENDENCIES START
|
|
closure.o: $(RUBY_EXTCONF_H)
|
|
closure.o: $(arch_hdrdir)/ruby/config.h
|
|
closure.o: $(hdrdir)/ruby/backward.h
|
|
closure.o: $(hdrdir)/ruby/defines.h
|
|
closure.o: $(hdrdir)/ruby/encoding.h
|
|
closure.o: $(hdrdir)/ruby/intern.h
|
|
closure.o: $(hdrdir)/ruby/io.h
|
|
closure.o: $(hdrdir)/ruby/missing.h
|
|
closure.o: $(hdrdir)/ruby/onigmo.h
|
|
closure.o: $(hdrdir)/ruby/oniguruma.h
|
|
closure.o: $(hdrdir)/ruby/ruby.h
|
|
closure.o: $(hdrdir)/ruby/st.h
|
|
closure.o: $(hdrdir)/ruby/subst.h
|
|
closure.o: $(hdrdir)/ruby/thread.h
|
|
closure.o: $(top_srcdir)/include/ruby.h
|
|
closure.o: $(top_srcdir)/internal.h
|
|
closure.o: closure.c
|
|
closure.o: closure.h
|
|
closure.o: conversions.h
|
|
closure.o: fiddle.h
|
|
closure.o: function.h
|
|
conversions.o: $(RUBY_EXTCONF_H)
|
|
conversions.o: $(arch_hdrdir)/ruby/config.h
|
|
conversions.o: $(hdrdir)/ruby/backward.h
|
|
conversions.o: $(hdrdir)/ruby/defines.h
|
|
conversions.o: $(hdrdir)/ruby/intern.h
|
|
conversions.o: $(hdrdir)/ruby/missing.h
|
|
conversions.o: $(hdrdir)/ruby/ruby.h
|
|
conversions.o: $(hdrdir)/ruby/st.h
|
|
conversions.o: $(hdrdir)/ruby/subst.h
|
|
conversions.o: $(top_srcdir)/include/ruby.h
|
|
conversions.o: closure.h
|
|
conversions.o: conversions.c
|
|
conversions.o: conversions.h
|
|
conversions.o: fiddle.h
|
|
conversions.o: function.h
|
|
fiddle.o: $(RUBY_EXTCONF_H)
|
|
fiddle.o: $(arch_hdrdir)/ruby/config.h
|
|
fiddle.o: $(hdrdir)/ruby/backward.h
|
|
fiddle.o: $(hdrdir)/ruby/defines.h
|
|
fiddle.o: $(hdrdir)/ruby/intern.h
|
|
fiddle.o: $(hdrdir)/ruby/missing.h
|
|
fiddle.o: $(hdrdir)/ruby/ruby.h
|
|
fiddle.o: $(hdrdir)/ruby/st.h
|
|
fiddle.o: $(hdrdir)/ruby/subst.h
|
|
fiddle.o: $(top_srcdir)/include/ruby.h
|
|
fiddle.o: closure.h
|
|
fiddle.o: conversions.h
|
|
fiddle.o: fiddle.c
|
|
fiddle.o: fiddle.h
|
|
fiddle.o: function.h
|
|
function.o: $(RUBY_EXTCONF_H)
|
|
function.o: $(arch_hdrdir)/ruby/config.h
|
|
function.o: $(hdrdir)/ruby/backward.h
|
|
function.o: $(hdrdir)/ruby/defines.h
|
|
function.o: $(hdrdir)/ruby/intern.h
|
|
function.o: $(hdrdir)/ruby/missing.h
|
|
function.o: $(hdrdir)/ruby/ruby.h
|
|
function.o: $(hdrdir)/ruby/st.h
|
|
function.o: $(hdrdir)/ruby/subst.h
|
|
function.o: $(hdrdir)/ruby/thread.h
|
|
function.o: $(top_srcdir)/include/ruby.h
|
|
function.o: closure.h
|
|
function.o: conversions.h
|
|
function.o: fiddle.h
|
|
function.o: function.c
|
|
function.o: function.h
|
|
handle.o: $(RUBY_EXTCONF_H)
|
|
handle.o: $(arch_hdrdir)/ruby/config.h
|
|
handle.o: $(hdrdir)/ruby/backward.h
|
|
handle.o: $(hdrdir)/ruby/defines.h
|
|
handle.o: $(hdrdir)/ruby/intern.h
|
|
handle.o: $(hdrdir)/ruby/missing.h
|
|
handle.o: $(hdrdir)/ruby/ruby.h
|
|
handle.o: $(hdrdir)/ruby/st.h
|
|
handle.o: $(hdrdir)/ruby/subst.h
|
|
handle.o: $(top_srcdir)/include/ruby.h
|
|
handle.o: closure.h
|
|
handle.o: conversions.h
|
|
handle.o: fiddle.h
|
|
handle.o: function.h
|
|
handle.o: handle.c
|
|
pointer.o: $(RUBY_EXTCONF_H)
|
|
pointer.o: $(arch_hdrdir)/ruby/config.h
|
|
pointer.o: $(hdrdir)/ruby/backward.h
|
|
pointer.o: $(hdrdir)/ruby/defines.h
|
|
pointer.o: $(hdrdir)/ruby/encoding.h
|
|
pointer.o: $(hdrdir)/ruby/intern.h
|
|
pointer.o: $(hdrdir)/ruby/io.h
|
|
pointer.o: $(hdrdir)/ruby/missing.h
|
|
pointer.o: $(hdrdir)/ruby/onigmo.h
|
|
pointer.o: $(hdrdir)/ruby/oniguruma.h
|
|
pointer.o: $(hdrdir)/ruby/ruby.h
|
|
pointer.o: $(hdrdir)/ruby/st.h
|
|
pointer.o: $(hdrdir)/ruby/subst.h
|
|
pointer.o: $(top_srcdir)/include/ruby.h
|
|
pointer.o: closure.h
|
|
pointer.o: conversions.h
|
|
pointer.o: fiddle.h
|
|
pointer.o: function.h
|
|
pointer.o: pointer.c
|
|
# AUTOGENERATED DEPENDENCIES END
|