Fix documentation of of chr's equivalent directive ZEB-672
[idzebra-moved-to-github.git] / test / api / Makefile.am
index e6b398b..0d5aad4 100644 (file)
@@ -1,34 +1,60 @@
-# $Id: Makefile.am,v 1.15 2004-08-30 21:36:53 adam Exp $
 
 noinst_PROGRAMS = testclient
-testclient_SOURCES = testclient.c
+testclient_SOURCES = testclient.c 
 
-check_PROGRAMS = t1 t2 t3 t4 t5 t6
-TESTS = $(check_PROGRAMS)
+check_PROGRAMS = test_start_stop test_result_sets \
+       test_insert_fetch test_search test_trunc test_sort_set \
+       test_rank test_private_attset \
+       test_scan test_create_databases test_resources test_update_record \
+       test_zebra_fork test_special_elements test_icu_indexing \
+       test_safari test_sort1 test_sort2 test_sort3 \
+       test_sortidx
 
-EXTRA_DIST=zebra.cfg zebra6.cfg
+TESTS = $(check_PROGRAMS)
 
-t1_SOURCES = t1.c
-t2_SOURCES = t2.c
-t3_SOURCES = t3.c
-t4_SOURCES = t4.c
-t5_SOURCES = t5.c
-t6_SOURCES = t6.c
+EXTRA_DIST=zebra.cfg test_trunc.cfg test_private_attset.cfg \
+       private_attset.att private_attset.abs test_search.abs \
+       test_zebra_fork.cfg \
+       test_icu_indexing.cfg test_icu_indexing.idx \
+       test_sort1.cfg test_sort1.idx test_sort1.chr sort1.abs \
+       test_sort2.cfg test_sort2.idx test_sort2.chr sort2.abs \
+       test_safari.cfg test_sort3.cfg string.chr
+
+noinst_LIBRARIES = libtestlib.a
+
+libtestlib_a_SOURCES = testlib.c testlib.h
+
+test_start_stop_SOURCES = test_start_stop.c
+test_result_sets_SOURCES = test_result_sets.c
+test_insert_fetch_SOURCES = test_insert_fetch.c
+test_search_SOURCES = test_search.c
+test_trunc_SOURCES = test_trunc.c
+test_sort_set_SOURCES = test_sort_set.c
+test_rank_SOURCES = test_rank.c 
+test_private_attset_SOURCES = test_private_attset.c
+test_scan_SOURCES = test_scan.c
+test_create_databases_SOURCES = test_create_databases.c
+test_resources_SOURCES = test_resources.c
+test_update_record_SOURCES = test_update_record.c
+test_zebra_fork_SOURCES = test_zebra_fork.c
+test_special_elements_SOURCES = test_special_elements.c
+test_icu_indexing_SOURCES = test_icu_indexing.c
+test_safari_SOURCES = test_safari.c 
+test_sort1_SOURCES = test_sort1.c
+test_sort2_SOURCES = test_sort2.c
+test_sort3_SOURCES = test_sort3.c
+test_sortidx_SOURCES = test_sortidx.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
-
-LDADD = $(zebralibs) $(YAZLALIB) $(TCL_LIB)
+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