CentOS 5: add logrotate
[pazpar2-moved-to-github.git] / src / Makefile.am
1 # This file is part of Pazpar2.
2
3 sbin_PROGRAMS = pazpar2
4
5 EXTRA_DIST = pazpar2.rpm.init pazpar2.rpm.logrotate
6
7 check_PROGRAMS = \
8       test_sel_thread \
9       test_normalize
10
11 TESTS = $(check_PROGRAMS)
12
13 noinst_LIBRARIES = libpazpar2.a
14
15 MAINTAINERCLEANFILES = Makefile.in cconfig.h 
16
17 CONFIG_CLEAN_FILES=*.log
18
19 AM_CFLAGS = $(YAZINC)
20         
21 libpazpar2_a_SOURCES = pazpar2_config.c pazpar2_config.h eventl.c eventl.h \
22         http.c http_command.c http.h \
23         session.c session.h \
24         record.h record.c reclists.c reclists.h \
25         relevance.c relevance.h termlists.c termlists.h \
26         normalize7bit.h normalize7bit.c \
27         zeerex.c zeerex.h database.c database.h \
28         settings.h settings.c sel_thread.c sel_thread.h getaddrinfo.c \
29         charsets.c charsets.h \
30         client.c client.h connection.c connection.h host.h parameters.h \
31         marcmap.c marcmap.h marchash.c marchash.h \
32         jenkins_hash.c jenkins_hash.h normalize_record.c normalize_record.h \
33         normalize_cache.c normalize_cache.h incref.c incref.h \
34         ppmutex.c ppmutex.h
35
36 pazpar2_SOURCES = pazpar2.c
37 pazpar2_LDADD = libpazpar2.a $(YAZLIB)
38
39 test_sel_thread_SOURCES = test_sel_thread.c
40 test_sel_thread_LDADD = libpazpar2.a $(YAZLIB)
41
42 test_normalize_SOURCES = test_normalize.c
43 test_normalize_LDADD = libpazpar2.a $(YAZLIB)
44