make/bsd/makefiles/vm.make
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 8134898 Sdiff make/bsd/makefiles

make/bsd/makefiles/vm.make

Print this page




 114 # Extra flags from gnumake's invocation or environment
 115 CFLAGS += $(EXTRA_CFLAGS)
 116 LFLAGS += $(EXTRA_CFLAGS)
 117 
 118 # Don't set excutable bit on stack segment
 119 # the same could be done by separate execstack command
 120 # Darwin is non-executable-stack by default
 121 ifneq ($(OS_VENDOR), Darwin)
 122 LFLAGS += -Xlinker -z -Xlinker noexecstack
 123 endif
 124 
 125 LIBS += -lm
 126 
 127 ifeq ($(USE_CLANG),)
 128   LIBS += -pthread
 129 endif
 130 
 131 # By default, link the *.o into the library, not the executable.
 132 LINK_INTO$(LINK_INTO) = LIBJVM
 133 
 134 JDK_LIBDIR = $(JAVA_HOME)/jre/lib/$(LIBARCH)
 135 
 136 #----------------------------------------------------------------------
 137 # jvm_db & dtrace
 138 include $(MAKEFILES_DIR)/dtrace.make
 139 
 140 #----------------------------------------------------------------------
 141 # JVM
 142 
 143 JVM    = jvm
 144 ifeq ($(OS_VENDOR), Darwin)
 145   LIBJVM   = lib$(JVM).dylib
 146   CFLAGS  += -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
 147 
 148   LIBJVM_DEBUGINFO   = lib$(JVM).dylib.dSYM
 149   LIBJVM_DIZ         = lib$(JVM).diz
 150 else
 151   LIBJVM   = lib$(JVM).so
 152 
 153   LIBJVM_DEBUGINFO   = lib$(JVM).debuginfo
 154   LIBJVM_DIZ         = lib$(JVM).diz




 114 # Extra flags from gnumake's invocation or environment
 115 CFLAGS += $(EXTRA_CFLAGS)
 116 LFLAGS += $(EXTRA_CFLAGS)
 117 
 118 # Don't set excutable bit on stack segment
 119 # the same could be done by separate execstack command
 120 # Darwin is non-executable-stack by default
 121 ifneq ($(OS_VENDOR), Darwin)
 122 LFLAGS += -Xlinker -z -Xlinker noexecstack
 123 endif
 124 
 125 LIBS += -lm
 126 
 127 ifeq ($(USE_CLANG),)
 128   LIBS += -pthread
 129 endif
 130 
 131 # By default, link the *.o into the library, not the executable.
 132 LINK_INTO$(LINK_INTO) = LIBJVM
 133 
 134 JDK_LIBDIR = $(JAVA_HOME)/lib/$(LIBARCH)
 135 
 136 #----------------------------------------------------------------------
 137 # jvm_db & dtrace
 138 include $(MAKEFILES_DIR)/dtrace.make
 139 
 140 #----------------------------------------------------------------------
 141 # JVM
 142 
 143 JVM    = jvm
 144 ifeq ($(OS_VENDOR), Darwin)
 145   LIBJVM   = lib$(JVM).dylib
 146   CFLAGS  += -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
 147 
 148   LIBJVM_DEBUGINFO   = lib$(JVM).dylib.dSYM
 149   LIBJVM_DIZ         = lib$(JVM).diz
 150 else
 151   LIBJVM   = lib$(JVM).so
 152 
 153   LIBJVM_DEBUGINFO   = lib$(JVM).debuginfo
 154   LIBJVM_DIZ         = lib$(JVM).diz


make/bsd/makefiles/vm.make
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File