Update comstack example a bit
[yaz-moved-to-github.git] / ztest / Makefile.am
index f319c89..e63c0b3 100644 (file)
@@ -1,14 +1,17 @@
-## $Id: Makefile.am,v 1.4 2000-11-23 10:58:33 adam Exp $
+## This file is part of the YAZ toolkit.
+## Copyright (C) Index Data
 
 bin_PROGRAMS=yaz-ztest
+noinst_PROGRAMS=gfs-example
 
-yaz_ztest_SOURCES=ztest.c read-grs.c
+yaz_ztest_SOURCES=ztest.c read-grs.c read-marc.c dummy-opac.c ztest.h
+gfs_example_SOURCES=gfs-example.c
 
-EXTRA_DIST=dummy-records dummy-words dummy-grs
+EXTRA_DIST=dummy-words dummy-grs ztest.pem config1.xml
 
-if ISTHR
-extra=../lib/libyazthread.la
-endif
-yaz_ztest_LDADD=$(extra) ../lib/libyaz.la $(LIBTHREAD)
+LDADD=../src/libyaz_server.la ../src/libyaz.la
 
-INCLUDES=-I$(srcdir)/../include
+AM_CPPFLAGS=-I$(top_srcdir)/include $(XML2_CFLAGS)
+
+clean-local:
+       rm -f socket