Merge branch 'mesa_7_7_branch'
[mesa.git] / src / mesa / Makefile.mgw
index 6244ded876837cb4008efc2be2f7419915116a99..e894c6277d19a220df3df28daf7068770e557d18 100644 (file)
@@ -124,7 +124,7 @@ ifneq ($(wildcard $(addsuffix /rm,$(subst :, ,$(PATH)))),)
 UNLINK = $(RM) $(1)
 endif
 
-include sources
+include sources.mak
 
 CFLAGS += $(INCLUDE_DIRS) 
 
@@ -154,7 +154,7 @@ DRIVER_SOURCES = \
 endif
 endif
 
-SOURCES = $(CORE_SOURCES) $(X86_SOURCES) $(COMMON_DRIVER_SOURCES) $(DRIVER_SOURCES)
+SOURCES = $(MESA_SOURCES) $(GLAPI_SOURCES) $(X86_SOURCES) $(DRIVER_SOURCES)
 
 OBJECTS = $(addsuffix .o,$(basename $(SOURCES)))
 
@@ -218,7 +218,6 @@ clean:
        -$(call UNLINK,vbo/*.o)
        -$(call UNLINK,shader/*.o)
        -$(call UNLINK,shader/slang/*.o)
-       -$(call UNLINK,shader/grammar/*.o)
        -$(call UNLINK,sparc/*.o)
        -$(call UNLINK,ppc/*.o)
        -$(call UNLINK,swrast/*.o)