Support building on NetBSD.

Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
This commit is contained in:
Tamas TEVESZ 2013-12-12 03:27:56 +01:00 committed by Daniel Beer
parent a8922dcc0e
commit f7b858ad89
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ ifeq ($(UNAME_S),Darwin) # Mac OS X/MacPorts stuff
PORTS_CFLAGS := -I/opt/local/include
PORTS_LDFLAGS := -L/opt/local/lib
else
ifeq ($(UNAME_S),OpenBSD) # OpenBSD Ports stuff
ifneq ($(filter $(UNAME_S),OpenBSD NetBSD),)
PORTS_CFLAGS := $(shell pkg-config --cflags libusb)
PORTS_LDFLAGS := $(shell pkg-config --libs libusb) -ltermcap -pthread
else
@ -62,7 +62,7 @@ else
MSPDEBUG_CC = $(CC)
BINARY = mspdebug
ifneq ($(filter $(UNAME_S),OpenBSD),)
ifneq ($(filter $(UNAME_S),OpenBSD NetBSD),)
OS_LIBS =
else ifneq ($(filter $(UNAME_S),FreeBSD),)
OS_CFLAGS = -pthread