ruby-changes:36885
From: nobu <ko1@a...>
Date: Wed, 24 Dec 2014 15:58:50 +0900 (JST)
Subject: [ruby-changes:36885] nobu:r48966 (trunk): fiddle: depend rules
nobu 2014-12-24 15:58:34 +0900 (Wed, 24 Dec 2014) New Revision: 48966 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48966 Log: fiddle: depend rules * ext/fiddle/depend: mark PHONY targets, and workaround of unexpected DEPEND_RULES on mswin. Modified files: trunk/ext/fiddle/depend Index: ext/fiddle/depend =================================================================== --- ext/fiddle/depend (revision 48965) +++ ext/fiddle/depend (revision 48966) @@ -15,8 +15,18 @@ $(STATIC_LIB) $(RUBYARCHDIR)/$(DLLIB) $( https://github.com/ruby/ruby/blob/trunk/ext/fiddle/depend#L15 $(OBJS): $(FFI_H) +.PHONY: .FORCE hdr + +.FORCE: + 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) $(CONFIGURE_LIBFFI) @@ -35,10 +45,11 @@ distclean-libffi: https://github.com/ruby/ruby/blob/trunk/ext/fiddle/depend#L45 realclean-libffi: $(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) distclean: distclean-$(LIBFFI_CLEAN) realclean: realclean-$(LIBFFI_CLEAN) -configure: configure-libffi +.PHONY configure: configure-libffi -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/