This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix libffi build-after-changes (automake multilib bug?)


I needed this patch in order for libffi to be properly rebuilt after
making changes to its sources.  I suspect automake should add these
deps itself, it doesn't, so after an initial build, even if you change
something, nothing gets further built.

I'm checking this in.  Tested on x86_64-linux-gnu.

for  libffi/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>

	* Makefile.am (all-recursive, install-recursive,
	mostlyclean-recursive, clean-recursive, distclean-recursive,
	maintainer-clean-recursive): Add missing targets.
	* Makefile.in: Rebuilt.

Index: libffi/Makefile.am
===================================================================
--- libffi/Makefile.am.orig	2007-01-17 22:25:09.000000000 -0200
+++ libffi/Makefile.am	2007-01-17 22:32:56.000000000 -0200
@@ -166,3 +166,10 @@ AM_CCASFLAGS = $(AM_CPPFLAGS)
 .PHONY: install-html
 install-html:
 
+# Multilib support.  Automake should provide these on its own.
+all-recursive: all-multi
+install-recursive: install-multi
+mostlyclean-recursive: mostlyclean-multi
+clean-recursive: clean-multi
+distclean-recursive: distclean-multi
+maintainer-clean-recursive: maintainer-clean-multi
Index: libffi/Makefile.in
===================================================================
--- libffi/Makefile.in.orig	2007-01-17 22:25:09.000000000 -0200
+++ libffi/Makefile.in	2007-01-17 22:32:56.000000000 -0200
@@ -1344,6 +1344,14 @@ uninstall-info: uninstall-info-recursive
 # No install-html support
 .PHONY: install-html
 install-html:
+
+# Multilib support.  Automake should provide these on its own.
+all-recursive: all-multi
+install-recursive: install-multi
+mostlyclean-recursive: mostlyclean-multi
+clean-recursive: clean-multi
+distclean-recursive: distclean-multi
+maintainer-clean-recursive: maintainer-clean-multi
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
-- 
Alexandre Oliva         http://www.lsd.ic.unicamp.br/~oliva/
FSF Latin America Board Member         http://www.fsfla.org/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]