Added experimental Haiku OS support.

It compiles and it runs with some minor glitches.
This commit is contained in:
Jan Vidar Krey
2010-01-28 01:29:34 +01:00
parent 4e9488dd4d
commit 7637d9ba68
3 changed files with 14 additions and 2 deletions

View File

@@ -17,15 +17,22 @@ STACK_PROTECT ?= NO
ifeq ($(OS), Windows_NT)
WINDOWS ?= YES
OPSYS ?= Windows
else
OPSYS ?= $(shell uname)
endif
ifeq (SOLARIS,YES)
ifeq ($(OPSYS),SunOS)
LDLIBS += -lsocket -lnsl
endif
ifeq ($(OPSYS),Haiku)
LDLIBS += -lnetwork
endif
CFLAGS += -I./src/
ifeq ($(WINDOWS),YES)
ifeq ($(OPSYS),Windows)
USE_BIGENDIAN := NO
LDLIBS += -lws2_32
UHUB_CONF_DIR ?= c:/uhub/