X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=ztest%2FMakefile.am;h=e544371222a3e12a72789cac43156a54fd25fa48;hb=eb14cf14b5b176a8e2b73ca251d625e47223f116;hp=0fd41426cd44e62dab2db2d74a187aeead7e9bbe;hpb=26d07328e36c41d39216d66d742d133cf7512995;p=yaz-moved-to-github.git diff --git a/ztest/Makefile.am b/ztest/Makefile.am index 0fd4142..e544371 100644 --- a/ztest/Makefile.am +++ b/ztest/Makefile.am @@ -1,14 +1,27 @@ -## $Id: Makefile.am,v 1.5 2001-03-21 15:02:39 adam Exp $ +## $Id: Makefile.am,v 1.10 2002-03-18 21:33:48 adam Exp $ -bin_PROGRAMS=yaz-ztest -yaz_ztest_SOURCES=ztest.c read-grs.c +if ISSSL +sslbin=yaz-ztest-ssl +endif + +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 if ISTHR extra=../lib/libyazthread.la endif -yaz_ztest_LDADD=$(extra) ../lib/libyaz.la $(LIBTHREAD) + +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$(top_srcdir)/include