xlu@663: # xlu@663: # Copyright 2006-2007 Sun Microsystems, Inc. All Rights Reserved. xlu@663: # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. xlu@663: # xlu@663: # This code is free software; you can redistribute it and/or modify it xlu@663: # under the terms of the GNU General Public License version 2 only, as xlu@663: # published by the Free Software Foundation. xlu@663: # xlu@663: # This code is distributed in the hope that it will be useful, but WITHOUT xlu@663: # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or xlu@663: # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License xlu@663: # version 2 for more details (a copy is included in the LICENSE file that xlu@663: # accompanied this code). xlu@663: # xlu@663: # You should have received a copy of the GNU General Public License version xlu@663: # 2 along with this work; if not, write to the Free Software Foundation, xlu@663: # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. xlu@663: # xlu@663: # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, xlu@663: # CA 95054 USA or visit www.sun.com if you need additional information or xlu@663: # have any questions. xlu@663: # xlu@663: # xlu@663: xlu@663: # A list of object files built without the platform specific PIC flags, e.g. xlu@663: # -fPIC on linux. Performance measurements show that by compiling GC related xlu@663: # code, we could significantly reduce the GC pause time on 32 bit Linux/Unix xlu@663: # platforms. See 6454213 for more details. xlu@663: include $(GAMMADIR)/make/scm.make xlu@663: xlu@663: ifneq ($(OSNAME), windows) xlu@663: ifndef LP64 xlu@663: NONPIC_DIRS = memory oops gc_implementation gc_interface xlu@663: NONPIC_DIRS := $(foreach dir,$(NONPIC_DIRS), $(GAMMADIR)/src/share/vm/$(dir)) xlu@663: # Look for source files under NONPIC_DIRS xlu@663: NONPIC_FILES := $(foreach dir,$(NONPIC_DIRS),\ xlu@663: $(shell find $(dir) \( $(SCM_DIRS) \) -prune -o \ xlu@663: -name '*.cpp' -print)) xlu@663: NONPIC_OBJ_FILES := $(notdir $(subst .cpp,.o,$(NONPIC_FILES))) xlu@663: endif xlu@663: endif