X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=src%2FMakefile.am;h=a3c24c29ab18f2dc8b069d03f0d38f7d5f4612a2;hb=dbcf2c3410ed74d919efdc62ffbd00e716284d8e;hp=4190e9cc95a05bc96d120c5457e46c425d0164f0;hpb=beea258a9423652de5dba16306551df31fc5519e;p=pazpar2-moved-to-github.git diff --git a/src/Makefile.am b/src/Makefile.am index 4190e9c..a3c24c2 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,15 +1,38 @@ -# $Id: Makefile.am,v 1.6 2007-04-16 09:03:25 adam Exp $ +# $Id: Makefile.am,v 1.15 2007-04-23 21:05:23 adam Exp $ bin_PROGRAMS = pazpar2 +check_PROGRAMS = test_config test_record test_relevance test_sel_thread +TESTS = $(check_PROGRAMS) -MAINTAINERCLEANFILES = Makefile.in cconfig.h +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 \ - logic.c 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 database.c database.h \ - settings.h settings.c + 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_relevance_SOURCES = test_relevance.c +test_relevance_LDADD = libpazpar2.a $(YAZLIB) + +test_record_SOURCES = test_record.c +test_record_LDADD = libpazpar2.a $(YAZLIB) + +test_sel_thread_SOURCES = test_sel_thread.c +test_sel_thread_LDADD = libpazpar2.a $(YAZLIB) +