X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fapi%2FMakefile.am;h=9c958455a22fe0451e5b980f5d4aa1f1b76fd52f;hb=e172ced0dcc937dfc433a33c7e20962b9e6b5ea0;hp=a4ec1f5424af8b8ff5c7bdd7aeb87ac14c33e069;hpb=8e6c661870cbd78853147ab1f83bbea91cf8263f;p=idzebra-moved-to-github.git diff --git a/test/api/Makefile.am b/test/api/Makefile.am index a4ec1f5..9c95845 100644 --- a/test/api/Makefile.am +++ b/test/api/Makefile.am @@ -1,11 +1,46 @@ +# $Id: Makefile.am,v 1.24 2004-10-29 14:30:27 heikki Exp $ -noinst_PROGRAMS = t1 t2 +noinst_PROGRAMS = testclient +testclient_SOURCES = testclient.c -EXTRA_DIST=t1.cfg t2.cfg +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} +TESTS = $(check_PROGRAMS) -t1_SOURCES = t1.c -t2_SOURCES = t2.c +EXTRA_DIST=zebra.cfg zebra6.cfg zebra8.cfg zebrazv.cfg zebraxpath.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 + +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 AM_CPPFLAGS = -I$(top_srcdir)/include $(YAZINC) -LDADD = ../../index/libzebra.a $(YAZLIB) $(TCL_LIB) +zebralibs = \ + ../../index/libidzebra-api.la \ + ../../rset/libidzebra-rset.la \ + ../../recctrl/libidzebra-recctrl.la \ + ../../dict/libidzebra-dict.la \ + ../../isams/libidzebra-isams.la \ + ../../isamc/libidzebra-isamc.la \ + ../../isamb/libidzebra-isamb.la \ + ../../data1/libidzebra-data1.la \ + ../../bfile/libidzebra-bfile.la \ + ../../dfa/libidzebra-dfa.la \ + ../../util/libidzebra-util.la + +LDADD = $(zebralibs) $(YAZLALIB) +