diff options
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-$@) $^ |