Build main libidzebra-2.0.la. Bug #620.
[idzebra-moved-to-github.git] / test / api / Makefile.am
index d79b4f5..d4e242a 100644 (file)
@@ -1,21 +1,20 @@
-# $Id: Makefile.am,v 1.26 2004-11-29 21:55:28 adam Exp $
+# $Id: Makefile.am,v 1.37 2006-07-03 14:27:15 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
+simpletests = t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 t11 t12 t13 t14 t15
 safaritests = safari1
-check_PROGRAMS = $(simpletests) $(xpathtests) $(safaritests)
+check_PROGRAMS = $(simpletests) $(safaritests)
 TESTS = $(check_PROGRAMS)
 
-EXTRA_DIST=zebra.cfg zebra6.cfg zebra8.cfg zebrazv.cfg \
- zebraxpath.cfg safari.cfg
+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
@@ -25,30 +24,24 @@ t6_SOURCES = t6.c
 t7_SOURCES = t7.c
 t8_SOURCES = t8.c
 t9_SOURCES = t9.c rankingrecords.h
-t10_SOURCES = t10.c rankingrecords.h
-
-xpath1_SOURCES = xpath1.c
-xpath2_SOURCES = xpath2.c
-xpath3_SOURCES = xpath3.c
-xpath4_SOURCES = xpath4.c
-xpath5_SOURCES = xpath5.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
+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