X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fapi%2FMakefile.am;h=9c56604dde3f543a3a597d3d92ff7faa5ffa1241;hb=3f8634ae4b443725ed340661a3a9ccdaae2da92f;hp=a4ec1f5424af8b8ff5c7bdd7aeb87ac14c33e069;hpb=8e6c661870cbd78853147ab1f83bbea91cf8263f;p=idzebra-moved-to-github.git diff --git a/test/api/Makefile.am b/test/api/Makefile.am index a4ec1f5..9c56604 100644 --- a/test/api/Makefile.am +++ b/test/api/Makefile.am @@ -1,11 +1,59 @@ +# $Id: Makefile.am,v 1.35 2006-04-27 20:40:41 marc Exp $ -noinst_PROGRAMS = t1 t2 +noinst_PROGRAMS = testclient +testclient_SOURCES = testclient.c -EXTRA_DIST=t1.cfg t2.cfg +simpletests = t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 +safaritests = safari1 +check_PROGRAMS = $(simpletests) $(safaritests) +TESTS = $(check_PROGRAMS) +EXTRA_DIST=zebra.cfg zebra6.cfg zebra8.cfg zebra15.cfg zebrazv.cfg safari.cfg + +noinst_LIBRARIES = libtestlib.a + +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 +t10_SOURCES = t10.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) -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 = 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