9c56604dde3f543a3a597d3d92ff7faa5ffa1241
[idzebra-moved-to-github.git] / test / api / Makefile.am
1 # $Id: Makefile.am,v 1.35 2006-04-27 20:40:41 marc Exp $
2
3 noinst_PROGRAMS = testclient
4 testclient_SOURCES = testclient.c 
5
6 simpletests = t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15
7 safaritests = safari1
8 check_PROGRAMS = $(simpletests) $(safaritests)
9 TESTS = $(check_PROGRAMS)
10
11 EXTRA_DIST=zebra.cfg zebra6.cfg zebra8.cfg zebra15.cfg zebrazv.cfg safari.cfg
12
13 noinst_LIBRARIES = libtestlib.a
14
15 libtestlib_a_SOURCES = testlib.c testlib.h
16
17 t0_SOURCES = t0.c
18 t1_SOURCES = t1.c
19 t2_SOURCES = t2.c
20 t3_SOURCES = t3.c
21 t4_SOURCES = t4.c
22 t5_SOURCES = t5.c
23 t6_SOURCES = t6.c
24 t7_SOURCES = t7.c
25 t8_SOURCES = t8.c
26 t9_SOURCES = t9.c rankingrecords.h
27 t10_SOURCES = t10.c rankingrecords.h
28 t11_SOURCES = t11.c
29 t12_SOURCES = t12.c
30 t13_SOURCES = t13.c
31 t14_SOURCES = t14.c
32 t15_SOURCES = t15.c
33
34 safari1_SOURCES = safari1.c testlib.c
35
36 AM_CPPFLAGS = -I$(top_srcdir)/include $(YAZINC)
37
38 zebralibs = \
39  ../../index/libidzebra-api.la \
40  ../../rset/libidzebra-rset.la \
41  ../../recctrl/libidzebra-recctrl.la \
42  ../../dict/libidzebra-dict.la  \
43  ../../isams/libidzebra-isams.la \
44  ../../isamc/libidzebra-isamc.la \
45  ../../isamb/libidzebra-isamb.la \
46  ../../data1/libidzebra-data1.la \
47  ../../bfile/libidzebra-bfile.la \
48  ../../dfa/libidzebra-dfa.la \
49  ../../util/libidzebra-util.la
50
51 LDADD = libtestlib.a $(zebralibs) $(YAZLALIB)
52
53 clean-local:
54         -rm -rf *.LCK 
55         -rm -rf *.log 
56         -rm -rf *.mf 
57         -rm -rf register/*.LCK 
58         -rm -rf register/*.log 
59         -rm -rf register/*.mf