aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-01-01 19:37:29 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-01-01 19:37:29 +0000
commitced404f8b0abe200548e54db797451efbf1fe261 (patch)
tree6fef151e92846b6627f60fce98a2c103943d6071
parent9207f3ae0a4ce72f909bf0de920cbd73fb6b9356 (diff)
treat Debian GNU/Hurd and GNU/kFreeBSD the same as GNU/Linux
svn path=/trunk/externals/miXed/; revision=15861
-rw-r--r--Makefile.common9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common
index 72a89e8..3ceb6bd 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -2,6 +2,15 @@
PD_DIR ?= $(ROOT_DIR)/../../pd/src
OS_NAME = $(shell uname -s)
+
+# Debian has options for the GNU HURD and kFreeBSD kernels
+ifeq ($(OS_NAME),GNU)
+ OS_NAME=Linux
+endif
+ifeq ($(OS_NAME),GNU/kFreeBSD)
+ OS_NAME=Linux
+endif
+
ifneq ($(OS_NAME),Linux)
ifneq ($(OS_NAME),Darwin)
ifeq (,$(findstring MinGW,$(OS_NAME)))