X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=ztest%2FMakefile.am;h=21b2e8ae1bfd8d7ef7ff0b35ff90e233d2e5bdb3;hb=e1efa4cdf426e7eb952584ed4b9d3b818c8ff070;hp=ae45708ee8752303fbf71ce37fd766996e805265;hpb=7acd51b7cdffca5ad92a777d2c6e8e9bae1f9fd3;p=yaz-moved-to-github.git diff --git a/ztest/Makefile.am b/ztest/Makefile.am index ae45708..21b2e8a 100644 --- a/ztest/Makefile.am +++ b/ztest/Makefile.am @@ -1,11 +1,26 @@ -## $Id: Makefile.am,v 1.3 2000-04-05 07:39:55 adam Exp $ +## $Id: Makefile.am,v 1.14 2003-02-18 10:37:08 adam Exp $ -bin_PROGRAMS=yaz-ztest +if ISSSL +sslbin=yaz-ztest-ssl +endif -yaz_ztest_SOURCES=ztest.c read-grs.c +bin_PROGRAMS=yaz-ztest $(sslbin) + +yaz_ztest_SOURCES=ztest.c read-grs.c read-marc.c +yaz_ztest_ssl_SOURCES=$(yaz_ztest_SOURCES) EXTRA_DIST=dummy-records dummy-words dummy-grs -yaz_ztest_LDADD=../lib/libyaz.la +if ISTHR +extra=../lib/libyazthread.la +endif + +yaz_ztest_LDADD=$(extra) ../lib/libyaz.la \ + $(LIBTHREAD) + +yaz_ztest_ssl_LDADD=$(extra) ../lib/libyazssl.la ../lib/libyaz.la \ + $(SSL_LIBS) $(LIBTHREAD) + +AM_CFLAGS=@CFLAGSTHREADS@ -INCLUDES=-I$(srcdir)/../include +AM_CPPFLAGS=-I$(top_srcdir)/include $(XML2_CFLAGS)