X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fapi%2FMakefile.am;h=c6d789166f0eadac8d80f017beaf7da5e924367e;hb=a34c87ac6c08ec62534e4068a5bd1fac93df8abe;hp=fb5af8d023578f3861d8422680019b28ac833ef8;hpb=4fc7ec562c1195e99e4f52a7f68807cd6efddda1;p=idzebra-moved-to-github.git diff --git a/test/api/Makefile.am b/test/api/Makefile.am index fb5af8d..c6d7891 100644 --- a/test/api/Makefile.am +++ b/test/api/Makefile.am @@ -1,32 +1,31 @@ -# $Id: Makefile.am,v 1.25 2004-11-01 11:45:39 heikki Exp $ +# $Id: Makefile.am,v 1.27 2004-12-02 14:05:04 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 xpath5 -#check_PROGRAMS = t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 xpath1 -check_PROGRAMS = ${simpletests} ${xpathtests} +safaritests = safari1 +check_PROGRAMS = $(simpletests) $(safaritests) TESTS = $(check_PROGRAMS) -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 -xpath5_SOURCES = xpath5.c testlib.c testlib.h +EXTRA_DIST=zebra.cfg zebra6.cfg zebra8.cfg zebrazv.cfg safari.cfg + +noinst_LIBRARIES = libtestlib.a + +libtestlib_a_SOURCES = testlib.c testlib.h + +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 + +safari1_SOURCES = safari1.c testlib.c AM_CPPFLAGS = -I$(top_srcdir)/include $(YAZINC) @@ -43,5 +42,5 @@ zebralibs = \ ../../dfa/libidzebra-dfa.la \ ../../util/libidzebra-util.la -LDADD = $(zebralibs) $(YAZLALIB) +LDADD = libtestlib.a $(zebralibs) $(YAZLALIB)