fiddle: depend rules
* ext/fiddle/depend: mark PHONY targets, and workaround of unexpected DEPEND_RULES on mswin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a64443987c
commit
0a841035df
@ -15,8 +15,18 @@ $(STATIC_LIB) $(RUBYARCHDIR)/$(DLLIB) $(DLLIB): $(LIBFFI_A)
|
|||||||
|
|
||||||
$(OBJS): $(FFI_H)
|
$(OBJS): $(FFI_H)
|
||||||
|
|
||||||
|
.PHONY: .FORCE hdr
|
||||||
|
|
||||||
|
.FORCE:
|
||||||
|
|
||||||
hdr: $(FFI_H)
|
hdr: $(FFI_H)
|
||||||
configure-libffi $(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) $(MAKEDIRS) $(LIBFFI_DIR)
|
||||||
$(Q) $(CONFIGURE_LIBFFI)
|
$(Q) $(CONFIGURE_LIBFFI)
|
||||||
|
|
||||||
@ -35,10 +45,11 @@ distclean-libffi:
|
|||||||
realclean-libffi:
|
realclean-libffi:
|
||||||
$(Q) $(RMALL) $(LIBFFI_DIR)
|
$(Q) $(RMALL) $(LIBFFI_DIR)
|
||||||
|
|
||||||
clean-none distclean-none realclean-none:
|
.PHONY clean-libffi distclean-libffi realclean-libffi: .FORCE
|
||||||
|
.PHONY clean-none distclean-none realclean-none: .FORCE
|
||||||
|
|
||||||
clean: clean-$(LIBFFI_CLEAN)
|
clean: clean-$(LIBFFI_CLEAN)
|
||||||
distclean: distclean-$(LIBFFI_CLEAN)
|
distclean: distclean-$(LIBFFI_CLEAN)
|
||||||
realclean: realclean-$(LIBFFI_CLEAN)
|
realclean: realclean-$(LIBFFI_CLEAN)
|
||||||
|
|
||||||
configure: configure-libffi
|
.PHONY configure: configure-libffi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user