From 5a07c9bd71826484de50d265cd11cc85e4a07470 Mon Sep 17 00:00:00 2001 From: tron Date: Mon, 15 Nov 2004 07:53:09 +0000 Subject: (svn r619) Add the necessary bits to make building under BeOS using GNU Make work --- makefiledir/Makefile.libdetection | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'makefiledir/Makefile.libdetection') diff --git a/makefiledir/Makefile.libdetection b/makefiledir/Makefile.libdetection index 8f8458c76..084d13707 100644 --- a/makefiledir/Makefile.libdetection +++ b/makefiledir/Makefile.libdetection @@ -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 \ No newline at end of file +endif -- cgit v1.2.3-70-g09d2