146 # The non-PIC object files are only generated for 32 bit platforms. 147 ifdef LP64 148 %.o: %.cpp 149 @echo Compiling $< 150 $(QUIETLY) $(REMOVE_TARGET) 151 $(QUIETLY) $(COMPILE.CXX) $(DEPFLAGS) -o $@ $< $(COMPILE_DONE) 152 else 153 %.o: %.cpp 154 @echo Compiling $< 155 $(QUIETLY) $(REMOVE_TARGET) 156 $(QUIETLY) $(if $(findstring $@, $(NONPIC_OBJ_FILES)), \ 157 $(subst $(VM_PICFLAG), ,$(COMPILE.CXX)) $(DEPFLAGS) -o $@ $< $(COMPILE_DONE), \ 158 $(COMPILE.CXX) $(DEPFLAGS) -o $@ $< $(COMPILE_DONE)) 159 endif 160 161 %.o: %.s 162 @echo Assembling $< 163 $(QUIETLY) $(REMOVE_TARGET) 164 $(QUIETLY) $(AS.S) $(DEPFLAGS) -o $@ $< $(COMPILE_DONE) 165 166 %.s: %.cpp 167 @echo Generating assembly for $< 168 $(QUIETLY) $(GENASM.CXX) -o $@ $< 169 $(QUIETLY) $(DEMANGLE) $(COMPILE_DONE) 170 171 # Intermediate files (for debugging macros) 172 %.i: %.cpp 173 @echo Preprocessing $< to $@ 174 $(QUIETLY) $(PREPROCESS.CXX) $< > $@ $(COMPILE_DONE) 175 176 # Override gnumake built-in rules which do sccs get operations badly. 177 # (They put the checked out code in the current directory, not in the 178 # directory of the original file.) Since this is a symptom of a teamware 179 # failure, and since not all problems can be detected by gnumake due 180 # to incomplete dependency checking... just complain and stop. 181 %:: s.% 182 @echo "=========================================================" 183 @echo File $@ 184 @echo is out of date with respect to its SCCS file. 185 @echo This file may be from an unresolved Teamware conflict. | 146 # The non-PIC object files are only generated for 32 bit platforms. 147 ifdef LP64 148 %.o: %.cpp 149 @echo Compiling $< 150 $(QUIETLY) $(REMOVE_TARGET) 151 $(QUIETLY) $(COMPILE.CXX) $(DEPFLAGS) -o $@ $< $(COMPILE_DONE) 152 else 153 %.o: %.cpp 154 @echo Compiling $< 155 $(QUIETLY) $(REMOVE_TARGET) 156 $(QUIETLY) $(if $(findstring $@, $(NONPIC_OBJ_FILES)), \ 157 $(subst $(VM_PICFLAG), ,$(COMPILE.CXX)) $(DEPFLAGS) -o $@ $< $(COMPILE_DONE), \ 158 $(COMPILE.CXX) $(DEPFLAGS) -o $@ $< $(COMPILE_DONE)) 159 endif 160 161 %.o: %.s 162 @echo Assembling $< 163 $(QUIETLY) $(REMOVE_TARGET) 164 $(QUIETLY) $(AS.S) $(DEPFLAGS) -o $@ $< $(COMPILE_DONE) 165 166 %.o: %.S 167 @echo Assembling $< 168 $(QUIETLY) $(REMOVE_TARGET) 169 $(COMPILE.CC) -o $@ $< $(COMPILE_DONE) 170 171 %.s: %.cpp 172 @echo Generating assembly for $< 173 $(QUIETLY) $(GENASM.CXX) -o $@ $< 174 $(QUIETLY) $(DEMANGLE) $(COMPILE_DONE) 175 176 # Intermediate files (for debugging macros) 177 %.i: %.cpp 178 @echo Preprocessing $< to $@ 179 $(QUIETLY) $(PREPROCESS.CXX) $< > $@ $(COMPILE_DONE) 180 181 # Override gnumake built-in rules which do sccs get operations badly. 182 # (They put the checked out code in the current directory, not in the 183 # directory of the original file.) Since this is a symptom of a teamware 184 # failure, and since not all problems can be detected by gnumake due 185 # to incomplete dependency checking... just complain and stop. 186 %:: s.% 187 @echo "=========================================================" 188 @echo File $@ 189 @echo is out of date with respect to its SCCS file. 190 @echo This file may be from an unresolved Teamware conflict. |