X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2FMakefile.am;h=54292be390a725b0893622e215dcd00f5d5420c3;hb=781dc14fa1b1efde27ef3befcb2da7ca84045eae;hp=63fd7e42f5502f6689208d5589d472ace8be55f7;hpb=9a660575bb51d190608e5cdec416bb8a9acf3389;p=pazpar2-moved-to-github.git diff --git a/src/Makefile.am b/src/Makefile.am index 63fd7e4..54292be 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,15 +1,42 @@ -# ParaZ. Copyright (C) 2006-2007, Index Data. -# $Id: Makefile.am,v 1.3 2007-03-15 16:50:56 quinn Exp $ +# This file is part of Pazpar2. -bin_PROGRAMS = pazpar2 +sbin_PROGRAMS = pazpar2 -MAINTAINERCLEANFILES = Makefile.in cconfig.h +check_PROGRAMS = \ + test_sel_thread \ + test_normalize -AM_CFLAGS = $(YAZINC) -LDADD = $(YAZLIB) +TESTS = $(check_PROGRAMS) + +noinst_LIBRARIES = libpazpar2.a + +MAINTAINERCLEANFILES = Makefile.in cconfig.h -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 \ +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.h \ + session.c session.h \ + record.h record.c reclists.c reclists.h \ relevance.c relevance.h termlists.c termlists.h \ - util.c util.h zeerex.c zeerex.h database.c database.h + normalize7bit.h normalize7bit.c \ + 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 \ + marcmap.c marcmap.h marchash.c marchash.h \ + jenkins_hash.c jenkins_hash.h normalize_record.c normalize_record.h \ + normalize_cache.c normalize_cache.h incref.c incref.h \ + ppmutex.c ppmutex.h + +pazpar2_SOURCES = pazpar2.c +pazpar2_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) +