mesa: Move get_es*.c to main/
authorKristian Høgsberg <krh@bitplanet.net>
Sat, 24 Apr 2010 23:17:54 +0000 (19:17 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 27 Apr 2010 23:28:11 +0000 (19:28 -0400)
src/mesa/Makefile
src/mesa/es/Makefile
src/mesa/es/sources.mak
src/mesa/main/get_gen_es.py [moved from src/mesa/es/main/get_gen.py with 100% similarity]
src/mesa/sources.mak

index 7dcde52..e404088 100644 (file)
@@ -30,6 +30,11 @@ main/api_exec_es1.c: main/APIspec.xml main/es_generator.py main/APIspecutil.py m
 main/api_exec_es2.c: main/APIspec.xml main/es_generator.py main/APIspecutil.py main/APIspec.py
        $(PYTHON2) $(PYTHON_FLAGS) main/es_generator.py -S main/APIspec.xml -V GLES2.0 > $@
 
+main/get_es1.c: main/get_gen_es.py
+       $(PYTHON2) $(PYTHON_FLAGS) $< 1 > $@
+
+main/get_es2.c: main/get_gen_es.py
+       $(PYTHON2) $(PYTHON_FLAGS) $< 2 > $@
 
 ######################################################################
 # Helper libraries used by many drivers:
index b095620..5498b08 100644 (file)
@@ -82,16 +82,6 @@ libes1api.a: $(ES1_API_OBJECTS)
 libes2api.a: $(ES2_API_OBJECTS)
        @$(MKLIB) -o es2api -static $(ES2_API_OBJECTS)
 
-GENERATED_SOURCES :=           \
-       main/get_es1.c          \
-       main/get_es2.c
-
-main/get_es1.c: main/get_gen.py
-       $(PYTHON2) $(PYTHON_FLAGS) $< 1 > $@
-
-main/get_es2.c: main/get_gen.py
-       $(PYTHON2) $(PYTHON_FLAGS) $< 2 > $@
-
 .PHONY: clean
 clean:
        -rm -f $(ES1_LIBS) $(ES2_LIBS)
index 3beea38..8526820 100644 (file)
@@ -3,7 +3,6 @@ include $(MESA)/sources.mak
 # LOCAL sources
 
 LOCAL_ES1_SOURCES :=                   \
-       main/get_es1.c                  \
        main/drawtex.c                  \
        main/es_cpaltex.c               \
        main/es_enable.c                \
@@ -25,7 +24,6 @@ LOCAL_ES1_INCLUDES :=                 \
        -I$(MESA)/state_tracker
 
 LOCAL_ES2_SOURCES :=                   \
-       main/get_es2.c                  \
        main/es_cpaltex.c               \
        glapi/glapi-es2/main/enums.c
 
index 72b46e9..df16e70 100644 (file)
@@ -39,6 +39,8 @@ MAIN_SOURCES = \
        main/formats.c \
        main/framebuffer.c \
        main/get.c \
+       main/get_es1.c \
+       main/get_es2.c \
        main/getstring.c \
        main/hash.c \
        main/hint.c \