X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2FMakefile.am;h=9195380f4c91fbff590d7028afb6201b566625ac;hb=67ebd94d4bd94b8ade005dfa371638e0855f84d1;hp=7e689a52ed3f720e3cc65476c835b9713196e693;hpb=cc29eab9f928f6cd0f4231cb2e554e2ac7b0b1f3;p=pazpar2-moved-to-github.git diff --git a/src/Makefile.am b/src/Makefile.am index 7e689a5..9195380 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,15 +1,64 @@ -# $Id: Makefile.am,v 1.5 2007-04-10 08:48:56 adam Exp $ +# This file is part of Pazpar2. -bin_PROGRAMS = pazpar2 +sbin_PROGRAMS = pazpar2 -MAINTAINERCLEANFILES = Makefile.in cconfig.h +noinst_PROGRAMS = icu_chain_test -AM_CFLAGS = $(YAZINC) -LDADD = $(YAZLIB) +check_PROGRAMS = test_config \ + test_icu_I18N \ + test_record \ + test_reclists \ + test_relevance \ + test_sel_thread \ + test_normalize -pazpar2_SOURCES = config.c config.h eventl.c eventl.h \ +TESTS = $(check_PROGRAMS) + +noinst_LIBRARIES = libpazpar2.a + +MAINTAINERCLEANFILES = Makefile.in cconfig.h + +CONFIG_CLEAN_FILES=*.log + +AM_CFLAGS = $(YAZINC) $(ICU_CPPFLAGS) + +libpazpar2_a_SOURCES = pazpar2_config.c pazpar2_config.h eventl.c eventl.h \ http.c http_command.c http_command.h http.h \ - pazpar2.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 + 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 \ + dirent.c direntz.h + +pazpar2_SOURCES = pazpar2.c +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) $(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) $(ICU_LIBS) + +test_sel_thread_SOURCES = test_sel_thread.c +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) + +test_normalize_SOURCES = test_normalize.c +test_normalize_LDADD = libpazpar2.a $(YAZLIB) $(ICU_LIBS) +