comparison make/linux/makefiles/rules.make @ 228:f232d7d67023

6717128: Using relative path for ALT_OUTPUTDIR does not work properly Summary: import the absolute output directory when launching sub make process and avoid including defs.make in rules.make Reviewed-by: kamg, kvn
author xlu
date Tue, 24 Jun 2008 16:52:31 -0700
parents 6470a2a42f92
children 9c2ecc2ffb12
comparison
equal deleted inserted replaced
227:8d852b81e775 228:f232d7d67023
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 include $(GAMMADIR)/make/defs.make 136 # Include $(NONPIC_OBJ_FILES) definition
137 ifndef LP64
138 include $(GAMMADIR)/make/pic.make
139 endif
137 140
138 # The non-PIC object files are only generated for 32 bit platforms. 141 # The non-PIC object files are only generated for 32 bit platforms.
139 ifdef LP64 142 ifdef LP64
140 %.o: %.cpp 143 %.o: %.cpp
141 @echo Compiling $< 144 @echo Compiling $<