2b3ab512cb37f65f2d83c3230abe09ba17f337aa
[pazpar2-moved-to-github.git] / src / Makefile.am
1 # This file is part of Pazpar2.
2
3 sbin_PROGRAMS = pazpar2
4
5 check_PROGRAMS = test_config \
6       test_record \
7       test_sel_thread \
8       test_normalize
9
10 TESTS = $(check_PROGRAMS)
11
12 noinst_LIBRARIES = libpazpar2.a
13
14 MAINTAINERCLEANFILES = Makefile.in cconfig.h 
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         logic.c pazpar2.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         util.c util.h 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         dirent.c direntz.h
31
32 pazpar2_SOURCES = pazpar2.c
33 pazpar2_LDADD = libpazpar2.a $(YAZLIB)
34
35 test_config_SOURCES = test_config.c
36 test_config_LDADD = libpazpar2.a $(YAZLIB)
37
38 test_record_SOURCES = test_record.c
39 test_record_LDADD = libpazpar2.a $(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