diff --git a/Makefile b/Makefile index 0ca7714c..c9f1fe41 100644 --- 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) $@ diff --git a/lib/Makefile b/lib/Makefile index 35522da6..45173632 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -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 diff --git a/programs/Makefile b/programs/Makefile index 280c2727..30436418 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -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)/