hotspot/test/Makefile
changeset 10565 dc90c239f4ec
parent 7662 5f31baaff55b
child 10994 fc93bca9c720
--- a/hotspot/test/Makefile	Tue Sep 20 23:50:16 2011 -0700
+++ b/hotspot/test/Makefile	Sun Sep 25 16:03:29 2011 -0700
@@ -44,6 +44,22 @@
     ARCH = i586
   endif
 endif
+ifeq ($(OSNAME), Darwin)
+  PLATFORM = bsd
+  SLASH_JAVA = /java
+  ARCH = $(shell uname -m)
+  ifeq ($(ARCH), i386)
+    ARCH = i586
+  endif
+endif
+ifeq ($(findstring BSD,$(OSNAME)), BSD)
+  PLATFORM = bsd
+  SLASH_JAVA = /java
+  ARCH = $(shell uname -m)
+  ifeq ($(ARCH), i386)
+    ARCH = i586
+  endif
+endif
 ifeq ($(OSNAME), Windows_NT)
   PLATFORM = windows
   SLASH_JAVA = J: