-# $Id: Makefile.am,v 1.4 2004-03-09 18:52:37 adam Exp $
+# $Id: Makefile.am,v 1.8 2006-08-14 10:40:29 adam Exp $
-check_SCRIPTS = test1.sh
+check_PROGRAMS = t1
-TESTS = $(check_SCRIPTS)
+TESTS = $(check_PROGRAMS)
-EXTRA_DIST = zebra.cfg test.sh $(check_SCRIPTS)
+EXTRA_DIST = zebra.cfg test.sh
dist-hook:
mkdir -p $(distdir)/records
mkdir -p $(distdir)/tab
- -cp -p $(srcdir)/records/* $(distdir)/records
- -cp -p $(srcdir)/tab/* $(distdir)/tab
+ -cp $(srcdir)/records/simple-rusmarc $(distdir)/records
+ -cp $(srcdir)/tab/* $(distdir)/tab
+
+t1_SOURCES = t1.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