X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=ztest%2FMakefile.am;h=1f17acb8f54c75945309c2cfceade836ccc6fb27;hb=65efc4dd0a947e1b4620d93c88d771b83bc32dac;hp=ae45708ee8752303fbf71ce37fd766996e805265;hpb=7acd51b7cdffca5ad92a777d2c6e8e9bae1f9fd3;p=yaz-moved-to-github.git diff --git a/ztest/Makefile.am b/ztest/Makefile.am index ae45708..1f17acb 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.11 2002-04-15 09:44:44 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