make/solaris/makefiles/rules.make

changeset 633
6470a2a42f92
parent 526
a294fd0c4b38
child 663
f232d7d67023
equal deleted inserted replaced
621:cf1821c649d9 633:6470a2a42f92
131 # With parallel makes, print a message at the end of compilation. 131 # With parallel makes, print a message at the end of compilation.
132 ifeq ($(findstring j,$(MFLAGS)),j) 132 ifeq ($(findstring j,$(MFLAGS)),j)
133 COMPILE_DONE = && { echo Done with $<; } 133 COMPILE_DONE = && { echo Done with $<; }
134 endif 134 endif
135 135
136 # A list of directories under which all source code are built without -KPIC/-Kpic 136 include $(GAMMADIR)/make/defs.make
137 # flag. Performance measurements show that compiling GC related code will
138 # dramatically reduce the gc pause time. See bug 6454213 for more details.
139
140 include $(GAMMADIR)/make/scm.make
141
142 NONPIC_DIRS = memory oops gc_implementation gc_interface
143 NONPIC_DIRS := $(foreach dir,$(NONPIC_DIRS), $(GAMMADIR)/src/share/vm/$(dir))
144 # Look for source code under NONPIC_DIRS
145 NONPIC_FILES := $(foreach dir,$(NONPIC_DIRS),\
146 $(shell find $(dir) \( $(SCM_DIRS) \) -prune -o \
147 -name '*.cpp' -print))
148 NONPIC_OBJ_FILES := $(notdir $(subst .cpp,.o,$(NONPIC_FILES)))
149 137
150 # Sun compiler for 64 bit Solaris does not support building non-PIC object files. 138 # Sun compiler for 64 bit Solaris does not support building non-PIC object files.
151 ifdef LP64 139 ifdef LP64
152 %.o: %.cpp 140 %.o: %.cpp
153 @echo Compiling $< 141 @echo Compiling $<

mercurial