Merge pull request #266 from jrmarino/master

Enable build on FreeBSD ports (includes DragonFly BSD) [dev branch]
This commit is contained in:
Yann Collet 2016-07-31 02:21:26 +02:00 committed by GitHub
commit 2a2ba3691c
3 changed files with 10 additions and 10 deletions

View File

@ -70,10 +70,10 @@ clean:
@echo Cleaning completed @echo Cleaning completed
#------------------------------------------------------------------------ #----------------------------------------------------------------------------------
#make install is validated only for Linux, OSX, kFreeBSD and Hurd targets #make install is validated only for Linux, OSX, kFreeBSD, Hurd and some BSD targets
#------------------------------------------------------------------------ #----------------------------------------------------------------------------------
ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU)) ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU FreeBSD DragonFly))
HOST_OS = POSIX HOST_OS = POSIX
install: install:
$(MAKE) -C $(ZSTDDIR) $@ $(MAKE) -C $(ZSTDDIR) $@

View File

@ -100,8 +100,8 @@ clean:
@echo Cleaning library completed @echo Cleaning library completed
#------------------------------------------------------------------------ #------------------------------------------------------------------------
#make install is validated only for Linux, OSX, kFreeBSD and Hurd targets #make install is validated only for Linux, OSX, kFreeBSD, Hurd and some BSD targets
ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU)) ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU FreeBSD DragonFly))
libzstd.pc: libzstd.pc:
libzstd.pc: libzstd.pc.in libzstd.pc: libzstd.pc.in

View File

@ -173,10 +173,10 @@ clean:
cleano32: cleano32:
@rm -f ../lib/decompress/*.o @rm -f ../lib/decompress/*.o
#--------------------------------------------------------------------------------- #----------------------------------------------------------------------------------
#make install is validated only for Linux, OSX, kFreeBSD, Hurd and OpenBSD targets #make install is validated only for Linux, OSX, kFreeBSD, Hurd and some BSD targets
#--------------------------------------------------------------------------------- #----------------------------------------------------------------------------------
ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD)) ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD DragonFly))
HOST_OS = POSIX HOST_OS = POSIX
install: zstd install: zstd
@echo Installing binaries @echo Installing binaries