mesa: Include C++ files in the makedepend of DRI drivers.
authorEric Anholt <eric@anholt.net>
Fri, 19 Nov 2010 09:19:38 +0000 (17:19 +0800)
committerEric Anholt <eric@anholt.net>
Sat, 20 Nov 2010 01:42:06 +0000 (17:42 -0800)
src/mesa/drivers/dri/Makefile.template

index a00018cafa751b0e33ab752985432a21b31a35e1..4ecddbc04834d0fe8a08f521a3c67039fdc6dfe1 100644 (file)
@@ -86,11 +86,12 @@ subdirs:
 symlinks:
 
 
-depend: $(C_SOURCES) $(ASM_SOURCES) $(SYMLINKS)
+depend: $(C_SOURCES) $(CXX_SOURCES) $(ASM_SOURCES) $(SYMLINKS)
        @ echo "running $(MKDEP)"
        @ rm -f depend
        @ touch depend
-       @ $(MKDEP) $(MKDEP_OPTIONS) $(DRIVER_DEFINES) $(INCLUDES) $(C_SOURCES) \
+       @ $(MKDEP) $(MKDEP_OPTIONS) $(DRIVER_DEFINES) $(INCLUDES) \
+               $(C_SOURCES) $(CXX_SOURCES) \
                $(ASM_SOURCES) > /dev/null 2>/dev/null