]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Make sure vex_svnversion.h is updated after an svn update and declare
authorTom Hughes <tom@compton.nu>
Sat, 20 Aug 2005 16:26:04 +0000 (16:26 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 20 Aug 2005 16:26:04 +0000 (16:26 +0000)
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

coregrind/Makefile.am

index 47a37ba1af2253e76691218780c707739c696acb..dcf13fa192e733e960af74b04ef8fadc4d2dbdee 100644 (file)
@@ -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: