Implement pazpar2_play utility
[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 EXTRA_DIST = pazpar2.rpm.init pazpar2.rpm.logrotate
7
8 check_PROGRAMS = \
9       test_sel_thread \
10       test_normalize
11
12 TESTS = $(check_PROGRAMS)
13
14 noinst_LIBRARIES = libpazpar2.a
15
16 CONFIG_CLEAN_FILES=*.log
17
18 AM_CFLAGS = $(YAZINC)
19         
20 libpazpar2_a_SOURCES = pazpar2_config.c pazpar2_config.h eventl.c eventl.h \
21         http.c http_command.c http.h \
22         session.c session.h \
23         record.h record.c reclists.c reclists.h \
24         relevance.c relevance.h termlists.c termlists.h \
25         normalize7bit.h normalize7bit.c \
26         zeerex.c zeerex.h database.c database.h \
27         settings.h settings.c sel_thread.c sel_thread.h getaddrinfo.c \
28         charsets.c charsets.h \
29         client.c client.h connection.c connection.h host.h parameters.h \
30         marcmap.c marcmap.h marchash.c marchash.h \
31         jenkins_hash.c jenkins_hash.h normalize_record.c normalize_record.h \
32         normalize_cache.c normalize_cache.h incref.c incref.h \
33         ppmutex.c ppmutex.h
34
35 pazpar2_SOURCES = pazpar2.c
36 pazpar2_LDADD = libpazpar2.a $(YAZLIB)
37
38 pazpar2_play_SOURCES = pazpar2_play.c
39 pazpar2_play_LDADD = $(YAZLIB)
40
41 test_sel_thread_SOURCES = test_sel_thread.c
42 test_sel_thread_LDADD = libpazpar2.a $(YAZLIB)
43
44 test_normalize_SOURCES = test_normalize.c
45 test_normalize_LDADD = libpazpar2.a $(YAZLIB)
46