Using the ICU wrapper from YAZ rather than its own.
[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_reclists \
8       test_relevance \
9       test_sel_thread \
10       test_normalize
11
12 TESTS = $(check_PROGRAMS)
13
14 noinst_LIBRARIES = libpazpar2.a
15
16 MAINTAINERCLEANFILES = Makefile.in cconfig.h 
17
18 CONFIG_CLEAN_FILES=*.log
19
20 AM_CFLAGS = $(YAZINC)
21         
22 libpazpar2_a_SOURCES = pazpar2_config.c pazpar2_config.h eventl.c eventl.h \
23         http.c http_command.c http_command.h http.h \
24         logic.c pazpar2.h \
25         record.h record.c reclists.c reclists.h \
26         relevance.c relevance.h termlists.c termlists.h \
27         normalize7bit.h normalize7bit.c \
28         util.c util.h zeerex.c zeerex.h database.c database.h \
29         settings.h settings.c sel_thread.c sel_thread.h getaddrinfo.c \
30         charsets.c charsets.h \
31         client.c client.h connection.c connection.h host.h parameters.h \
32         dirent.c direntz.h
33
34 pazpar2_SOURCES = pazpar2.c
35 pazpar2_LDADD = libpazpar2.a $(YAZLIB)
36
37 test_config_SOURCES = test_config.c
38 test_config_LDADD = libpazpar2.a $(YAZLIB)
39
40 test_record_SOURCES = test_record.c
41 test_record_LDADD = libpazpar2.a $(YAZLIB)
42
43 test_reclists_SOURCES = test_reclists.c
44 test_reclists_LDADD = libpazpar2.a $(YAZLIB)
45
46 test_relevance_SOURCES = test_relevance.c
47 test_relevance_LDADD = libpazpar2.a $(YAZLIB)
48
49 test_sel_thread_SOURCES = test_sel_thread.c
50 test_sel_thread_LDADD = libpazpar2.a $(YAZLIB)
51
52 test_normalize_SOURCES = test_normalize.c
53 test_normalize_LDADD = libpazpar2.a $(YAZLIB)
54