(svn r619) Add the necessary bits to make building under BeOS using GNU Make work

This commit is contained in:
tron
2004-11-15 07:53:09 +00:00
parent 4852474343
commit 5a07c9bd71
3 changed files with 37 additions and 9 deletions

View File

@@ -28,6 +28,17 @@ MORPHOS:=1
UNIX:=1
endif
# Automatically recognize if building on BeOS
ifeq ($(shell uname), BeOS)
BEOS:=1
# BeOS uses UNIX setup too
UNIX:=1
# Except that in BeOS 5.0 we need to use net_server, not BONE networking
ifeq ($(shell uname -r), 5.0)
BEOS_NET_SERVER:=1
endif
endif
# FreeBSD uses sdl11 instead of sdl
ifdef FREEBSD
SDL-CONFIG:=sdl11-config
@@ -77,4 +88,4 @@ ifndef BIN_DIR
endif
endif
endif
endif
endif