Fix Last minute change
[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 CONFIG_CLEAN_FILES=*.log
16
17 AM_CFLAGS = $(YAZINC)
18         
19 libpazpar2_a_SOURCES = pazpar2_config.c pazpar2_config.h eventl.c eventl.h \
20         http.c http_command.c http.h \
21         session.c session.h \
22         record.h record.c reclists.c reclists.h \
23         relevance.c relevance.h termlists.c termlists.h \
24         normalize7bit.h normalize7bit.c \
25         zeerex.c zeerex.h database.c database.h \
26         settings.h settings.c sel_thread.c sel_thread.h getaddrinfo.c \
27         charsets.c charsets.h \
28         client.c client.h connection.c connection.h host.h parameters.h \
29         marcmap.c marcmap.h marchash.c marchash.h \
30         jenkins_hash.c jenkins_hash.h normalize_record.c normalize_record.h \
31         normalize_cache.c normalize_cache.h incref.c incref.h \
32         ppmutex.c ppmutex.h
33
34 pazpar2_SOURCES = pazpar2.c
35 pazpar2_LDADD = libpazpar2.a $(YAZLIB)
36
37 test_sel_thread_SOURCES = test_sel_thread.c
38 test_sel_thread_LDADD = libpazpar2.a $(YAZLIB)
39
40 test_normalize_SOURCES = test_normalize.c
41 test_normalize_LDADD = libpazpar2.a $(YAZLIB)
42