-# Copyright (C) 1995-2000, Index Data
-# All rights reserved.
-# $Id: Makefile.am,v 1.1 2000-02-28 11:20:06 adam Exp $
+## This file is part of the YAZ toolkit.
+## Copyright (C) 1995-2008 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-records dummy-words dummy-grs ztest.pem config1.xml
-INCLUDES=-I../include
-
-LDADD=../lib/libyaz.a
+LDADD=../src/libyaz_server.la $(PTHREAD_LIBS)
+AM_CPPFLAGS=-I$(top_srcdir)/include $(XML2_CFLAGS)