Refactor stuff from logic.c: connection stuff in connection.[ch],
[pazpar2-moved-to-github.git] / src / Makefile.am
1 # $Id: Makefile.am,v 1.15 2007-04-23 21:05:23 adam Exp $
2
3 bin_PROGRAMS = pazpar2
4 check_PROGRAMS = test_config test_record test_relevance test_sel_thread
5 TESTS = $(check_PROGRAMS)
6
7 noinst_LIBRARIES = libpazpar2.a
8
9 MAINTAINERCLEANFILES = Makefile.in cconfig.h 
10
11 CONFIG_CLEAN_FILES=*.log
12
13 AM_CFLAGS = $(YAZINC)
14
15 libpazpar2_a_SOURCES = config.c config.h eventl.c eventl.h \
16         http.c http_command.c http_command.h http.h \
17         logic.c pazpar2.h \
18         record.h record.c reclists.c reclists.h \
19         relevance.c relevance.h termlists.c termlists.h \
20         util.c util.h zeerex.c zeerex.h database.c database.h \
21         settings.h settings.c sel_thread.c sel_thread.h getaddrinfo.c \
22         client.c client.h connection.c connection.h host.h parameters.h
23
24 pazpar2_SOURCES = pazpar2.c
25 pazpar2_LDADD = libpazpar2.a $(YAZLIB)
26
27 test_config_SOURCES = test_config.c
28 test_config_LDADD = libpazpar2.a $(YAZLIB)
29
30 test_relevance_SOURCES = test_relevance.c
31 test_relevance_LDADD = libpazpar2.a $(YAZLIB)
32
33 test_record_SOURCES = test_record.c
34 test_record_LDADD = libpazpar2.a $(YAZLIB)
35
36 test_sel_thread_SOURCES = test_sel_thread.c
37 test_sel_thread_LDADD = libpazpar2.a $(YAZLIB)
38