+++ /dev/null
-# Makefile for the stand-alone release of Sherlock libraries
-# (c) 2007 Martin Mares <mj@ucw.cz>
-
-# The default target
-all: runtree libs api programs extras configs
-
-# Include configuration
-s=.
--include obj/config.mk
-obj/config.mk:
- @echo "You need to run configure first." && false
-
-BUILDSYS=$(s)/build
-
-# We will use the libucw build system
-include $(BUILDSYS)/Maketop
-
-CONFIG_SRC_DIR=etc
-
-# Install the build system
-include $(BUILDSYS)/Makefile
-
-# Set up names of common libraries (to avoid forward references in rules)
-ifdef CONFIG_CHARSET
-LIBCHARSET=$(o)/charset/libcharset.pc
-endif
-ifdef CONFIG_SHERLOCK_LIB
-LIBSH=$(o)/sherlock/libsh.pc
-LIBSHXML=$(o)/sherlock/xml/libshxml.pc
-TESTING_DEPS=$(LIBSH)
-else
-TESTING_DEPS=$(LIBUCW)
-endif
-
-# The UCW library
-include $(s)/ucw/Makefile
-
-# Install config files
-ifdef CONFIG_SHERLOCK_LIB
-FREE_CONFIGS=sherlock local
-CONFIGS+=$(FREE_CONFIGS)
-
-INSTALL_TARGETS+=install-configs
-install-configs:
- install -d -m 755 $(DESTDIR)$(INSTALL_CONFIG_DIR)
- install -m 644 $(addprefix run/$(CONFIG_DIR)/,$(FREE_CONFIGS)) $(DESTDIR)$(INSTALL_CONFIG_DIR)
-endif
-
-# Include submakefiles of requested libraries
-ifdef CONFIG_SHERLOCK_LIB
-include $(s)/sherlock/Makefile
-endif
-
-ifdef CONFIG_CHARSET
-include $(s)/charset/Makefile
-endif
-
-ifdef CONFIG_LANG
-LIBLANG=$(o)/lang/liblang.pc
-include $(s)/lang/Makefile
-endif
-
-ifdef CONFIG_IMAGES
-LIBIMAGES=$(o)/images/libimages.pc
-include $(s)/images/Makefile
-endif
-
-# Build documentation by default?
-ifdef CONFIG_DOC
-all: docs
-endif
-
-libs: $(LIBUCW) $(LIBSH) $(LIBIMAGES) $(LIBCHARSET) $(LIBLANG)
-
-# And finally the default rules of the build system
-include $(BUILDSYS)/Makebottom
-
-ifndef CONFIG_LOCAL
-install: all $(INSTALL_TARGETS)
-else
-install:
- @echo "Nothing to install, this is a local build." && false
-endif
-.PHONY: install
+++ /dev/null
-Sherlock Holmes Libraries 4.0
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-(c) 1997--2009 Martin Mares <mj@ucw.cz>
-(c) 2000--2009 Robert Spalek <robert@ucw.cz>
-(c) 2006--2009 Pavel Charvat <pchar@ucw.cz>
-(c) 2008--2009 Michal Vaner <vorner@ucw.cz>
-(c) 2008 Tomas Gavenciak <gavento@ucw.cz>
-
-This package contains all libraries from the freely distributable version
-of the Sherlock Holmes search engine (see http://www.ucw.cz/holmes/).
-
-See doc/using-libs for description of the libraries.
-
-See doc/install.html for build requirements and instructions.
-
-See doc/configure.html if you want to tweak build options.
-
-After you compile the library, you can issue `make docs' to build the API
-documentation. It will appear in run/doc. (It is not complete yet, though.)
+++ /dev/null
-#!/usr/bin/perl
-# Configure Script for Stand-Alone Sherlock Libraries
-# (c) 2007 Martin Mares <mj@ucw.cz>
-
-use warnings;
-use strict;
-
-our $srcdir;
-BEGIN {
- my $pkgfile = "ucw/wildmatch.c";
- if (!defined ($srcdir = $ENV{"SRCDIR"})) {
- if (-f $pkgfile) {
- $srcdir=".";
- } elsif ($0 =~ m@^(.*)/configure$@ && -f "$1/$pkgfile") {
- $srcdir=$1;
- } else {
- die "Don't know how to find myself. Please set SRCDIR manually.\n";
- }
- }
-}
-
-use lib "$srcdir/ucw/perl/";
-use UCW::Configure;
-
-Init($srcdir, "default.cfg");
-Include "ucw/default.cfg";
-Log "### Configuring Sherlock Libraries " . Get("SHERLOCK_VERSION") . " with configuration " . Get("CONFIG") . "\n";
-Include Get("CONFIG");
-require UCW::Configure::Paths;
-require UCW::Configure::C;
-require UCW::Configure::LibUCW;
-require UCW::Configure::Doc;
-Finish();
-
-Log "\nConfigured, run `make' to build everything.\n";
+++ /dev/null
-# Default configuration of Sherlock libraries (see sherlock/default.cfg for an explanation)
-
-# Do we want shared or static libraries?
-Set("CONFIG_SHARED");
-
-# We want the public API
-Set("CONFIG_INSTALL_API");
-
-# Libucw should support files >2GB and threading
-Set("CONFIG_UCW_LARGE_FILES");
-Set("CONFIG_UCW_THREADS" => 1);
-
-# Libucw extensions
-Set("CONFIG_UCW_PERL" => 1);
-Set("CONFIG_UCW_PERL_MODULES" => 1);
-Set("CONFIG_UCW_SHELL_UTILS" => 1);
-Set("CONFIG_UCW_UTILS" => 1);
-
-if(!IsSet("CONFIG_UCW_ONLY")) {
- # Libsh settings
- Set("CONFIG_BUCKET_SHIFT" => 6);
- Set("CONFIG_SHERLOCK_LIB");
-
- if(!IsGiven("CONFIG_CHARSET") || IsSet("CONFIG_CHARSET")) {
- # Liblang settings
- Set("CONFIG_LIBLANG");
- Set("MAX_WORD_CHARS" => 64);
- Set("MAX_WORD_BYTES" => 192);
- }
-
- # Libimages settings
- Set("CONFIG_IMAGES");
- Set("CONFIG_IMAGES_LIBJPEG");
- Set("CONFIG_IMAGES_LIBPNG");
- Set("CONFIG_IMAGES_LIBUNGIF");
- UnSet("CONFIG_IMAGES_LIBGIF");
- UnSet("CONFIG_IMAGES_LIBMAGICK");
-
- Set("CONFIG_CHARSET");
-}
-
-# Return success
-1;
+++ /dev/null
-# Makefile for the stand-alone release of libucw
-# (c) 2008 Martin Mares <mj@ucw.cz>
-
-# The default target
-all: runtree libs api programs extras configs
-
-# Include configuration
-s=.
--include obj/config.mk
-obj/config.mk:
- @echo "You need to run configure first." && false
-
-BUILDSYS=$(s)/build
-
-# We will use the libucw build system
-include $(BUILDSYS)/Maketop
-
-# Install the build system
-include $(BUILDSYS)/Makefile
-
-# The UCW library
-include $(s)/ucw/Makefile
-
-# Build documentation by default?
-ifdef CONFIG_DOC
-all: docs
-endif
-
-libs: $(LIBUCW)
-
-# And finally the default rules of the build system
-include $(BUILDSYS)/Makebottom
-
-ifndef CONFIG_LOCAL
-install: all $(INSTALL_TARGETS)
-else
-install:
- @echo "Nothing to install, this is a local build." && false
-endif
-.PHONY: install
+++ /dev/null
-The UCW Library 4.0
-~~~~~~~~~~~~~~~~~~~
-(c) 1997--2008 Martin Mares <mj@ucw.cz>
-(c) 2000--2008 Robert Spalek <robert@ucw.cz>
-(c) 2006--2008 Pavel Charvat <pchar@ucw.cz>
-(c) 2008--2009 Michal Vaner <vorner@ucw.cz>
-(c) 2008 Tomas Gavenciak <gavento@ucw.cz>
-
-See doc/using-libs for description of the library.
-
-See doc/install.html for build requirements and instructions.
-
-See doc/configure.html if you want to tweak build options.
-
-After you compile the library, you can issue `make docs' to build the API
-documentation. It will appear in run/doc. (It is not complete yet, though.)
+++ /dev/null
-#!/usr/bin/perl
-# Configure Script for Stand-Alone LibUCW
-# (c) 2008 Martin Mares <mj@ucw.cz>
-
-use warnings;
-use strict;
-
-our $srcdir;
-BEGIN {
- my $pkgfile = "ucw/wildmatch.c";
- if (!defined ($srcdir = $ENV{"SRCDIR"})) {
- if (-f $pkgfile) {
- $srcdir=".";
- } elsif ($0 =~ m@^(.*)/configure$@ && -f "$1/$pkgfile") {
- $srcdir=$1;
- } else {
- die "Don't know how to find myself. Please set SRCDIR manually.\n";
- }
- }
-}
-
-use lib "$srcdir/ucw/perl/";
-use UCW::Configure;
-
-Init($srcdir, "default.cfg");
-Include "ucw/default.cfg";
-Log "### Configuring LibUCW " . Get("SHERLOCK_VERSION") . " with configuration " . Get("CONFIG") . "\n";
-Include Get("CONFIG");
-require UCW::Configure::Paths;
-require UCW::Configure::C;
-require UCW::Configure::LibUCW;
-require UCW::Configure::Doc;
-Finish();
-
-Log "\nConfigured, run `make' to build everything.\n";
+++ /dev/null
-# Default configuration of LibUCW (see ucw/default.cfg for an explanation)
-
-# Do we want shared or static libraries?
-Set("CONFIG_SHARED");
-
-# We want the public API
-Set("CONFIG_INSTALL_API");
-
-# Libucw should support files >2GB and threading
-Set("CONFIG_UCW_LARGE_FILES");
-Set("CONFIG_UCW_THREADS" => 1);
-
-# Libucw extensions
-Set("CONFIG_UCW_PERL" => 1);
-Set("CONFIG_UCW_PERL_MODULES" => 1);
-Set("CONFIG_UCW_SHELL_UTILS" => 1);
-Set("CONFIG_UCW_UTILS" => 1);
-
-# Return success
-1;