Regression test, test_http.sh, moved to sub directory test. The test
[pazpar2-moved-to-github.git] / src / Makefile.am
1 # $Id: Makefile.am,v 1.22 2007-05-15 15:50:48 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 TESTS = $(check_PROGRAMS)
12
13 noinst_LIBRARIES = libpazpar2.a
14
15 MAINTAINERCLEANFILES = Makefile.in cconfig.h 
16
17 CONFIG_CLEAN_FILES=*.log
18
19 AM_CFLAGS = $(YAZINC) $(ICU_CPPFLAGS)
20
21 libpazpar2_a_SOURCES = config.c config.h eventl.c eventl.h \
22         http.c http_command.c http_command.h http.h \
23         icu_I18N.h icu_I18N.c \
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         charsets.c charsets.h \
31         client.c client.h connection.c connection.h host.h parameters.h
32
33 pazpar2_SOURCES = pazpar2.c
34 pazpar2_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS)
35
36 test_config_SOURCES = test_config.c
37 test_config_LDADD = libpazpar2.a $(YAZLIB)
38
39 test_record_SOURCES = test_record.c
40 test_record_LDADD = libpazpar2.a $(YAZLIB)
41
42 test_reclists_SOURCES = test_reclists.c
43 test_reclists_LDADD = libpazpar2.a $(YAZLIB)
44
45 test_relevance_SOURCES = test_relevance.c
46 test_relevance_LDADD = libpazpar2.a $(YAZLIB)
47
48 test_sel_thread_SOURCES = test_sel_thread.c
49 test_sel_thread_LDADD = libpazpar2.a $(YAZLIB)
50
51 test_icu_I18N_SOURCES = test_icu_I18N.c
52 test_icu_I18N_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS)
53