Begin work on PP2 WS HTTP test.
[pazpar2-moved-to-github.git] / src / Makefile.am
1 # $Id: Makefile.am,v 1.21 2007-05-15 08:56:03 adam 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 check_SCRIPTS = test_http.sh
12
13 EXTRA_DIST = test_http.xml test_http.cfg $(check_SCRIPTS)
14
15 TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
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 test_config_SOURCES = test_config.c
41 test_config_LDADD = libpazpar2.a $(YAZLIB)
42
43 test_record_SOURCES = test_record.c
44 test_record_LDADD = libpazpar2.a $(YAZLIB)
45
46 test_reclists_SOURCES = test_reclists.c
47 test_reclists_LDADD = libpazpar2.a $(YAZLIB)
48
49 test_relevance_SOURCES = test_relevance.c
50 test_relevance_LDADD = libpazpar2.a $(YAZLIB)
51
52 test_sel_thread_SOURCES = test_sel_thread.c
53 test_sel_thread_LDADD = libpazpar2.a $(YAZLIB)
54
55 test_icu_I18N_SOURCES = test_icu_I18N.c
56 test_icu_I18N_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS)
57