From: Tom Hughes Date: Sat, 20 Aug 2005 16:26:04 +0000 (+0000) Subject: Make sure vex_svnversion.h is updated after an svn update and declare X-Git-Tag: svn/VALGRIND_3_1_0~553 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=596e2787a51f2e4954a9d4defe819504e4761221;p=thirdparty%2Fvalgrind.git Make sure vex_svnversion.h is updated after an svn update and declare the libvex.a target as phone to ensure that we always try and rebuild it in case there have been changed in the VEX code. The partially fixes bug #110770. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4473 --- diff --git a/coregrind/Makefile.am b/coregrind/Makefile.am index 47a37ba1af..dcf13fa192 100644 --- a/coregrind/Makefile.am +++ b/coregrind/Makefile.am @@ -1,6 +1,8 @@ include $(top_srcdir)/Makefile.all.am include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am +.PHONY: @VEX_DIR@/libvex.a + MODULES = \ m_aspacemgr \ m_debuginfo \ @@ -200,7 +202,7 @@ stage2.lds: Makefile @VEX_DIR@/libvex.a: @VEX_DIR@/priv/main/vex_svnversion.h $(MAKE) -C @VEX_DIR@ libvex.a EXTRA_CFLAGS="@ARCH_CORE_AM_CFLAGS@ @PIE_AM_CFLAGS@" -@VEX_DIR@/priv/main/vex_svnversion.h: +@VEX_DIR@/priv/main/vex_svnversion.h: $(wildcard @VEX_DIR@/.svn/entries) $(MAKE) -C @VEX_DIR@ version clean-local: