From 7089a58bab20c26e8ef0808c4634da03886cf2c3 Mon Sep 17 00:00:00 2001 From: Michal Vaner Date: Mon, 8 Sep 2008 14:53:03 +0200 Subject: [PATCH] libucw dist: condition to turn off other libs Compilation of other libraries (libsh, liblang, ...) can be turned off by CONFIG_UCW_ONLY --- free/libs/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/free/libs/Makefile b/free/libs/Makefile index 4c55eb9b..c2c11b22 100644 --- a/free/libs/Makefile +++ b/free/libs/Makefile @@ -13,6 +13,12 @@ obj/config.mk: # 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 @@ -21,7 +27,6 @@ LIBCHARSET=$(o)/charset/libcharset.pc LIBSH=$(o)/sherlock/libsh.pc # Include makefiles of libraries we wish to use -include $(s)/ucw/Makefile include $(s)/charset/Makefile include $(s)/sherlock/Makefile @@ -35,6 +40,8 @@ LIBIMAGES=$(o)/images/libimages.pc include $(s)/images/Makefile endif +endif + libs: $(LIBUCW) $(LIBSH) $(LIBIMAGES) $(LIBCHARSET) $(LIBLANG) # And finally the default rules of the build system -- 2.39.2