From: Adam Dickmeiss Date: Mon, 16 Apr 2007 09:07:57 +0000 (+0000) Subject: Using convenience library libpazpar2.a now. X-Git-Tag: PAZPAR2.1.0.0~292 X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=commitdiff_plain;h=68d74fef590269fbe2b760fae4a8265dd402ea5c;p=pazpar2-moved-to-github.git Using convenience library libpazpar2.a now. --- diff --git a/configure.ac b/configure.ac index 7d12e1c..cef9855 100644 --- a/configure.ac +++ b/configure.ac @@ -14,6 +14,7 @@ AC_CANONICAL_SYSTEM AM_INIT_AUTOMAKE([1.8]) AC_PROG_CC +AC_PROG_RANLIB AC_LANG(C) diff --git a/src/Makefile.am b/src/Makefile.am index 4190e9c..2de3ac3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,15 +1,19 @@ -# $Id: Makefile.am,v 1.6 2007-04-16 09:03:25 adam Exp $ +# $Id: Makefile.am,v 1.7 2007-04-16 09:07:57 adam Exp $ bin_PROGRAMS = pazpar2 +noinst_LIBRARIES = libpazpar2.a + MAINTAINERCLEANFILES = Makefile.in cconfig.h AM_CFLAGS = $(YAZINC) -LDADD = $(YAZLIB) -pazpar2_SOURCES = config.c config.h eventl.c eventl.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.c pazpar2.h reclists.c reclists.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