diff --git a/Makefile b/Makefile index 45782af9f..d8e740bdb 100644 --- a/Makefile +++ b/Makefile @@ -70,10 +70,10 @@ clean: @echo Cleaning completed -#------------------------------------------------------------------------ -#make install is validated only for Linux, OSX, kFreeBSD and Hurd targets -#------------------------------------------------------------------------ -ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU)) +#---------------------------------------------------------------------------------- +#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)) HOST_OS = POSIX install: $(MAKE) -C $(ZSTDDIR) $@ diff --git a/lib/Makefile b/lib/Makefile index 2b5565817..1b4cb378f 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -100,8 +100,8 @@ clean: @echo Cleaning library completed #------------------------------------------------------------------------ -#make install is validated only for Linux, OSX, kFreeBSD and Hurd targets -ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU)) +#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)) libzstd.pc: libzstd.pc: libzstd.pc.in diff --git a/programs/Makefile b/programs/Makefile index 77c62dc54..be6fbf2c2 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -173,10 +173,10 @@ clean: cleano32: @rm -f ../lib/decompress/*.o -#--------------------------------------------------------------------------------- -#make install is validated only for Linux, OSX, kFreeBSD, Hurd and OpenBSD targets -#--------------------------------------------------------------------------------- -ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD)) +#---------------------------------------------------------------------------------- +#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)) HOST_OS = POSIX install: zstd @echo Installing binaries