]> git.saurik.com Git - redis.git/blobdiff - deps/Makefile
Add openldap submodule with a symlink for liblmdb.
[redis.git] / deps / Makefile
index d58ee5681ba6a4adf93442db041d58749747fad5..910911d72844c5b6e6202eea2ad97dc6b7fe4319 100644 (file)
@@ -34,6 +34,7 @@ endif
 
 distclean:
        -(cd hiredis && $(MAKE) clean) > /dev/null || true
+       -(cd liblmdb && $(MAKE) clean) > /dev/null || true
        -(cd linenoise && $(MAKE) clean) > /dev/null || true
        -(cd lua && $(MAKE) clean) > /dev/null || true
        -(cd jemalloc && [ -f Makefile ] && $(MAKE) distclean) > /dev/null || true
@@ -47,6 +48,12 @@ hiredis: .make-prerequisites
 
 .PHONY: hiredis
 
+liblmdb: .make-prerequisites
+       @printf '%b %b\n' $(MAKECOLOR)MAKE$(ENDCOLOR) $(BINCOLOR)$@$(ENDCOLOR)
+       cd liblmdb && $(MAKE) all
+
+.PHONY: liblmdb
+
 linenoise: .make-prerequisites
        @printf '%b %b\n' $(MAKECOLOR)MAKE$(ENDCOLOR) $(BINCOLOR)$@$(ENDCOLOR)
        cd linenoise && $(MAKE)