diff options
author | Timo Teräs <timo.teras@iki.fi> | 2017-01-10 14:16:16 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-01-10 14:16:16 +0200 |
commit | 6926e206a82f7cebd5827d3493e988b1d95046db (patch) | |
tree | 25354d16ca63c3f4460e16cfd2cc277056081ec9 /Makefile | |
parent | 8bddd02b10cd581f0f0966375a93180b0cb2bb33 (diff) | |
download | abuild-6926e206a82f7cebd5827d3493e988b1d95046db.tar.gz abuild-6926e206a82f7cebd5827d3493e988b1d95046db.tar.bz2 abuild-6926e206a82f7cebd5827d3493e988b1d95046db.tar.xz abuild-6926e206a82f7cebd5827d3493e988b1d95046db.zip |
abuild-gzsplit: new tool to split .apk to it's base components
required tool for re-signing packages
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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-$@) $^ |