]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Enable install targets for NetBSD. 338/head
authorThomas Klausner <wiz@NetBSD.org>
Sun, 4 Sep 2016 12:37:57 +0000 (14:37 +0200)
committerThomas Klausner <wiz@NetBSD.org>
Sun, 4 Sep 2016 12:37:57 +0000 (14:37 +0200)
Makefile
lib/Makefile
programs/Makefile

index 0ca7714c26d9b3db58639882fbaf6981e51e0442..c9f1fe414f11a4a4caf624bc4819c197f6e26be2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -51,7 +51,7 @@ clean:
 #----------------------------------------------------------------------------------
 #make install is validated only for Linux, OSX, kFreeBSD, Hurd and some BSD targets
 #----------------------------------------------------------------------------------
-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU FreeBSD DragonFly))
+ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU FreeBSD DragonFly NetBSD))
 HOST_OS = POSIX
 install:
        $(MAKE) -C $(ZSTDDIR) $@
index 35522da6d4ecb83bbe40dd20d754eb7e48278f94..451736326f1f8212687af2741f21aef0bf07093e 100644 (file)
@@ -78,7 +78,7 @@ clean:
 
 #------------------------------------------------------------------------
 #make install is validated only for Linux, OSX, kFreeBSD, Hurd and some BSD targets
-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU FreeBSD DragonFly))
+ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU FreeBSD DragonFly NetBSD))
 
 libzstd.pc:
 libzstd.pc: libzstd.pc.in
index 280c2727d8dff0eb243ed80ad2a804e8c9a0d45a..304364182aa889d4953543050233770d57f45a65 100644 (file)
@@ -127,7 +127,7 @@ clean:
 #----------------------------------------------------------------------------------
 #make install is validated only for Linux, OSX, kFreeBSD, Hurd and some BSD targets
 #----------------------------------------------------------------------------------
-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD DragonFly))
+ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD DragonFly NetBSD))
 install: zstd
        @echo Installing binaries
        @install -d -m 755 $(DESTDIR)$(BINDIR)/ $(DESTDIR)$(MANDIR)/