X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2FMakefile.am;h=7a70b397ed06e62a9d12e14428e206aa187c0afa;hb=607bc610968c1840e1028f2193effa9cb96cafda;hp=986317fc731e9b6329986e00efedb8a682c04ce3;hpb=df1262e4bb33b78f429baec77e2c68e4d6c9d592;p=pazpar2-moved-to-github.git diff --git a/src/Makefile.am b/src/Makefile.am index 986317f..7a70b39 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,31 +1,58 @@ -# $Id: Makefile.am,v 1.10 2007-04-20 10:06:52 adam Exp $ +# $Id: Makefile.am,v 1.26 2007-06-08 13:57:19 adam Exp $ + +bin_PROGRAMS = pazpar2 icu_chain_test + +check_PROGRAMS = test_config \ + test_icu_I18N \ + test_record \ + test_reclists \ + test_relevance \ + test_sel_thread -bin_PROGRAMS = pazpar2 -check_PROGRAMS = test_config test_relevance test_sel_thread TESTS = $(check_PROGRAMS) noinst_LIBRARIES = libpazpar2.a -MAINTAINERCLEANFILES = Makefile.in cconfig.h +MAINTAINERCLEANFILES = Makefile.in cconfig.h -AM_CFLAGS = $(YAZINC) +CONFIG_CLEAN_FILES=*.log + +AM_CFLAGS = $(YAZINC) $(ICU_CPPFLAGS) libpazpar2_a_SOURCES = config.c config.h eventl.c eventl.h \ http.c http_command.c http_command.h http.h \ - logic.c pazpar2.h reclists.c reclists.h \ + icu_I18N.h icu_I18N.c \ + logic.c pazpar2.h \ + record.h record.c reclists.c reclists.h \ relevance.c relevance.h termlists.c termlists.h \ + normalize7bit.h normalize7bit.c \ util.c util.h zeerex.c zeerex.h database.c database.h \ - settings.h settings.c sel_thread.c sel_thread.h + settings.h settings.c sel_thread.c sel_thread.h getaddrinfo.c \ + charsets.c charsets.h \ + client.c client.h connection.c connection.h host.h parameters.h \ + process.c pazpar2_SOURCES = pazpar2.c -pazpar2_LDADD = libpazpar2.a $(YAZLIB) +pazpar2_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS) + +icu_chain_test_SOURCES = icu_chain_test.c icu_I18N.c +icu_chain_test_LDADD = $(YAZLIB) $(ICU_LIBS) test_config_SOURCES = test_config.c -test_config_LDADD = libpazpar2.a $(YAZLIB) +test_config_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS) + +test_record_SOURCES = test_record.c +test_record_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS) + +test_reclists_SOURCES = test_reclists.c +test_reclists_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS) test_relevance_SOURCES = test_relevance.c -test_relevance_LDADD = libpazpar2.a $(YAZLIB) +test_relevance_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS) test_sel_thread_SOURCES = test_sel_thread.c -test_sel_thread_LDADD = libpazpar2.a $(YAZLIB) +test_sel_thread_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS) + +test_icu_I18N_SOURCES = test_icu_I18N.c +test_icu_I18N_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS)