f0eade811fdcd43f4b1b27ab7aefa31b83c07232
[pazpar2-moved-to-github.git] / src / Makefile.am
1 # $Id: Makefile.am,v 1.30 2008-02-18 19:33:32 adam Exp $
2
3 sbin_PROGRAMS = pazpar2
4
5 noinst_PROGRAMS = icu_chain_test
6
7 check_PROGRAMS = test_config \
8       test_icu_I18N \
9       test_record \
10       test_reclists \
11       test_relevance \
12       test_sel_thread \
13       test_normalize
14
15 TESTS = $(check_PROGRAMS)
16
17 noinst_LIBRARIES = libpazpar2.a
18
19 MAINTAINERCLEANFILES = Makefile.in cconfig.h 
20
21 CONFIG_CLEAN_FILES=*.log
22
23 AM_CFLAGS = $(YAZINC) $(ICU_CPPFLAGS)
24
25 libpazpar2_a_SOURCES = config.c config.h eventl.c eventl.h \
26         http.c http_command.c http_command.h http.h \
27         icu_I18N.h icu_I18N.c \
28         logic.c pazpar2.h \
29         record.h record.c reclists.c reclists.h \
30         relevance.c relevance.h termlists.c termlists.h \
31         normalize7bit.h normalize7bit.c \
32         util.c util.h zeerex.c zeerex.h database.c database.h \
33         settings.h settings.c sel_thread.c sel_thread.h getaddrinfo.c \
34         charsets.c charsets.h \
35         client.c client.h connection.c connection.h host.h parameters.h
36
37 pazpar2_SOURCES = pazpar2.c
38 pazpar2_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS)
39
40 icu_chain_test_SOURCES = icu_chain_test.c icu_I18N.c
41 icu_chain_test_LDADD = $(YAZLIB) $(ICU_LIBS)
42
43 test_config_SOURCES = test_config.c
44 test_config_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS)
45
46 test_record_SOURCES = test_record.c
47 test_record_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS)
48
49 test_reclists_SOURCES = test_reclists.c
50 test_reclists_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS)
51
52 test_relevance_SOURCES = test_relevance.c
53 test_relevance_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS)
54
55 test_sel_thread_SOURCES = test_sel_thread.c
56 test_sel_thread_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS)
57
58 test_icu_I18N_SOURCES = test_icu_I18N.c
59 test_icu_I18N_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS)
60
61 test_normalize_SOURCES = test_normalize.c
62 test_normalize_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS)
63