X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/de07849e0d5e467a00eb47ea5c4c15202e64d46b..9035e23d81d54a2bc7e44de68bb2f0f292c2cb24:/deps/Makefile diff --git a/deps/Makefile b/deps/Makefile index 7cd9c0f6..910911d7 100644 --- a/deps/Makefile +++ b/deps/Makefile @@ -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) @@ -73,6 +80,6 @@ JEMALLOC_LDFLAGS= $(LDFLAGS) jemalloc: .make-prerequisites @printf '%b %b\n' $(MAKECOLOR)MAKE$(ENDCOLOR) $(BINCOLOR)$@$(ENDCOLOR) cd jemalloc && ./configure --with-jemalloc-prefix=je_ --enable-cc-silence CFLAGS="$(JEMALLOC_CFLAGS)" LDFLAGS="$(JEMALLOC_LDFLAGS)" - cd jemalloc && $(MAKE) lib/libjemalloc.a + cd jemalloc && $(MAKE) CFLAGS="$(JEMALLOC_CFLAGS)" LDFLAGS="$(JEMALLOC_LDFLAGS)" lib/libjemalloc.a .PHONY: jemalloc