hotspot/make/bsd/makefiles/vm.make
changeset 10739 91935236600e
parent 10565 dc90c239f4ec
child 11480 1bf714e8adb4
equal deleted inserted replaced
10738:cc19612c6b9f 10739:91935236600e
   106 CFLAGS += $(EXTRA_CFLAGS)
   106 CFLAGS += $(EXTRA_CFLAGS)
   107 LFLAGS += $(EXTRA_CFLAGS)
   107 LFLAGS += $(EXTRA_CFLAGS)
   108 
   108 
   109 # Don't set excutable bit on stack segment
   109 # Don't set excutable bit on stack segment
   110 # the same could be done by separate execstack command
   110 # the same could be done by separate execstack command
       
   111 # Darwin is non-executable-stack by default
   111 ifneq ($(OS_VENDOR), Darwin)
   112 ifneq ($(OS_VENDOR), Darwin)
   112 LFLAGS += -Xlinker -z -Xlinker noexecstack
   113 LFLAGS += -Xlinker -z -Xlinker noexecstack
   113 endif
   114 endif
   114 
   115 
   115 LIBS += -lm -pthread
   116 LIBS += -lm -pthread
   320 # Serviceability agent
   321 # Serviceability agent
   321 include $(MAKEFILES_DIR)/saproc.make
   322 include $(MAKEFILES_DIR)/saproc.make
   322 
   323 
   323 #----------------------------------------------------------------------
   324 #----------------------------------------------------------------------
   324 
   325 
       
   326 ifeq ($(OS_VENDOR), Darwin)
       
   327 $(LIBJVM).dSYM: $(LIBJVM)
       
   328 	dsymutil $(LIBJVM)
       
   329 
       
   330 # no launcher or libjvm_db for macosx
       
   331 build: $(LIBJVM) $(LIBJSIG) $(BUILDLIBSAPROC) dtraceCheck $(LIBJVM).dSYM
       
   332 	echo "Doing vm.make build:"
       
   333 else
   325 build: $(LIBJVM) $(LAUNCHER) $(LIBJSIG) $(LIBJVM_DB) $(BUILDLIBSAPROC)
   334 build: $(LIBJVM) $(LAUNCHER) $(LIBJSIG) $(LIBJVM_DB) $(BUILDLIBSAPROC)
       
   335 endif
   326 
   336 
   327 install: install_jvm install_jsig install_saproc
   337 install: install_jvm install_jsig install_saproc
   328 
   338 
   329 .PHONY: default build install install_jvm
   339 .PHONY: default build install install_jvm