diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 17:06:04 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 17:06:04 +0000 |
commit | 2f0649f6fe411d7e07c8d56cf8ea56db53536da8 (patch) | |
tree | 778611fb52176dce1ad06c68e87b2cb348ca0f7b /usr/gzip/Kbuild | |
parent | Initial commit. (diff) | |
download | klibc-2f0649f6fe411d7e07c8d56cf8ea56db53536da8.tar.xz klibc-2f0649f6fe411d7e07c8d56cf8ea56db53536da8.zip |
Adding upstream version 2.0.13.upstream/2.0.13upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'usr/gzip/Kbuild')
-rw-r--r-- | usr/gzip/Kbuild | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/usr/gzip/Kbuild b/usr/gzip/Kbuild new file mode 100644 index 0000000..52c57d0 --- /dev/null +++ b/usr/gzip/Kbuild @@ -0,0 +1,26 @@ +# +# Kbuild file for gzip +# + +# The gzip executable +static-y := gzip +gzip-y := gzip.o util.o unzip.o inflate.o + +# Additional targets +always := gunzip zcat + +# Optional ZIP support +gzip-$(CONFIG_KLIBC_ZIP) += zip.o deflate.o trees.o bits.o +cflags-$(CONFIG_KLIBC_ZIP) += -DSUPPORT_ZIP +EXTRA_KLIBCCFLAGS := $(cflags-y) + +# Additionally linked targets +$(obj)/gunzip $(obj)/zcat: $(obj)/gzip + $(call cmd,ln) + +# Cleaning +targets := gzip gzip.g gunzip zcat + +# Targets to install +install-y := gzip +install-link-y := gunzip=gzip zcat=gzip |