156d677e734450449f0f9bc9e94a80ecdb622de6
[pazpar2-moved-to-github.git] / src / Makefile.am
1 # This file is part of Pazpar2.
2
3 sbin_PROGRAMS = pazpar2
4 noinst_PROGRAMS = pazpar2_play
5
6 check_PROGRAMS = \
7       test_sel_thread \
8       test_normalize
9
10 TESTS = $(check_PROGRAMS)
11
12 noinst_LIBRARIES = libpazpar2.a
13
14 CONFIG_CLEAN_FILES=*.log
15
16 AM_CFLAGS = $(YAZINC)
17         
18 libpazpar2_a_SOURCES = \
19         charsets.c charsets.h \
20         client.c client.h \
21         connection.c connection.h \
22         database.c database.h \
23         eventl.c eventl.h \
24         facet_limit.c facet_limit.h \
25         getaddrinfo.c \
26         host.c host.h \
27         http.c http.h http_command.c \
28         incref.c incref.h \
29         jenkins_hash.c jenkins_hash.h \
30         marchash.c marchash.h \
31         marcmap.c marcmap.h \
32         normalize7bit.c normalize7bit.h \
33         normalize_cache.c normalize_cache.h \
34         normalize_record.c normalize_record.h \
35         parameters.h \
36         pazpar2_config.c pazpar2_config.h \
37         ppmutex.c ppmutex.h \
38         reclists.c reclists.h \
39         record.c record.h \
40         relevance.c relevance.h \
41         sel_thread.c sel_thread.h \
42         service_xslt.c service_xslt.h \
43         session.c session.h \
44         settings.c settings.h \
45         termlists.c termlists.h
46
47 pazpar2_SOURCES = pazpar2.c
48 pazpar2_LDADD = libpazpar2.a $(YAZLIB)
49
50 pazpar2_play_SOURCES = pazpar2_play.c
51 pazpar2_play_LDADD = $(YAZLIB)
52
53 test_sel_thread_SOURCES = test_sel_thread.c
54 test_sel_thread_LDADD = libpazpar2.a $(YAZLIB)
55
56 test_normalize_SOURCES = test_normalize.c
57 test_normalize_LDADD = libpazpar2.a $(YAZLIB)
58