diff options
author | Tom Rondeau <trondeau@vt.edu> | 2010-12-08 17:00:38 -0500 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2010-12-08 17:00:38 -0500 |
commit | 1cc88091470dd4654b6936cda92d81841e135209 (patch) | |
tree | bbf2b7c4b3fa7746a301146143cef02099d376d6 /volk/include | |
parent | 46d55649012e4fb2838a6f8e9f3c9226ea8b2d50 (diff) |
volk: more changes to build system so that VPATH builds properly and project makes distcheck.
Diffstat (limited to 'volk/include')
-rw-r--r-- | volk/include/volk/make_set_simd.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/volk/include/volk/make_set_simd.py b/volk/include/volk/make_set_simd.py index c35aa06fa2..03c2b2d8f0 100644 --- a/volk/include/volk/make_set_simd.py +++ b/volk/include/volk/make_set_simd.py @@ -12,7 +12,7 @@ def make_set_simd(dom) : tempstring = tempstring + " (x86)\n"; tempstring = tempstring + " case \"$MD_SUBCPU\" in\n"; tempstring = tempstring + " (x86)\n"; - tempstring = tempstring + " if test -z \"`${CC} -o proccpu -I ./include/ -I./lib lib/volk_proccpu_sim.c lib/volk_cpu_x86.c lib/cpuid_x86.S 2>&1`\"\n"; + tempstring = tempstring + " if test -z \"`${CC} -o proccpu -I $srcdir/include/ -I$srcdir/lib $srcdir/lib/volk_proccpu_sim.c $srcdir/lib/volk_cpu_x86.c $srcdir/lib/cpuid_x86.S`\"\n"; tempstring = tempstring + " then\n"; tempstring = tempstring + " AC_MSG_RESULT(yes)\n"; tempstring = tempstring + " lv_PROCCPU=\"`./proccpu`\"\n"; @@ -23,7 +23,7 @@ def make_set_simd(dom) : tempstring = tempstring + " fi\n" tempstring = tempstring + " ;;\n" tempstring = tempstring + " (*)\n" - tempstring = tempstring + " if test -z \"`${CC} -o proccpu -I ./include/ -I./lib lib/volk_proccpu_sim.c lib/volk_cpu_x86.c lib/cpuid_x86_64.S 2>&1`\"\n"; + tempstring = tempstring + " if test -z \"`${CC} -o proccpu -I$srcdir/include/ -I$srcdir/lib $srcdir/lib/volk_proccpu_sim.c $srcdir/lib/volk_cpu_x86.c $srcdir/lib/cpuid_x86_64.S`\"\n"; tempstring = tempstring + " then\n"; tempstring = tempstring + " AC_MSG_RESULT(yes)\n"; tempstring = tempstring + " lv_PROCCPU=\"`./proccpu`\"\n"; @@ -36,7 +36,7 @@ def make_set_simd(dom) : tempstring = tempstring + " esac\n" tempstring = tempstring + " ;;\n"; tempstring = tempstring + " (powerpc)\n"; - tempstring = tempstring + " if test -z \"`${CC} -o proccpu -I ./include/ lib/volk_proccpu_sim.c lib/volk_cpu_powerpc.c 2>&1`\"\n"; + tempstring = tempstring + " if test -z \"`${CC} -o proccpu -I$srcdir/include/ $srcdir/lib/volk_proccpu_sim.c $srcdir/lib/volk_cpu_powerpc.c 2>&1`\"\n"; tempstring = tempstring + " then\n"; tempstring = tempstring + " AC_MSG_RESULT(yes)\n"; tempstring = tempstring + " lv_PROCCPU=\"`./proccpu`\"\n"; @@ -47,7 +47,7 @@ def make_set_simd(dom) : tempstring = tempstring + " fi\n" tempstring = tempstring + " ;;\n"; tempstring = tempstring + " (*)\n"; - tempstring = tempstring + " if test -z \"`${CC} -o proccpu -I ./include/ lib/volk_proccpu_sim.c lib/volk_cpu_generic.c 2>&1`\"\n"; + tempstring = tempstring + " if test -z \"`${CC} -o proccpu -I$srcdir/include/ $srcdir/lib/volk_proccpu_sim.c $srcdir/lib/volk_cpu_generic.c 2>&1`\"\n"; tempstring = tempstring + " then\n"; tempstring = tempstring + " AC_MSG_RESULT(yes)\n"; tempstring = tempstring + " lv_PROCCPU=\"`./proccpu`\"\n"; |