From: Julian Seward Date: Thu, 8 Mar 2007 01:52:37 +0000 (+0000) Subject: Horrible hacks to make 'make dist' work properly. Previously it only X-Git-Tag: svn/VALGRIND_3_3_0~332 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5f8a2ddd11c460b386584d9297edfaf29d5fe92c;p=thirdparty%2Fvalgrind.git Horrible hacks to make 'make dist' work properly. Previously it only worked on systems when the configure script found a usable mpicc, bizarrely. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6634 --- diff --git a/auxprogs/Makefile.am b/auxprogs/Makefile.am index 28f97b5f6a..e554e9c16d 100644 --- a/auxprogs/Makefile.am +++ b/auxprogs/Makefile.am @@ -105,26 +105,32 @@ if BUILD_MPIWRAP_SEC endif -## And some hacks for 'make dist' +## And some hacks to keep 'make dist' happy. ## It would seem that using nodist_SOURCES is the right fix, but ## I can't figure out how to do it. ## -if BUILD_MPIWRAP_PRI #nodist_SOURCES = libmpiwrap-@VG_PLATFORM_PRI@.c -libmpiwrap-@VG_PLATFORM_PRI@.c: - rm -f libmpiwrap-@VG_PLATFORM_PRI@.c - touch libmpiwrap-@VG_PLATFORM_PRI@.c +#nodist_SOURCES = libmpiwrap-@VG_PLATFORM_SEC@.c + libmpiwrap-.c: rm -f libmpiwrap-.c touch libmpiwrap-.c -endif -if BUILD_MPIWRAP_SEC -#nodist_SOURCES = libmpiwrap-@VG_PLATFORM_SEC@.c + +libmpiwrap-@VG_PLATFORM_PRI@.c: + rm -f libmpiwrap-@VG_PLATFORM_PRI@.c + touch libmpiwrap-@VG_PLATFORM_PRI@.c + +if VGP_HAVE_SECONDARY libmpiwrap-@VG_PLATFORM_SEC@.c: rm -f libmpiwrap-@VG_PLATFORM_SEC@.c touch libmpiwrap-@VG_PLATFORM_SEC@.c endif +## cleanery +clean-local: + rm -f libmpiwrap-.c \ + libmpiwrap-@VG_PLATFORM_PRI@.c libmpiwrap-@VG_PLATFORM_SEC@.c + # #----------------------------------------------------------