added autoconf checks on ICU internationalization libs and established first test...
[pazpar2-moved-to-github.git] / src / Makefile.am
1 # $Id: Makefile.am,v 1.18 2007-04-27 14:31:15 marc Exp $
2
3 bin_PROGRAMS = pazpar2
4 check_PROGRAMS = test_config \
5       test_icu_I18N \
6       test_record \
7       test_reclists \
8       test_relevance \
9       test_sel_thread
10
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) $(ICU_CPPFLAGS)
21
22 libpazpar2_a_SOURCES = config.c 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         client.c client.h connection.c connection.h host.h parameters.h
31
32 pazpar2_SOURCES = pazpar2.c
33 pazpar2_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS)
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_reclists_SOURCES = test_reclists.c
42 test_reclists_LDADD = libpazpar2.a $(YAZLIB)
43
44 test_relevance_SOURCES = test_relevance.c
45 test_relevance_LDADD = libpazpar2.a $(YAZLIB)
46
47 test_sel_thread_SOURCES = test_sel_thread.c
48 test_sel_thread_LDADD = libpazpar2.a $(YAZLIB)
49
50 test_icu_I18N_SOURCES = test_icu_I18N.c
51 test_icu_I18N_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS)
52