Fixed bug reported by Stuart Midgley about what happens when there are no
[awesomized/libmemcached] / tests / Makefile.am
index 25b1962e3ab5a18206a89190d0cbaf83e9dbfb06..dc84803e4f8aa2e1e2e8c810d97755f945ef1e6e 100644 (file)
@@ -1,4 +1,4 @@
-INCLUDES = -I$(top_builddir)/include
+INCLUDES = -I$(top_builddir)/include -I$(top_builddir)/lib
 LDADDS = ../lib/libmemcached.la
 
 EXTRA_DIST = output.res output2.res\
@@ -15,9 +15,10 @@ EXTRA_DIST = output.res output2.res\
 
 LIBS = 
 
+noinst_HEADERS = test.h
 noinst_PROGRAMS = testapp
 
-testapp_SOURCES = test.c
+testapp_SOURCES = test.c function.c ../src/generator.c ../src/execute.c
 testapp_LDADD = $(LDADDS)
 
 record:
@@ -51,6 +52,3 @@ test-extended: testapp
 
 valgrind:
        libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes  testapp
-
-valgrind-extended:
-       libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes  testapp extended