< prev index next >

hotspot/make/lib/Lib-jdk.hotspot.agent.gmk

Print this page

        

@@ -1,7 +1,7 @@
 #
-# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # This code is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License version 2 only, as
 # published by the Free Software Foundation.  Oracle designates this

@@ -71,10 +71,15 @@
       -mstack-alignment=16 -fPIC
   SA_LDFLAGS := $(LDFLAGS_JDKLIB)
   SA_LIBS := -framework Foundation -framework JavaNativeFoundation \
       -framework Security -framework CoreFoundation
 
+else ifeq ($(OPENJDK_TARGET_OS), bsd)
+  SA_EXCLUDE_FILES := MacosxDebuggerLocal.m StubDebuggerLocal.c
+  SA_CFLAGS := $(CFLAGS_JDKLIB) -D$(OPENJDK_TARGET_CPU_LEGACY_LIB)
+  SA_LDFLAGS := $(LDFLAGS_JDKLIB)
+
 else ifeq ($(OPENJDK_TARGET_OS), windows)
   SA_NAME := sawindbg
   COMMON_CFLAGS := -D_WINDOWS -D_DEBUG -D_CONSOLE -D_MBCS -EHsc -FD
   SA_CFLAGS := $(subst -DWIN32_LEAN_AND_MEAN,, $(CFLAGS_JDKLIB)) \
       $(COMMON_CFLAGS)
< prev index next >