~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(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 Michal Vaner <vorner@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/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.
+When you compile the libraries, an API documentation is also built. It will
+appear in run/doc/. (It is not complete yet, though.)
--- /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 3.99
+~~~~~~~~~~~~~~~~~~~~
+(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 Michal Vaner <vorner@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.
+
+When you compile the libraries, an API documentation is also built. 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_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;