Makefile.template: respect LIBRARY_DEFINES in mkdep
authorGeorge Sapountzis <gsapountzis@gmail.com>
Fri, 19 Mar 2010 00:38:10 +0000 (02:38 +0200)
committerGeorge Sapountzis <gsapountzis@gmail.com>
Sun, 21 Mar 2010 11:21:45 +0000 (13:21 +0200)
src/gallium/Makefile.template

index 91a9b54b3628b72f0867938283a199869fd86a66..7606a947e2244170f3a01a3acbcd4d0e29074b07 100644 (file)
@@ -34,7 +34,7 @@ lib$(LIBNAME).a: $(OBJECTS) $(EXTRA_OBJECTS) Makefile $(TOP)/src/gallium/Makefil
 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) $(GENERATED_SOURCES) 2> /dev/null
+       $(MKDEP) $(MKDEP_OPTIONS) $(INCLUDES) $(LIBRARY_DEFINES) $(C_SOURCES) $(CPP_SOURCES) $(ASM_SOURCES) $(GENERATED_SOURCES) 2> /dev/null
 
 # Emacs tags
 tags: