]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Add libzstd.pc Build to More Aggregate Targets in Makefiles
authorW. Felix Handte <w@felixhandte.com>
Fri, 8 May 2020 17:06:31 +0000 (13:06 -0400)
committerW. Felix Handte <w@felixhandte.com>
Fri, 8 May 2020 20:11:32 +0000 (16:11 -0400)
Makefile
lib/Makefile

index 14419feabac55c1b72e17f971300f5fca8fcf178..2c1d34604fe96e45a26775a5c577ed9fa9661d83 100644 (file)
--- 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
index 02e2f01a0c432eb7f4f07b51f839e082f2d5b400..0a01ffc6fe660950edab90a45923c8d04514973e 100644 (file)
@@ -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)