X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2FMakefile.am;h=156d677e734450449f0f9bc9e94a80ecdb622de6;hb=80655e4b90bbe16ee3e3373ef310267cd5a651a3;hp=7e689a52ed3f720e3cc65476c835b9713196e693;hpb=cc29eab9f928f6cd0f4231cb2e554e2ac7b0b1f3;p=pazpar2-moved-to-github.git diff --git a/src/Makefile.am b/src/Makefile.am index 7e689a5..156d677 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,15 +1,58 @@ -# $Id: Makefile.am,v 1.5 2007-04-10 08:48:56 adam Exp $ +# This file is part of Pazpar2. -bin_PROGRAMS = pazpar2 +sbin_PROGRAMS = pazpar2 +noinst_PROGRAMS = pazpar2_play -MAINTAINERCLEANFILES = Makefile.in cconfig.h +check_PROGRAMS = \ + test_sel_thread \ + test_normalize + +TESTS = $(check_PROGRAMS) + +noinst_LIBRARIES = libpazpar2.a + +CONFIG_CLEAN_FILES=*.log AM_CFLAGS = $(YAZINC) -LDADD = $(YAZLIB) - -pazpar2_SOURCES = config.c config.h eventl.c eventl.h \ - http.c http_command.c http_command.h http.h \ - pazpar2.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 + +libpazpar2_a_SOURCES = \ + charsets.c charsets.h \ + client.c client.h \ + connection.c connection.h \ + database.c database.h \ + eventl.c eventl.h \ + facet_limit.c facet_limit.h \ + getaddrinfo.c \ + host.c host.h \ + http.c http.h http_command.c \ + incref.c incref.h \ + jenkins_hash.c jenkins_hash.h \ + marchash.c marchash.h \ + marcmap.c marcmap.h \ + normalize7bit.c normalize7bit.h \ + normalize_cache.c normalize_cache.h \ + normalize_record.c normalize_record.h \ + parameters.h \ + pazpar2_config.c pazpar2_config.h \ + ppmutex.c ppmutex.h \ + reclists.c reclists.h \ + record.c record.h \ + relevance.c relevance.h \ + sel_thread.c sel_thread.h \ + service_xslt.c service_xslt.h \ + session.c session.h \ + settings.c settings.h \ + termlists.c termlists.h + +pazpar2_SOURCES = pazpar2.c +pazpar2_LDADD = libpazpar2.a $(YAZLIB) + +pazpar2_play_SOURCES = pazpar2_play.c +pazpar2_play_LDADD = $(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) +