X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fapi%2FMakefile.am;h=52a7d316747b623314bce15a48c0a870369dfc9c;hb=6ba9698e88c0283e40fa5980a1a6b551fff2d597;hp=9c958455a22fe0451e5b980f5d4aa1f1b76fd52f;hpb=e172ced0dcc937dfc433a33c7e20962b9e6b5ea0;p=idzebra-moved-to-github.git diff --git a/test/api/Makefile.am b/test/api/Makefile.am index 9c95845..52a7d31 100644 --- a/test/api/Makefile.am +++ b/test/api/Makefile.am @@ -1,31 +1,36 @@ -# $Id: Makefile.am,v 1.24 2004-10-29 14:30:27 heikki Exp $ +# $Id: Makefile.am,v 1.36 2006-05-19 13:49:35 adam Exp $ noinst_PROGRAMS = testclient testclient_SOURCES = testclient.c -simpletests = t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 -xpathtests= xpath1 xpath2 xpath3 xpath4 -#check_PROGRAMS = t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 xpath1 -check_PROGRAMS = ${simpletests} ${xpathtests} +simpletests = t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 t11 t12 t13 t14 t15 +safaritests = safari1 +check_PROGRAMS = $(simpletests) $(safaritests) TESTS = $(check_PROGRAMS) -EXTRA_DIST=zebra.cfg zebra6.cfg zebra8.cfg zebrazv.cfg zebraxpath.cfg +EXTRA_DIST=zebra.cfg zebra6.cfg zebra8.cfg zebra15.cfg zebrazv.cfg safari.cfg -t1_SOURCES = t1.c testlib.c testlib.h -t2_SOURCES = t2.c testlib.c testlib.h -t3_SOURCES = t3.c testlib.c testlib.h -t4_SOURCES = t4.c testlib.c testlib.h -t5_SOURCES = t5.c testlib.c testlib.h -t6_SOURCES = t6.c testlib.c testlib.h -t7_SOURCES = t7.c testlib.c testlib.h -t8_SOURCES = t8.c testlib.c testlib.h -t9_SOURCES = t9.c testlib.c testlib.h rankingrecords.h -t10_SOURCES = t10.c testlib.c testlib.h rankingrecords.h +noinst_LIBRARIES = libtestlib.a -xpath1_SOURCES = xpath1.c testlib.c testlib.h -xpath2_SOURCES = xpath2.c testlib.c testlib.h -xpath3_SOURCES = xpath3.c testlib.c testlib.h -xpath4_SOURCES = xpath4.c testlib.c testlib.h +libtestlib_a_SOURCES = testlib.c testlib.h + +t0_SOURCES = t0.c +t1_SOURCES = t1.c +t2_SOURCES = t2.c +t3_SOURCES = t3.c +t4_SOURCES = t4.c +t5_SOURCES = t5.c +t6_SOURCES = t6.c +t7_SOURCES = t7.c +t8_SOURCES = t8.c +t9_SOURCES = t9.c rankingrecords.h +t11_SOURCES = t11.c +t12_SOURCES = t12.c +t13_SOURCES = t13.c +t14_SOURCES = t14.c +t15_SOURCES = t15.c + +safari1_SOURCES = safari1.c testlib.c AM_CPPFLAGS = -I$(top_srcdir)/include $(YAZINC) @@ -42,5 +47,12 @@ zebralibs = \ ../../dfa/libidzebra-dfa.la \ ../../util/libidzebra-util.la -LDADD = $(zebralibs) $(YAZLALIB) +LDADD = libtestlib.a $(zebralibs) $(YAZLALIB) +clean-local: + -rm -rf *.LCK + -rm -rf *.log + -rm -rf *.mf + -rm -rf register/*.LCK + -rm -rf register/*.log + -rm -rf register/*.mf