Mercurial > hg > graal-jvmci-8
comparison make/bsd/makefiles/vm.make @ 20345:f933a15469d4
8055006: Store original value of Min/MaxHeapFreeRatio
Summary: Store the value set by the user and some makefile changes required to change the flags.
Reviewed-by: sla, mchung, bchristi, jmasa, dholmes
author | jwilhelm |
---|---|
date | Mon, 28 Jul 2014 22:43:08 +0200 |
parents | f509b8f4699b |
children | 7848fc12602b |
comparison
equal
deleted
inserted
replaced
20344:2fd0fd493045 | 20345:f933a15469d4 |
---|---|
241 | 241 |
242 JVM_OBJ_FILES = $(Obj_Files) | 242 JVM_OBJ_FILES = $(Obj_Files) |
243 | 243 |
244 vm_version.o: $(filter-out vm_version.o,$(JVM_OBJ_FILES)) | 244 vm_version.o: $(filter-out vm_version.o,$(JVM_OBJ_FILES)) |
245 | 245 |
246 mapfile : $(MAPFILE) vm.def | 246 mapfile : $(MAPFILE) vm.def mapfile_ext |
247 rm -f $@ | 247 rm -f $@ |
248 awk '{ if ($$0 ~ "INSERT VTABLE SYMBOLS HERE") \ | 248 awk '{ if ($$0 ~ "INSERT VTABLE SYMBOLS HERE") \ |
249 { system ("cat vm.def"); } \ | 249 { system ("cat mapfile_ext"); system ("cat vm.def"); } \ |
250 else \ | 250 else \ |
251 { print $$0 } \ | 251 { print $$0 } \ |
252 }' > $@ < $(MAPFILE) | 252 }' > $@ < $(MAPFILE) |
253 | 253 |
254 mapfile_reorder : mapfile $(REORDERFILE) | 254 mapfile_reorder : mapfile $(REORDERFILE) |
255 rm -f $@ | 255 rm -f $@ |
256 cat $^ > $@ | 256 cat $^ > $@ |
257 | 257 |
258 vm.def: $(Res_Files) $(Obj_Files) | 258 vm.def: $(Res_Files) $(Obj_Files) |
259 sh $(GAMMADIR)/make/bsd/makefiles/build_vm_def.sh *.o > $@ | 259 sh $(GAMMADIR)/make/bsd/makefiles/build_vm_def.sh *.o > $@ |
260 | |
261 mapfile_ext: | |
262 rm -f $@ | |
263 touch $@ | |
264 if [ -f $(HS_ALT_MAKE)/bsd/makefiles/mapfile-ext ]; then \ | |
265 cat $(HS_ALT_MAKE)/bsd/makefiles/mapfile-ext > $@; \ | |
266 fi | |
260 | 267 |
261 STATIC_CXX = false | 268 STATIC_CXX = false |
262 | 269 |
263 ifeq ($(LINK_INTO),AOUT) | 270 ifeq ($(LINK_INTO),AOUT) |
264 LIBJVM.o = | 271 LIBJVM.o = |