From: W. Felix Handte Date: Fri, 8 May 2020 17:06:31 +0000 (-0400) Subject: Add libzstd.pc Build to More Aggregate Targets in Makefiles X-Git-Tag: v1.4.5^2~29^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78aa9373cb41d080f8b466dd293b9b1e4fd7a683;p=thirdparty%2Fzstd.git Add libzstd.pc Build to More Aggregate Targets in Makefiles --- diff --git a/Makefile b/Makefile index 14419feab..2c1d34604 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ allmost: allzstd zlibwrapper # skip zwrapper, can't build that on alternate architectures without the proper zlib installed .PHONY: allzstd -allzstd: lib +allzstd: lib-all $(MAKE) -C $(PRGDIR) all $(MAKE) -C $(TESTDIR) all @@ -55,7 +55,7 @@ all32: $(MAKE) -C $(TESTDIR) all32 .PHONY: lib lib-release libzstd.a -lib lib-release : +lib lib-release lib-all : @$(MAKE) -C $(ZSTDDIR) $@ .PHONY: zstd zstd-release diff --git a/lib/Makefile b/lib/Makefile index 02e2f01a0..0a01ffc6f 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -180,11 +180,14 @@ else endif -.PHONY: default all clean install uninstall +.PHONY: default lib-all all clean install uninstall default: lib-release -all: lib +# alias +lib-all: all + +all: lib libzstd.pc libzstd.a: ARFLAGS = rcs libzstd.a: $(ZSTD_OBJ)