-# $Id: Makefile.am,v 1.2 2003-05-21 14:39:22 adam Exp $
-check_SCRIPTS = test1.sh
+check_PROGRAMS = test_sort1
-TESTS = $(check_SCRIPTS)
+TESTS = $(check_PROGRAMS)
-EXTRA_DIST = zebra.cfg rec1.xml rec2.xml rec3.xml zebra.cfg my.abs \
- $(check_SCRIPTS)
+EXTRA_DIST = test_sort1.cfg test_sort1.idx test_sort1.chr \
+ test_sort1_rec.xml sort1.abs
+test_sort1_SOURCES = test_sort1.c
+
+AM_CPPFLAGS = -I$(top_srcdir)/include $(YAZINC)
+
+LDADD = ../api/libtestlib.a ../../$(main_zebralib) $(YAZLALIB)
+
+clean-local:
+ -rm -rf *.LCK
+ -rm -rf *.log
+ -rm -rf *.mf