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

make/bsd/makefiles/vm.make

Print this page




 109 CFLAGS += -DINCLUDE_TRACE
 110 endif
 111 
 112 # CFLAGS_WARN holds compiler options to suppress/enable warnings.
 113 CFLAGS += $(CFLAGS_WARN/BYFILE)
 114 
 115 # Do not use C++ exception handling
 116 CFLAGS += $(CFLAGS/NOEX)
 117 
 118 # Extra flags from gnumake's invocation or environment
 119 CFLAGS += $(EXTRA_CFLAGS)
 120 LFLAGS += $(EXTRA_CFLAGS)
 121 
 122 # Don't set excutable bit on stack segment
 123 # the same could be done by separate execstack command
 124 # Darwin is non-executable-stack by default
 125 ifneq ($(OS_VENDOR), Darwin)
 126 LFLAGS += -Xlinker -z -Xlinker noexecstack
 127 endif
 128 
 129 LIBS += -lm -pthread




 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   ifeq (${VERSION}, $(filter ${VERSION}, debug fastdebug))
 148     CFLAGS += -DALLOW_OPERATOR_NEW_USAGE
 149   endif




 109 CFLAGS += -DINCLUDE_TRACE
 110 endif
 111 
 112 # CFLAGS_WARN holds compiler options to suppress/enable warnings.
 113 CFLAGS += $(CFLAGS_WARN/BYFILE)
 114 
 115 # Do not use C++ exception handling
 116 CFLAGS += $(CFLAGS/NOEX)
 117 
 118 # Extra flags from gnumake's invocation or environment
 119 CFLAGS += $(EXTRA_CFLAGS)
 120 LFLAGS += $(EXTRA_CFLAGS)
 121 
 122 # Don't set excutable bit on stack segment
 123 # the same could be done by separate execstack command
 124 # Darwin is non-executable-stack by default
 125 ifneq ($(OS_VENDOR), Darwin)
 126 LFLAGS += -Xlinker -z -Xlinker noexecstack
 127 endif
 128 
 129 LIBS += -lm
 130 
 131 ifeq ($(USE_CLANG),)
 132   LIBS += -pthread
 133 endif
 134 
 135 # By default, link the *.o into the library, not the executable.
 136 LINK_INTO$(LINK_INTO) = LIBJVM
 137 
 138 JDK_LIBDIR = $(JAVA_HOME)/jre/lib/$(LIBARCH)
 139 
 140 #----------------------------------------------------------------------
 141 # jvm_db & dtrace
 142 include $(MAKEFILES_DIR)/dtrace.make
 143 
 144 #----------------------------------------------------------------------
 145 # JVM
 146 
 147 JVM    = jvm
 148 ifeq ($(OS_VENDOR), Darwin)
 149   LIBJVM   = lib$(JVM).dylib
 150   CFLAGS  += -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
 151   ifeq (${VERSION}, $(filter ${VERSION}, debug fastdebug))
 152     CFLAGS += -DALLOW_OPERATOR_NEW_USAGE
 153   endif


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