[llvm-commits] CVS: llvm/Makefile.rules

Misha Brukman brukman at cs.uiuc.edu
Fri Oct 10 12:38:02 PDT 2003


Changes in directory llvm:

Makefile.rules updated: 1.145 -> 1.146

---
Log message:

Print out just the filename being compiled/linked, not the full path to it.


---
Diffs of the changes:  (+12 -12)

Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.145 llvm/Makefile.rules:1.146
--- llvm/Makefile.rules:1.145	Fri Oct 10 10:55:43 2003
+++ llvm/Makefile.rules	Fri Oct 10 12:37:22 2003
@@ -536,15 +536,15 @@
 #	I think that is safe.
 #
 $(LIBNAME_OBJO): $(ObjectsO) $(LibSubDirs) $(DESTLIBRELEASE)/.dir
-	@echo "Linking $@"
+	@echo "Linking `basename $@`"
 	$(VERB) $(Relink) -o $@ $(RObjectsO) $(LibSubDirs)
 
 $(LIBNAME_OBJP): $(ObjectsP) $(LibSubDirs) $(DESTLIBPROFILE)/.dir
-	@echo "Linking $@"
+	@echo "Linking `basename $@`"
 	$(VERB) $(Relink) -o $@ $(RObjectsP) $(LibSubDirs)
 
 $(LIBNAME_OBJG): $(ObjectsG) $(LibSubDirs) $(DESTLIBDEBUG)/.dir
-	@echo "Linking $@"
+	@echo "Linking `basename $@`"
 	$(VERB) $(Relink) -o $@ $(RObjectsG) $(LibSubDirs)
 
 endif
@@ -650,39 +650,39 @@
 
 # Create .lo files in the ObjectFiles directory from the .cpp and .c files...
 $(BUILD_OBJ_DIR)/Release/%.lo: %.cpp $(BUILD_OBJ_DIR)/Release/.dir
-	@echo "Compiling $<"
+	@echo "Compiling `basename $<`"
 	$(VERB) $(CompileO) $< -o $@
 
 $(BUILD_OBJ_DIR)/Release/%.lo: %.c $(BUILD_OBJ_DIR)/Release/.dir
-	@echo "Compiling $<"
+	@echo "Compiling `basename $<`"
 	$(VERB) $(CompileCO) $< -o $@
 
 $(BUILD_OBJ_DIR)/Profile/%.lo: %.cpp $(BUILD_OBJ_DIR)/Profile/.dir
-	@echo "Compiling $<"
+	@echo "Compiling `basename $<`"
 	$(VERB) $(CompileP) $< -o $@
 
 $(BUILD_OBJ_DIR)/Profile/%.lo: %.c $(BUILD_OBJ_DIR)/Profile/.dir
-	@echo "Compiling $<"
+	@echo "Compiling `basename $<`"
 	$(VERB) $(CompileCP) $< -o $@
 
 $(BUILD_OBJ_DIR)/Debug/%.lo: %.cpp $(BUILD_OBJ_DIR)/Debug/.dir
-	@echo "Compiling $<"
+	@echo "Compiling `basename $<`"
 	$(VERB) $(CompileG) $< -o $@
 
 $(BUILD_OBJ_DIR)/Debug/%.lo: %.c $(BUILD_OBJ_DIR)/Debug/.dir 
-	@echo "Compiling $<"
+	@echo "Compiling `basename $<`"
 	$(VERB) $(CompileCG) $< -o $@
 
 $(BUILD_OBJ_DIR)/BytecodeObj/%.bc: %.cpp $(BUILD_OBJ_DIR)/BytecodeObj/.dir $(LCC1XX)
-	@echo "Compiling $< to bytecode"
+	@echo "Compiling `basename $<` to bytecode"
 	$(VERB) $(LLVMGXX) $(CompileWarnings) $(CPPFLAGS) -c $< -o $@
 
 $(BUILD_OBJ_DIR)/BytecodeObj/%.bc: %.c $(BUILD_OBJ_DIR)/BytecodeObj/.dir $(LCC1)
-	@echo "Compiling $< to bytecode"
+	@echo "Compiling `basename $<` to bytecode"
 	$(VERB) $(LLVMGCC) $(CompileWarnings) $(CPPFLAGS) -c $< -o $@
 
 $(BUILD_OBJ_DIR)/BytecodeObj/%.bc: %.ll $(BUILD_OBJ_DIR)/BytecodeObj/.dir $(LLVMAS)
-	@echo "Compiling $< to bytecode"
+	@echo "Compiling `basename $<` to bytecode"
 	$(VERB) $(LLVMAS) $< -f -o $@
 
 





More information about the llvm-commits mailing list