-# $Id: Makefile.am,v 1.11 2007-04-20 13:03:22 marc Exp $
+# This file is part of Pazpar2.
+
+sbin_PROGRAMS = pazpar2
+noinst_PROGRAMS = pazpar2_play
+
+check_PROGRAMS = \
+ test_sel_thread \
+ test_normalize
-bin_PROGRAMS = pazpar2
-check_PROGRAMS = test_config test_relevance test_sel_thread
TESTS = $(check_PROGRAMS)
noinst_LIBRARIES = libpazpar2.a
-MAINTAINERCLEANFILES = Makefile.in cconfig.h
+CONFIG_CLEAN_FILES=*.log
AM_CFLAGS = $(YAZINC)
-
-libpazpar2_a_SOURCES = config.c config.h eventl.c eventl.h \
- http.c http_command.c http_command.h http.h \
- logic.c pazpar2.h \
- record.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 sel_thread.c sel_thread.h
+
+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)
-test_config_SOURCES = test_config.c
-test_config_LDADD = libpazpar2.a $(YAZLIB)
-
-test_relevance_SOURCES = test_relevance.c
-test_relevance_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)
+