From 5ca7e1d3563c2a6b5efbf6f890f17d39b2872c8f Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 17 Aug 2007 14:36:55 +0200 Subject: [PATCH] Fix compilation of subsets of the stand-alone libraries. --- free/libs/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/free/libs/Makefile b/free/libs/Makefile index b283efc4..a9ec173d 100644 --- a/free/libs/Makefile +++ b/free/libs/Makefile @@ -17,17 +17,23 @@ include $(s)/build/Maketop CONFIGS+=sherlock local # Set up names of common libraries (to avoid forward references in rules) -LIBLANG=$(o)/lang/liblang.pc LIBCHARSET=$(o)/charset/libcharset.pc -LIBIMAGES=$(o)/images/libimages.pc 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 + +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 -include $(s)/sherlock/Makefile +endif libs: $(LIBUCW) $(LIBSH) $(LIBIMAGES) $(LIBCHARSET) $(LIBLANG) -- 2.39.2