1 # Makefile for the stand-alone release of Sherlock libraries
2 # (c) 2007 Martin Mares <mj@ucw.cz>
5 all: runtree libs api programs extras configs
7 # Include configuration
11 @echo "You need to run configure first." && false
13 # We will use the libucw build system
14 include $(s)/build/Maketop
17 include $(s)/ucw/Makefile
19 # Stripped down version
20 ifndef CONFIG_UCW_ONLY
22 # Install config files
23 CONFIGS+=sherlock local
25 # Set up names of common libraries (to avoid forward references in rules)
26 LIBCHARSET=$(o)/charset/libcharset.pc
27 LIBSH=$(o)/sherlock/libsh.pc
29 # Include makefiles of libraries we wish to use
30 include $(s)/charset/Makefile
31 include $(s)/sherlock/Makefile
34 LIBLANG=$(o)/lang/liblang.pc
35 include $(s)/lang/Makefile
39 LIBIMAGES=$(o)/images/libimages.pc
40 include $(s)/images/Makefile
45 libs: $(LIBUCW) $(LIBSH) $(LIBIMAGES) $(LIBCHARSET) $(LIBLANG)
47 # And finally the default rules of the build system
48 include $(s)/build/Makebottom
51 install: $(INSTALL_TARGETS)
54 @echo "Nothing to install, this is a local build." && false