-## $Id: Makefile.am,v 1.4 2000-11-23 10:58:33 adam Exp $
+## $Id: Makefile.am,v 1.20 2005-09-09 10:34:09 adam Exp $
bin_PROGRAMS=yaz-ztest
-yaz_ztest_SOURCES=ztest.c read-grs.c
+yaz_ztest_SOURCES=ztest.c read-grs.c read-marc.c
-EXTRA_DIST=dummy-records dummy-words dummy-grs
+EXTRA_DIST=dummy-records dummy-words dummy-grs ztest.pem config1.xml
-if ISTHR
-extra=../lib/libyazthread.la
-endif
-yaz_ztest_LDADD=$(extra) ../lib/libyaz.la $(LIBTHREAD)
+yaz_ztest_LDADD=../src/libyaz.la
-INCLUDES=-I$(srcdir)/../include
+AM_CFLAGS=$(THREAD_CFLAGS)
+
+AM_CPPFLAGS=-I$(top_srcdir)/include $(XML2_CFLAGS)