summaryrefslogtreecommitdiffstats
path: root/src/mesa/Makefile
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-05-24 10:55:08 -0700
committerEric Anholt <[email protected]>2012-05-29 12:39:40 -0700
commitb284d4773b889d042a4ea086a28a7ea18de98f28 (patch)
treed5a706f67b8ed7bd86923dddbd49e1fd1d6e76f9 /src/mesa/Makefile
parent79273b1a7a14f1302c8962acbf323075d7b7a829 (diff)
mesa: Remove generated source files during make clean.
Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/Makefile')
-rw-r--r--src/mesa/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mesa/Makefile b/src/mesa/Makefile
index bb7b13afdfb..4783f3289f1 100644
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
@@ -71,6 +71,17 @@ default: $(DEPENDS) asm_subdirs $(MESA_LIBS) $(DRICORE_LIBS) driver_subdirs
GLAPI := $(TOP)/src/mapi/glapi/gen
include $(GLAPI)/glapi_gen.mk
+BUILT_SOURCES = \
+ main/api_exec_es1_dispatch.h \
+ main/api_exec_es1_remap_helper.h \
+ main/api_exec_es2_dispatch.h \
+ main/api_exec_es2_remap_helper.h \
+ main/api_exec_es1.c \
+ main/api_exec_es2.c \
+ program/program_parse.tab.c \
+ program/program_parse.tab.h \
+ program/lex.yy.c
+
main/api_exec_es1_dispatch.h: $(GLAPI)/gl_and_es_API.xml $(glapi_gen_dispatch_deps)
$(call glapi_gen_dispatch,$<,es1)
@@ -243,6 +254,7 @@ clean: clean-dricore
-rm -f depend depend.bak libmesa.a libmesagallium.a
-rm -f drivers/*/*.o
-rm -f *.pc
+ -rm -f $(BUILT_SOURCES)
-@cd drivers/dri && $(MAKE) clean
-@cd drivers/x11 && $(MAKE) clean
-@cd drivers/osmesa && $(MAKE) clean