1 # $Id: Makefile.am,v 1.21 2007-05-15 08:56:03 adam Exp $
4 check_PROGRAMS = test_config \
11 check_SCRIPTS = test_http.sh
13 EXTRA_DIST = test_http.xml test_http.cfg $(check_SCRIPTS)
15 TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
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 test_config_SOURCES = test_config.c
41 test_config_LDADD = libpazpar2.a $(YAZLIB)
43 test_record_SOURCES = test_record.c
44 test_record_LDADD = libpazpar2.a $(YAZLIB)
46 test_reclists_SOURCES = test_reclists.c
47 test_reclists_LDADD = libpazpar2.a $(YAZLIB)
49 test_relevance_SOURCES = test_relevance.c
50 test_relevance_LDADD = libpazpar2.a $(YAZLIB)
52 test_sel_thread_SOURCES = test_sel_thread.c
53 test_sel_thread_LDADD = libpazpar2.a $(YAZLIB)
55 test_icu_I18N_SOURCES = test_icu_I18N.c
56 test_icu_I18N_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS)