3c5f376c890fe98e81e138b953b247c2a9706e50
[idzebra-moved-to-github.git] / test / api / Makefile.am
1 # $Id: Makefile.am,v 1.40 2006-11-16 12:48:28 adam 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 t16
7 safaritests = safari1
8 check_PROGRAMS = $(simpletests) $(safaritests)
9 TESTS = $(check_PROGRAMS)
10
11 EXTRA_DIST=zebra.cfg zebra6.cfg zebra8.cfg zebra10.cfg zebra15.cfg safari.cfg \
12         t10.att t10.abs
13
14 noinst_LIBRARIES = libtestlib.a
15
16 libtestlib_a_SOURCES = testlib.c testlib.h
17
18 t0_SOURCES = t0.c
19 t1_SOURCES = t1.c
20 t2_SOURCES = t2.c
21 t3_SOURCES = t3.c
22 t4_SOURCES = t4.c
23 t5_SOURCES = t5.c
24 t6_SOURCES = t6.c
25 t7_SOURCES = t7.c
26 t8_SOURCES = t8.c
27 t9_SOURCES = t9.c rankingrecords.h
28 t10_SOURCES = t10.c
29 t11_SOURCES = t11.c
30 t12_SOURCES = t12.c
31 t13_SOURCES = t13.c
32 t14_SOURCES = t14.c
33 t15_SOURCES = t15.c
34 t16_SOURCES = t16.c
35
36 safari1_SOURCES = safari1.c testlib.c
37
38 AM_CPPFLAGS = -I$(top_srcdir)/include $(YAZINC)
39
40 zebralibs = ../../$(main_zebralib)
41
42 LDADD = libtestlib.a $(zebralibs) $(YAZLALIB)
43
44 clean-local:
45         -rm -rf *.LCK 
46         -rm -rf *.log 
47         -rm -rf *.mf 
48         -rm -rf register/*.LCK 
49         -rm -rf register/*.log 
50         -rm -rf register/*.mf