From 6926e206a82f7cebd5827d3493e988b1d95046db Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Tue, 10 Jan 2017 14:16:16 +0200 Subject: abuild-gzsplit: new tool to split .apk to it's base components required tool for re-signing packages --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0006b0f..279f458 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ datadir ?= $(prefix)/share/$(PACKAGE) SCRIPTS := abuild abuild-keygen abuild-sign newapkbuild \ abump apkgrel buildlab apkbuild-cpan checkapk \ apkbuild-gem-resolver -USR_BIN_FILES := $(SCRIPTS) abuild-tar abuild-sudo abuild-fetch +USR_BIN_FILES := $(SCRIPTS) abuild-tar abuild-gzsplit abuild-sudo abuild-fetch SAMPLES := sample.APKBUILD sample.initd sample.confd \ sample.pre-install sample.post-install AUTOTOOLS_TOOLCHAIN_FILES := config.sub config.guess @@ -38,13 +38,16 @@ SED_REPLACE := -e 's:@VERSION@:$(FULL_VERSION):g' \ SSL_CFLAGS ?= $(shell pkg-config --cflags openssl) SSL_LDFLAGS ?= $(shell pkg-config --cflags openssl) SSL_LIBS ?= $(shell pkg-config --libs openssl) - +ZLIB_LIBS ?= $(shell pkg-config --libs zlib) OBJS-abuild-tar = abuild-tar.o CFLAGS-abuild-tar.o = $(SSL_CFLAGS) LDFLAGS-abuild-tar = $(SSL_LDFLAGS) LIBS-abuild-tar = $(SSL_LIBS) +OBJS-abuild-gzsplit = abuild-gzsplit.o +LDFLAGS-abuild-gzsplit = $(ZLIB_LIBS) + OBJS-abuild-sudo = abuild-sudo.o OBJS-abuild-fetch = abuild-fetch.o @@ -76,6 +79,9 @@ abuild-tar: abuild-tar.o abuild-fetch: abuild-fetch.o $(LINK) +abuild-gzsplit: abuild-gzsplit.o + $(LINK) + abuild-tar.static: abuild-tar.o $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS-$@) -o $@ -static $(LIBS-$@) $^ -- cgit v1.2.3-70-g09d2