# We will use the libucw build system
include $(s)/build/Maketop
+# The UCW library
+include $(s)/ucw/Makefile
+
+# Stripped down version
+ifndef CONFIG_UCW_ONLY
+
# Install config files
CONFIGS+=sherlock local
LIBSH=$(o)/sherlock/libsh.pc
# Include makefiles of libraries we wish to use
-include $(s)/lib/Makefile
include $(s)/charset/Makefile
include $(s)/sherlock/Makefile
include $(s)/images/Makefile
endif
+endif
+
libs: $(LIBUCW) $(LIBSH) $(LIBIMAGES) $(LIBCHARSET) $(LIBLANG)
# And finally the default rules of the build system
include $(s)/build/Makebottom
+
+ifndef CONFIG_LOCAL
+install: $(INSTALL_TARGETS)
+else
+install:
+ @echo "Nothing to install, this is a local build." && false
+endif
+.PHONY: install