Fix 'make dist' due to RPM files being moved
[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 = pazpar2_config.c pazpar2_config.h eventl.c eventl.h \
19         http.c http_command.c http.h \
20         session.c session.h \
21         record.h record.c reclists.c reclists.h \
22         relevance.c relevance.h termlists.c termlists.h \
23         normalize7bit.h normalize7bit.c \
24         zeerex.c zeerex.h database.c database.h \
25         settings.h settings.c sel_thread.c sel_thread.h getaddrinfo.c \
26         charsets.c charsets.h \
27         client.c client.h connection.c connection.h host.h parameters.h \
28         marcmap.c marcmap.h marchash.c marchash.h \
29         jenkins_hash.c jenkins_hash.h normalize_record.c normalize_record.h \
30         normalize_cache.c normalize_cache.h incref.c incref.h \
31         ppmutex.c ppmutex.h
32
33 pazpar2_SOURCES = pazpar2.c
34 pazpar2_LDADD = libpazpar2.a $(YAZLIB)
35
36 pazpar2_play_SOURCES = pazpar2_play.c
37 pazpar2_play_LDADD = $(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