--- testsuite/Makefile.am.orig	2012-03-02 03:05:50.000000000 -0800
+++ testsuite/Makefile.am	2012-03-02 03:10:34.000000000 -0800
@@ -97,9 +97,10 @@
 #wavelet_2d_CFLAGS = $(SCHRO_CFLAGS)
 #wavelet_2d_LDADD = $(SCHRO_LIBS)
 wavelet_2d_SOURCES = wavelet_2d.c
-nodist_wavelet_2d_SOURCES = $(top_srcdir)/schroedinger/tmp-orc.c
+nodist_wavelet_2d_SOURCES = $(top_builddir)/schroedinger/tmp-orc.c
 
 wavelet_max_gain_SOURCES = wavelet_max_gain.c
+nodist_wavelet_max_gain_SOURCES = $(top_builddir)/schroedinger/tmp-orc.c
 
 wavelet_noise_2d_SOURCES = wavelet_noise_2d.c
 
@@ -118,7 +119,7 @@
 #quant_CFLAGS = 
 #quant_LDADD = -lm
 quant_SOURCES = quant.c
-nodist_quant_SOURCES = $(top_srcdir)/schroedinger/tmp-orc.c
+nodist_quant_SOURCES = $(top_builddir)/schroedinger/tmp-orc.c
 
 #sort_CFLAGS = $(SCHRO_CFLAGS)
 #sort_LDADD = $(SCHRO_LIBS)
