makefiledir/Makefile.libdetection
changeset 421 0b9bdcdfe0c5
parent 0 29654efe3188
child 446 20304ea8e94e
--- a/makefiledir/Makefile.libdetection	Sun Nov 14 23:36:19 2004 +0000
+++ b/makefiledir/Makefile.libdetection	Mon Nov 15 07:53:09 2004 +0000
@@ -28,6 +28,17 @@
 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 @@
 endif
 endif
 endif
-endif
\ No newline at end of file
+endif