Build for Ubuntu precise, no build for maverick
[idzebra-moved-to-github.git] / test / xpath / Makefile.am
index 194cd31..2180244 100644 (file)
@@ -1,8 +1,22 @@
-# $Id: Makefile.am,v 1.5 2004-01-15 13:31:31 adam Exp $
 
-check_SCRIPTS = simple1.sh test1.sh test2.sh test3.sh test4.sh
+check_PROGRAMS = xpath1 xpath2 xpath3 xpath4 xpath5 xpath6
 
-TESTS = $(check_SCRIPTS)
+TESTS = $(check_PROGRAMS)
 
-EXTRA_DIST = zebra.cfg rec.xml simple1.xml rec4.xml $(check_SCRIPTS)
+EXTRA_DIST=zebra.cfg rec1.xml rec2.xml assembled.abs
 
+xpath1_SOURCES = xpath1.c
+xpath2_SOURCES = xpath2.c
+xpath3_SOURCES = xpath3.c
+xpath4_SOURCES = xpath4.c
+xpath5_SOURCES = xpath5.c
+xpath6_SOURCES = xpath6.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