[前][次][番号順一覧][スレッド一覧]

ruby-changes:45528

From: nobu <ko1@a...>
Date: Sat, 11 Feb 2017 19:33:10 +0900 (JST)
Subject: [ruby-changes:45528] nobu:r57601 (trunk): fiddle/depend: build-libffi

nobu	2017-02-11 19:33:05 +0900 (Sat, 11 Feb 2017)

  New Revision: 57601

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57601

  Log:
    fiddle/depend: build-libffi
    
    * ext/fiddle/depend (build-libffi): get rid of making $(LIBFFI_A)
      a sole target, which may be empty when installed libffi is
      found.

  Modified files:
    trunk/ext/fiddle/depend
Index: ext/fiddle/depend
===================================================================
--- ext/fiddle/depend	(revision 57600)
+++ ext/fiddle/depend	(revision 57601)
@@ -25,30 +25,25 @@ $(LIBFFI_DIR)/Makefile: https://github.com/ruby/ruby/blob/trunk/ext/fiddle/depend#L25
 	$(Q) $(MAKEDIRS) $(LIBFFI_DIR)
 	$(Q) $(CONFIGURE_LIBFFI)
 
-build-libffi: $(LIBFFI_A)
-$(LIBFFI_A):
+build-libffi $(LIBFFI_A):
 	$(Q) $(SUBMAKE_PRE) $(MAKE) $(SUBMAKE_ARG)
 
 clean-none:
 clean-libffi:
-libffi/clean: libffi/clean
 	$(Q) $(SUBMAKE_PRE) $(MAKE) $(SUBMAKE_ARG) clean
 
 distclean-none:
-distclean-libffi: libffi/distclean
-libffi/distclean:
+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: libffi/realclean
-libffi/realclean:
+realclean-libffi:
 	$(Q) $(RMALL) $(LIBFFI_DIR)
 
 .PHONY: clean-libffi distclean-libffi realclean-libffi
 .PHONY: clean-none distclean-none realclean-none
-.PHONY: libffi/clean libffi/distclean libffi/realclean
 
 clean: clean-$(LIBFFI_CLEAN)
 distclean: distclean-$(LIBFFI_CLEAN)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]