X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fapi%2FMakefile.am;h=c641b5feac3a6b00afb9cd85469434da772583bc;hb=c401b3a1421e31b3d6b77bc7bac6ffb934207df1;hp=0bd1cac9da4406e6a2ac060e408e8748a77d4426;hpb=2fefff35eeb40ba802bb3ee11674a6037b84659c;p=idzebra-moved-to-github.git diff --git a/test/api/Makefile.am b/test/api/Makefile.am index 0bd1cac..c641b5f 100644 --- a/test/api/Makefile.am +++ b/test/api/Makefile.am @@ -1,13 +1,21 @@ -# $Id: Makefile.am,v 1.20 2004-10-28 10:37:15 heikki Exp $ +# $Id: Makefile.am,v 1.39 2006-10-23 09:31:48 adam Exp $ noinst_PROGRAMS = testclient -testclient_SOURCES = testclient.c +testclient_SOURCES = testclient.c -check_PROGRAMS = t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 +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 +EXTRA_DIST=zebra.cfg zebra6.cfg zebra8.cfg zebra10.cfg zebra15.cfg safari.cfg \ + t10.att t10.abs +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 @@ -16,23 +24,26 @@ t5_SOURCES = t5.c t6_SOURCES = t6.c t7_SOURCES = t7.c t8_SOURCES = t8.c -t9_SOURCES = t9.c testlib.c -t10_SOURCES = t10.c testlib.c +t9_SOURCES = t9.c rankingrecords.h +t10_SOURCES = t10.c +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) -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) +zebralibs = ../../$(main_zebralib) + +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