1 # $Id: Makefile.am,v 1.30 2008-02-18 19:33:32 adam Exp $
3 sbin_PROGRAMS = pazpar2
5 noinst_PROGRAMS = icu_chain_test
7 check_PROGRAMS = test_config \
15 TESTS = $(check_PROGRAMS)
17 noinst_LIBRARIES = libpazpar2.a
19 MAINTAINERCLEANFILES = Makefile.in cconfig.h
21 CONFIG_CLEAN_FILES=*.log
23 AM_CFLAGS = $(YAZINC) $(ICU_CPPFLAGS)
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 \
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
37 pazpar2_SOURCES = pazpar2.c
38 pazpar2_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS)
40 icu_chain_test_SOURCES = icu_chain_test.c icu_I18N.c
41 icu_chain_test_LDADD = $(YAZLIB) $(ICU_LIBS)
43 test_config_SOURCES = test_config.c
44 test_config_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS)
46 test_record_SOURCES = test_record.c
47 test_record_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS)
49 test_reclists_SOURCES = test_reclists.c
50 test_reclists_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS)
52 test_relevance_SOURCES = test_relevance.c
53 test_relevance_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS)
55 test_sel_thread_SOURCES = test_sel_thread.c
56 test_sel_thread_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS)
58 test_icu_I18N_SOURCES = test_icu_I18N.c
59 test_icu_I18N_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS)
61 test_normalize_SOURCES = test_normalize.c
62 test_normalize_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS)