Module: Mesa
Branch: master
Commit: f89c237c2c35eb3ea554e8f9de036e9ead08173f
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f89c237c2c35eb3ea554e8f9de036e9ead08173f

Author: Brian Paul <[email protected]>
Date:   Fri Feb 26 11:58:05 2010 -0700

gallium: added GENERATED_SOURCES var to Makefile.template

For use in dependency checking and make clean.

---

 src/gallium/Makefile.template |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/gallium/Makefile.template b/src/gallium/Makefile.template
index 713e192..91a9b54 100644
--- a/src/gallium/Makefile.template
+++ b/src/gallium/Makefile.template
@@ -31,10 +31,10 @@ default: depend lib$(LIBNAME).a
 lib$(LIBNAME).a: $(OBJECTS) $(EXTRA_OBJECTS) Makefile 
$(TOP)/src/gallium/Makefile.template
        $(MKLIB) -o $(LIBNAME) -static $(OBJECTS) $(EXTRA_OBJECTS)
 
-depend: $(C_SOURCES) $(CPP_SOURCES) $(ASM_SOURCES) $(SYMLINKS)
+depend: $(C_SOURCES) $(CPP_SOURCES) $(ASM_SOURCES) $(SYMLINKS) 
$(GENERATED_SOURCES)
        rm -f depend
        touch depend
-       $(MKDEP) $(MKDEP_OPTIONS) $(INCLUDES) $(C_SOURCES) $(CPP_SOURCES) 
$(ASM_SOURCES) 2> /dev/null
+       $(MKDEP) $(MKDEP_OPTIONS) $(INCLUDES) $(C_SOURCES) $(CPP_SOURCES) 
$(ASM_SOURCES) $(GENERATED_SOURCES) 2> /dev/null
 
 # Emacs tags
 tags:
@@ -42,7 +42,7 @@ tags:
 
 # Remove .o and backup files
 clean:
-       rm -f $(OBJECTS) lib$(LIBNAME).a depend depend.bak
+       rm -f $(OBJECTS) $(GENERATED_SOURCES) lib$(LIBNAME).a depend depend.bak
 
 # Dummy target
 install:

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to