1.1 --- a/librazor/Makefile.am Thu Mar 12 20:22:52 2009 +0000
1.2 +++ b/librazor/Makefile.am Wed Apr 22 15:09:17 2009 +0100
1.3 @@ -12,8 +12,9 @@
1.4 -DPACKAGE_LIB_DIR=\""$(libdir)"\"
1.5
1.6 lib_LTLIBRARIES = librazor.la
1.7 +check_PROGRAMS = test-hashtable
1.8 if HAVE_LUA
1.9 - check_PROGRAMS = test-lua
1.10 + check_PROGRAMS += test-lua
1.11 endif
1.12
1.13 librazorincludedir = $(includedir)/razor
1.14 @@ -41,12 +42,17 @@
1.15 librazor_la_LIBADD = $(ZLIB_LIBS) $(LUA_LIBS) ../gl/libgnu.la $(EXTRA_LIBS)
1.16 librazor_la_LDFLAGS = -no-undefined
1.17
1.18 +test_hashtable_SOURCES = test-hashtable.c
1.19 +test_hashtable_LDADD = types.lo ../gl/libgnu.la $(EXTRA_LIBS)
1.20 +
1.21 +TESTS = test-hashtable
1.22 +
1.23 if HAVE_LUA
1.24 test_lua_SOURCES = test-lua.c
1.25 test_lua_LDADD = lua.lo util.lo $(LUA_LIBS) ../gl/libgnu.la \
1.26 $(EXTRA_LIBS)
1.27
1.28 - TESTS = test-lua
1.29 + TESTS += test-lua
1.30 endif
1.31
1.32 EXTRA_DIST = \