X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2FMakefile.am;h=53f51bb00c1f91da6a69ea7085444aaa76c8ea78;hb=b660a23f733b863332748bb2705f0050f58566e4;hp=fcf932bad1d12f4a9c90098707fbb2733f5549ea;hpb=1c67f9fb6408afadc117241e01d4963c4ba7e8c1;p=pazpar2-moved-to-github.git diff --git a/src/Makefile.am b/src/Makefile.am index fcf932b..53f51bb 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,15 +1,48 @@ -# ParaZ. Copyright (C) 2006-2007, Index Data. -# $Id: Makefile.am,v 1.2 2007-01-29 03:19:25 quinn Exp $ +# $Id: Makefile.am,v 1.17 2007-04-26 21:33:32 marc Exp $ bin_PROGRAMS = pazpar2 +check_PROGRAMS = test_config \ + test_record \ + test_reclists \ + test_relevance \ + test_sel_thread -MAINTAINERCLEANFILES = Makefile.in cconfig.h + +TESTS = $(check_PROGRAMS) + +noinst_LIBRARIES = libpazpar2.a + +MAINTAINERCLEANFILES = Makefile.in cconfig.h + +CONFIG_CLEAN_FILES=*.log AM_CFLAGS = $(YAZINC) -LDADD = $(YAZLIB) -pazpar2_SOURCES = config.c config.h eventl.c eventl.h \ +libpazpar2_a_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 \ + logic.c pazpar2.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 + 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 \ + client.c client.h connection.c connection.h host.h parameters.h + +pazpar2_SOURCES = pazpar2.c +pazpar2_LDADD = libpazpar2.a $(YAZLIB) + +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) +