X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=free%2Flibs%2FMakefile;h=09f2c02cd9bbd2f6e98b864894589f07abe3ce20;hb=86b74f27a95b617008575a9088e4c675e9f956d6;hp=a9ec173ddebd10d05256bd48bb37695ffa9c2a65;hpb=aafbea40b7613274180c8bab60012a0322f8d7dd;p=libucw.git diff --git a/free/libs/Makefile b/free/libs/Makefile index a9ec173d..09f2c02c 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)/lib/Makefile include $(s)/charset/Makefile include $(s)/sherlock/Makefile @@ -35,7 +40,17 @@ 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 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