X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2FMakefile.am;h=d027124038f8b270cc634113bc6da25fca6955f0;hb=2819110732a5e3cdc6de71333977ff39d7cf8bf3;hp=2de3ac3389eb4eb2c38fcb6cc597444c221117d8;hpb=68d74fef590269fbe2b760fae4a8265dd402ea5c;p=pazpar2-moved-to-github.git diff --git a/src/Makefile.am b/src/Makefile.am index 2de3ac3..d027124 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,19 +1,54 @@ -# $Id: Makefile.am,v 1.7 2007-04-16 09:07:57 adam Exp $ +# This file is part of Pazpar2. -bin_PROGRAMS = pazpar2 +sbin_PROGRAMS = pazpar2 + +check_PROGRAMS = test_config \ + test_record \ + test_reclists \ + test_relevance \ + test_sel_thread \ + test_normalize + +TESTS = $(check_PROGRAMS) noinst_LIBRARIES = libpazpar2.a -MAINTAINERCLEANFILES = Makefile.in cconfig.h +MAINTAINERCLEANFILES = Makefile.in cconfig.h + +CONFIG_CLEAN_FILES=*.log AM_CFLAGS = $(YAZINC) + +libpazpar2_a_SOURCES = pazpar2_config.c pazpar2_config.h eventl.c eventl.h \ + http.c http_command.c http_command.h http.h \ + logic.c pazpar2.h \ + record.h record.c reclists.c reclists.h \ + relevance.c relevance.h termlists.c termlists.h \ + normalize7bit.h normalize7bit.c \ + util.c util.h zeerex.c zeerex.h database.c database.h \ + settings.h settings.c sel_thread.c sel_thread.h getaddrinfo.c \ + charsets.c charsets.h \ + client.c client.h connection.c connection.h host.h parameters.h \ + dirent.c direntz.h pazpar2_SOURCES = pazpar2.c pazpar2_LDADD = libpazpar2.a $(YAZLIB) -libpazpar2_a_SOURCES = config.c config.h eventl.c eventl.h \ - http.c http_command.c http_command.h http.h \ - logic.c pazpar2.h reclists.c reclists.h \ - relevance.c relevance.h termlists.c termlists.h \ - util.c util.h zeerex.c zeerex.h database.c database.h \ - settings.h settings.c +test_config_SOURCES = test_config.c +test_config_LDADD = libpazpar2.a $(YAZLIB) + +test_record_SOURCES = test_record.c +test_record_LDADD = libpazpar2.a $(YAZLIB) + +test_reclists_SOURCES = test_reclists.c +test_reclists_LDADD = libpazpar2.a $(YAZLIB) + +test_relevance_SOURCES = test_relevance.c +test_relevance_LDADD = libpazpar2.a $(YAZLIB) + +test_sel_thread_SOURCES = test_sel_thread.c +test_sel_thread_LDADD = libpazpar2.a $(YAZLIB) + +test_normalize_SOURCES = test_normalize.c +test_normalize_LDADD = libpazpar2.a $(YAZLIB) +