Build main libidzebra-2.0.la. Bug #620.
[idzebra-moved-to-github.git] / test / api / Makefile.am
1 # $Id: Makefile.am,v 1.37 2006-07-03 14:27:15 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 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 t11_SOURCES = t11.c
28 t12_SOURCES = t12.c
29 t13_SOURCES = t13.c
30 t14_SOURCES = t14.c
31 t15_SOURCES = t15.c
32
33 safari1_SOURCES = safari1.c testlib.c
34
35 AM_CPPFLAGS = -I$(top_srcdir)/include $(YAZINC)
36
37 zebralibs = ../../$(main_zebralib)
38
39 LDADD = libtestlib.a $(zebralibs) $(YAZLALIB)
40
41 clean-local:
42         -rm -rf *.LCK 
43         -rm -rf *.log 
44         -rm -rf *.mf 
45         -rm -rf register/*.LCK 
46         -rm -rf register/*.log 
47         -rm -rf register/*.mf