diff options
author | Matt Turner <mattst88@gmail.com> | 2013-01-21 10:27:25 -0800 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2013-04-15 12:04:25 -0700 |
commit | d5e9426b9605264608e0b1204ebf818103f1f011 (patch) | |
tree | 3031ccdbd85b35529129f5cef87c8779be5f8782 /src/mapi | |
parent | 3c690524e2ec0fdd6bef6d50897d6879fdb8b53b (diff) |
build: Move src/mapi/mapi/* to src/mapi/
Tested-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-and-Tested-by: Andreas Boll <andreas.boll.dev@gmail.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'src/mapi')
-rw-r--r-- | src/mapi/Android.mk | 16 | ||||
-rw-r--r-- | src/mapi/Makefile.sources (renamed from src/mapi/mapi/Makefile.sources) | 24 | ||||
-rw-r--r-- | src/mapi/entry.c (renamed from src/mapi/mapi/entry.c) | 0 | ||||
-rw-r--r-- | src/mapi/entry.h (renamed from src/mapi/mapi/entry.h) | 0 | ||||
-rw-r--r-- | src/mapi/entry_x86-64_tls.h (renamed from src/mapi/mapi/entry_x86-64_tls.h) | 0 | ||||
-rw-r--r-- | src/mapi/entry_x86_tls.h (renamed from src/mapi/mapi/entry_x86_tls.h) | 0 | ||||
-rw-r--r-- | src/mapi/entry_x86_tsd.h (renamed from src/mapi/mapi/entry_x86_tsd.h) | 0 | ||||
-rw-r--r-- | src/mapi/es1api/Makefile.am | 2 | ||||
-rw-r--r-- | src/mapi/es2api/Makefile.am | 2 | ||||
-rw-r--r-- | src/mapi/glapi/Makefile.am | 2 | ||||
-rw-r--r-- | src/mapi/glapi/SConscript | 2 | ||||
-rw-r--r-- | src/mapi/glapi/gen/Makefile.am | 2 | ||||
-rw-r--r-- | src/mapi/glapi/gen/glapi_gen.mk | 2 | ||||
-rw-r--r-- | src/mapi/glapi/glapi.c | 2 | ||||
-rw-r--r-- | src/mapi/glapi/glapi_entrypoint.c | 2 | ||||
-rw-r--r-- | src/mapi/glapi/glthread.h | 2 | ||||
-rw-r--r-- | src/mapi/mapi.c (renamed from src/mapi/mapi/mapi.c) | 0 | ||||
-rw-r--r-- | src/mapi/mapi.h (renamed from src/mapi/mapi/mapi.h) | 0 | ||||
-rw-r--r-- | src/mapi/mapi_abi.py (renamed from src/mapi/mapi/mapi_abi.py) | 2 | ||||
-rw-r--r-- | src/mapi/mapi_glapi.c (renamed from src/mapi/mapi/mapi_glapi.c) | 6 | ||||
-rw-r--r-- | src/mapi/mapi_tmp.h (renamed from src/mapi/mapi/mapi_tmp.h) | 0 | ||||
-rw-r--r-- | src/mapi/shared-glapi/Makefile.am | 2 | ||||
-rw-r--r-- | src/mapi/shared-glapi/SConscript | 4 | ||||
-rw-r--r-- | src/mapi/stub.c (renamed from src/mapi/mapi/stub.c) | 0 | ||||
-rw-r--r-- | src/mapi/stub.h (renamed from src/mapi/mapi/stub.h) | 0 | ||||
-rw-r--r-- | src/mapi/table.c (renamed from src/mapi/mapi/table.c) | 0 | ||||
-rw-r--r-- | src/mapi/table.h (renamed from src/mapi/mapi/table.h) | 0 | ||||
-rw-r--r-- | src/mapi/u_compiler.h (renamed from src/mapi/mapi/u_compiler.h) | 0 | ||||
-rw-r--r-- | src/mapi/u_current.c (renamed from src/mapi/mapi/u_current.c) | 0 | ||||
-rw-r--r-- | src/mapi/u_current.h (renamed from src/mapi/mapi/u_current.h) | 0 | ||||
-rw-r--r-- | src/mapi/u_execmem.c (renamed from src/mapi/mapi/u_execmem.c) | 0 | ||||
-rw-r--r-- | src/mapi/u_execmem.h (renamed from src/mapi/mapi/u_execmem.h) | 0 | ||||
-rw-r--r-- | src/mapi/u_macros.h (renamed from src/mapi/mapi/u_macros.h) | 0 | ||||
-rw-r--r-- | src/mapi/u_thread.h (renamed from src/mapi/mapi/u_thread.h) | 0 | ||||
-rw-r--r-- | src/mapi/vgapi/Makefile.am | 6 | ||||
-rw-r--r-- | src/mapi/vgapi/SConscript | 4 |
36 files changed, 41 insertions, 41 deletions
diff --git a/src/mapi/Android.mk b/src/mapi/Android.mk index d1749a2625..f10437874d 100644 --- a/src/mapi/Android.mk +++ b/src/mapi/Android.mk @@ -36,12 +36,12 @@ include $(CLEAR_VARS) abi_header := shared-glapi/glapi_mapi_tmp.h LOCAL_SRC_FILES := \ - mapi/entry.c \ - mapi/mapi_glapi.c \ - mapi/stub.c \ - mapi/table.c \ - mapi/u_current.c \ - mapi/u_execmem.c + entry.c \ + mapi_glapi.c \ + stub.c \ + table.c \ + u_current.c \ + u_execmem.c LOCAL_CFLAGS := \ -DMAPI_MODE_GLAPI \ @@ -68,9 +68,9 @@ include $(BUILD_SHARED_LIBRARY) mapi_abi_deps := \ $(wildcard $(LOCAL_PATH)/glapi/gen/*.py) \ $(wildcard $(LOCAL_PATH)/glapi/gen/*.xml) \ - $(LOCAL_PATH)/mapi/mapi_abi.py + $(LOCAL_PATH)/mapi_abi.py -$(mapi_abi_headers): PRIVATE_SCRIPT := $(MESA_PYTHON2) $(LOCAL_PATH)/mapi/mapi_abi.py +$(mapi_abi_headers): PRIVATE_SCRIPT := $(MESA_PYTHON2) $(LOCAL_PATH)/mapi_abi.py $(mapi_abi_headers): PRIVATE_APIXML := $(LOCAL_PATH)/glapi/gen/gl_and_es_API.xml $(mapi_abi_headers): $(mapi_abi_deps) @mkdir -p $(dir $@) diff --git a/src/mapi/mapi/Makefile.sources b/src/mapi/Makefile.sources index a2f6c71698..aff465a601 100644 --- a/src/mapi/mapi/Makefile.sources +++ b/src/mapi/Makefile.sources @@ -1,4 +1,4 @@ -# src/mapi/mapi/Makefile.sources +# src/mapi/Makefile.sources # # mapi may be used in several ways # @@ -15,22 +15,22 @@ # this mode, compile MAPI_BRIDGE_FILES with MAPI_MODE_BRIDGE defined. MAPI_UTIL_FILES = \ - $(TOP)/src/mapi/mapi/u_current.c \ - $(TOP)/src/mapi/mapi/u_execmem.c + $(TOP)/src/mapi/u_current.c \ + $(TOP)/src/mapi/u_execmem.c MAPI_FILES = \ - $(TOP)/src/mapi/mapi/entry.c \ - $(TOP)/src/mapi/mapi/mapi.c \ - $(TOP)/src/mapi/mapi/stub.c \ - $(TOP)/src/mapi/mapi/table.c \ + $(TOP)/src/mapi/entry.c \ + $(TOP)/src/mapi/mapi.c \ + $(TOP)/src/mapi/stub.c \ + $(TOP)/src/mapi/table.c \ $(MAPI_UTIL_FILES) MAPI_GLAPI_FILES = \ - $(TOP)/src/mapi/mapi/entry.c \ - $(TOP)/src/mapi/mapi/mapi_glapi.c \ - $(TOP)/src/mapi/mapi/stub.c \ - $(TOP)/src/mapi/mapi/table.c \ + $(TOP)/src/mapi/entry.c \ + $(TOP)/src/mapi/mapi_glapi.c \ + $(TOP)/src/mapi/stub.c \ + $(TOP)/src/mapi/table.c \ $(MAPI_UTIL_FILES) MAPI_BRIDGE_FILES = \ - $(TOP)/src/mapi/mapi/entry.c + $(TOP)/src/mapi/entry.c diff --git a/src/mapi/mapi/entry.c b/src/mapi/entry.c index 3d9168a724..3d9168a724 100644 --- a/src/mapi/mapi/entry.c +++ b/src/mapi/entry.c diff --git a/src/mapi/mapi/entry.h b/src/mapi/entry.h index 9df8100047..9df8100047 100644 --- a/src/mapi/mapi/entry.h +++ b/src/mapi/entry.h diff --git a/src/mapi/mapi/entry_x86-64_tls.h b/src/mapi/entry_x86-64_tls.h index 72d4125a69..72d4125a69 100644 --- a/src/mapi/mapi/entry_x86-64_tls.h +++ b/src/mapi/entry_x86-64_tls.h diff --git a/src/mapi/mapi/entry_x86_tls.h b/src/mapi/entry_x86_tls.h index de918128ee..de918128ee 100644 --- a/src/mapi/mapi/entry_x86_tls.h +++ b/src/mapi/entry_x86_tls.h diff --git a/src/mapi/mapi/entry_x86_tsd.h b/src/mapi/entry_x86_tsd.h index c479c199e2..c479c199e2 100644 --- a/src/mapi/mapi/entry_x86_tsd.h +++ b/src/mapi/entry_x86_tsd.h diff --git a/src/mapi/es1api/Makefile.am b/src/mapi/es1api/Makefile.am index bd3c60d7a7..eb98f165aa 100644 --- a/src/mapi/es1api/Makefile.am +++ b/src/mapi/es1api/Makefile.am @@ -42,7 +42,7 @@ GLES_include_HEADERS = \ lib_LTLIBRARIES = libGLESv1_CM.la -libGLESv1_CM_la_SOURCES = ../mapi/entry.c glapi_mapi_tmp.h +libGLESv1_CM_la_SOURCES = ../entry.c glapi_mapi_tmp.h libGLESv1_CM_la_LIBADD = $(GLESv1_CM_LIB_DEPS) libGLESv1_CM_la_LDFLAGS = -version-number 1:1 -no-undefined diff --git a/src/mapi/es2api/Makefile.am b/src/mapi/es2api/Makefile.am index 9f79536942..c6b0ca4ac3 100644 --- a/src/mapi/es2api/Makefile.am +++ b/src/mapi/es2api/Makefile.am @@ -46,7 +46,7 @@ GLES3_include_HEADERS = \ lib_LTLIBRARIES = libGLESv2.la -libGLESv2_la_SOURCES = ../mapi/entry.c glapi_mapi_tmp.h +libGLESv2_la_SOURCES = ../entry.c glapi_mapi_tmp.h libGLESv2_la_LIBADD = $(GLESv2_LIB_DEPS) libGLESv2_la_LDFLAGS = -version-number 2 -no-undefined diff --git a/src/mapi/glapi/Makefile.am b/src/mapi/glapi/Makefile.am index cf2602aed0..1698d1474e 100644 --- a/src/mapi/glapi/Makefile.am +++ b/src/mapi/glapi/Makefile.am @@ -21,7 +21,7 @@ TOP = $(top_srcdir) include Makefile.sources -include ../mapi/Makefile.sources +include ../Makefile.sources AM_CPPFLAGS = \ $(DEFINES) \ diff --git a/src/mapi/glapi/SConscript b/src/mapi/glapi/SConscript index 00cce3e7fd..79cbb6a40d 100644 --- a/src/mapi/glapi/SConscript +++ b/src/mapi/glapi/SConscript @@ -43,7 +43,7 @@ mapi_sources = [ 'u_execmem.c', ] for s in mapi_sources: - o = env.SharedObject(s[:-2], '../mapi/' + s) + o = env.SharedObject(s[:-2], '../' + s) glapi_sources.append(o) # diff --git a/src/mapi/glapi/gen/Makefile.am b/src/mapi/glapi/gen/Makefile.am index 36e47e21ea..97200598e6 100644 --- a/src/mapi/glapi/gen/Makefile.am +++ b/src/mapi/glapi/gen/Makefile.am @@ -20,7 +20,7 @@ XORG_INDENT_FLAGS = -linux -bad -bap -blf -bli0 -cbi0 -cdw -nce -cs -i4 -lc80 -p MESA_DIR = $(top_srcdir)/src/mesa MESA_GLAPI_DIR = $(top_srcdir)/src/mapi/glapi -MESA_MAPI_DIR = $(top_srcdir)/src/mapi/mapi +MESA_MAPI_DIR = $(top_srcdir)/src/mapi MESA_GLX_DIR = $(top_srcdir)/src/glx MESA_GLAPI_OUTPUTS = \ diff --git a/src/mapi/glapi/gen/glapi_gen.mk b/src/mapi/glapi/gen/glapi_gen.mk index f65286fbd9..242ae5fd90 100644 --- a/src/mapi/glapi/gen/glapi_gen.mk +++ b/src/mapi/glapi/gen/glapi_gen.mk @@ -4,7 +4,7 @@ glapi_gen_common_deps := \ $(wildcard $(top_srcdir)/src/mapi/glapi/gen/*.xml) \ $(wildcard $(top_srcdir)/src/mapi/glapi/gen/*.py) -glapi_gen_mapi_script := $(top_srcdir)/src/mapi/mapi/mapi_abi.py +glapi_gen_mapi_script := $(top_srcdir)/src/mapi/mapi_abi.py glapi_gen_mapi_deps := \ $(glapi_gen_mapi_script) \ $(glapi_gen_common_deps) diff --git a/src/mapi/glapi/glapi.c b/src/mapi/glapi/glapi.c index f7655c558c..18a7d31a75 100644 --- a/src/mapi/glapi/glapi.c +++ b/src/mapi/glapi/glapi.c @@ -27,7 +27,7 @@ */ #include "glapi/glapi.h" -#include "mapi/u_current.h" +#include "u_current.h" /* * Global variables, _glapi_get_context, and _glapi_get_dispatch are defined in diff --git a/src/mapi/glapi/glapi_entrypoint.c b/src/mapi/glapi/glapi_entrypoint.c index 7a0eb35377..791bd428b0 100644 --- a/src/mapi/glapi/glapi_entrypoint.c +++ b/src/mapi/glapi/glapi_entrypoint.c @@ -30,7 +30,7 @@ #include "glapi/glapi_priv.h" -#include "mapi/u_execmem.h" +#include "u_execmem.h" #ifdef USE_X86_ASM diff --git a/src/mapi/glapi/glthread.h b/src/mapi/glapi/glthread.h index 1c3f4e2bf7..2399abb2ba 100644 --- a/src/mapi/glapi/glthread.h +++ b/src/mapi/glapi/glthread.h @@ -1,7 +1,7 @@ #ifndef GLTHREAD_H #define GLTHREAD_H -#include "mapi/u_thread.h" +#include "u_thread.h" #ifdef __cplusplus extern "C" { diff --git a/src/mapi/mapi/mapi.c b/src/mapi/mapi.c index b471c40b14..b471c40b14 100644 --- a/src/mapi/mapi/mapi.c +++ b/src/mapi/mapi.c diff --git a/src/mapi/mapi/mapi.h b/src/mapi/mapi.h index c7e43e22e9..c7e43e22e9 100644 --- a/src/mapi/mapi/mapi.h +++ b/src/mapi/mapi.h diff --git a/src/mapi/mapi/mapi_abi.py b/src/mapi/mapi_abi.py index c645c02f91..6bfcfa9af6 100644 --- a/src/mapi/mapi/mapi_abi.py +++ b/src/mapi/mapi_abi.py @@ -29,7 +29,7 @@ import sys # make it possible to import glapi import os -GLAPI = os.path.join(".", os.path.dirname(sys.argv[0]), "../glapi/gen") +GLAPI = os.path.join(".", os.path.dirname(sys.argv[0]), "glapi/gen") sys.path.append(GLAPI) import re diff --git a/src/mapi/mapi/mapi_glapi.c b/src/mapi/mapi_glapi.c index 4627c4de02..a6838ce61e 100644 --- a/src/mapi/mapi/mapi_glapi.c +++ b/src/mapi/mapi_glapi.c @@ -29,9 +29,9 @@ #include <string.h> #include "glapi/glapi.h" -#include "mapi/u_current.h" -#include "mapi/table.h" /* for MAPI_TABLE_NUM_SLOTS */ -#include "mapi/stub.h" +#include "u_current.h" +#include "table.h" /* for MAPI_TABLE_NUM_SLOTS */ +#include "stub.h" /* * Global variables, _glapi_get_context, and _glapi_get_dispatch are defined in diff --git a/src/mapi/mapi/mapi_tmp.h b/src/mapi/mapi_tmp.h index f326b4a4e1..f326b4a4e1 100644 --- a/src/mapi/mapi/mapi_tmp.h +++ b/src/mapi/mapi_tmp.h diff --git a/src/mapi/shared-glapi/Makefile.am b/src/mapi/shared-glapi/Makefile.am index 2cc5c59054..2021a7330f 100644 --- a/src/mapi/shared-glapi/Makefile.am +++ b/src/mapi/shared-glapi/Makefile.am @@ -2,7 +2,7 @@ TOP = $(top_srcdir) GLAPI = $(top_srcdir)/src/mapi/glapi -include $(top_srcdir)/src/mapi/mapi/Makefile.sources +include $(top_srcdir)/src/mapi/Makefile.sources lib_LTLIBRARIES = libglapi.la libglapi_la_SOURCES = $(MAPI_GLAPI_FILES) diff --git a/src/mapi/shared-glapi/SConscript b/src/mapi/shared-glapi/SConscript index 0097c1c79e..07b3eff118 100644 --- a/src/mapi/shared-glapi/SConscript +++ b/src/mapi/shared-glapi/SConscript @@ -28,7 +28,7 @@ def mapi_objects(env, printer, mode): # generate ABI header header = env.CodeGenerate( target = header_name, - script = '../mapi/mapi_abi.py', + script = '../mapi_abi.py', source = '../glapi/gen/gl_and_es_API.xml', command = python_cmd + ' $SCRIPT ' + \ '--printer %s --mode lib $SOURCE > $TARGET' % (printer), @@ -59,7 +59,7 @@ def mapi_objects(env, printer, mode): for s in mapi_sources[mode]: o = env.SharedObject( target = '%s-%s' % (printer, s[:-2]), - source = '../mapi/' + s, + source = '../' + s, CPPPATH = cpppath, CPPDEFINES = cppdefines, ) diff --git a/src/mapi/mapi/stub.c b/src/mapi/stub.c index 688dc8143a..688dc8143a 100644 --- a/src/mapi/mapi/stub.c +++ b/src/mapi/stub.c diff --git a/src/mapi/mapi/stub.h b/src/mapi/stub.h index 98e2553ecd..98e2553ecd 100644 --- a/src/mapi/mapi/stub.h +++ b/src/mapi/stub.h diff --git a/src/mapi/mapi/table.c b/src/mapi/table.c index 9bb9f654a2..9bb9f654a2 100644 --- a/src/mapi/mapi/table.c +++ b/src/mapi/table.c diff --git a/src/mapi/mapi/table.h b/src/mapi/table.h index d84523f777..d84523f777 100644 --- a/src/mapi/mapi/table.h +++ b/src/mapi/table.h diff --git a/src/mapi/mapi/u_compiler.h b/src/mapi/u_compiler.h index f376e97a0f..f376e97a0f 100644 --- a/src/mapi/mapi/u_compiler.h +++ b/src/mapi/u_compiler.h diff --git a/src/mapi/mapi/u_current.c b/src/mapi/u_current.c index d902375f8c..d902375f8c 100644 --- a/src/mapi/mapi/u_current.c +++ b/src/mapi/u_current.c diff --git a/src/mapi/mapi/u_current.h b/src/mapi/u_current.h index f9cffd8c3d..f9cffd8c3d 100644 --- a/src/mapi/mapi/u_current.h +++ b/src/mapi/u_current.h diff --git a/src/mapi/mapi/u_execmem.c b/src/mapi/u_execmem.c index e5072e06e9..e5072e06e9 100644 --- a/src/mapi/mapi/u_execmem.c +++ b/src/mapi/u_execmem.c diff --git a/src/mapi/mapi/u_execmem.h b/src/mapi/u_execmem.h index 13fff8df22..13fff8df22 100644 --- a/src/mapi/mapi/u_execmem.h +++ b/src/mapi/u_execmem.h diff --git a/src/mapi/mapi/u_macros.h b/src/mapi/u_macros.h index 72345b5f15..72345b5f15 100644 --- a/src/mapi/mapi/u_macros.h +++ b/src/mapi/u_macros.h diff --git a/src/mapi/mapi/u_thread.h b/src/mapi/u_thread.h index a5e5043701..a5e5043701 100644 --- a/src/mapi/mapi/u_thread.h +++ b/src/mapi/u_thread.h diff --git a/src/mapi/vgapi/Makefile.am b/src/mapi/vgapi/Makefile.am index 7d7c581236..0af7115eb7 100644 --- a/src/mapi/vgapi/Makefile.am +++ b/src/mapi/vgapi/Makefile.am @@ -40,13 +40,13 @@ VG_include_HEADERS = \ lib_LTLIBRARIES = libOpenVG.la TOP=$(top_srcdir) -include ../mapi/Makefile.sources +include ../Makefile.sources libOpenVG_la_SOURCES = $(MAPI_FILES) vgapi_tmp.h libOpenVG_la_LIBADD = $(VG_LIB_DEPS) libOpenVG_la_LDFLAGS = -version-number 1 -no-undefined -vgapi_tmp.h: $(srcdir)/vgapi.csv $(top_srcdir)/src/mapi/mapi/mapi_abi.py - $(AM_V_GEN) $(PYTHON2) $(PYTHON_FLAGS) $(top_srcdir)/src/mapi/mapi/mapi_abi.py \ +vgapi_tmp.h: $(srcdir)/vgapi.csv $(top_srcdir)/src/mapi/mapi_abi.py + $(AM_V_GEN) $(PYTHON2) $(PYTHON_FLAGS) $(top_srcdir)/src/mapi/mapi_abi.py \ --printer vgapi --mode lib $< > $@ BUILT_SOURCES = vgapi_tmp.h diff --git a/src/mapi/vgapi/SConscript b/src/mapi/vgapi/SConscript index fd4467bb23..63102c107e 100644 --- a/src/mapi/vgapi/SConscript +++ b/src/mapi/vgapi/SConscript @@ -9,7 +9,7 @@ env = env.Clone() vgapi_header, = env.CodeGenerate( target = 'vgapi_tmp.h', - script = '../mapi/mapi_abi.py', + script = '../mapi_abi.py', source = 'vgapi.csv', command = python_cmd + ' $SCRIPT --printer vgapi --mode lib $SOURCE > $TARGET' ) @@ -37,7 +37,7 @@ mapi_sources = [ vgapi_objects = [] for s in mapi_sources: - o = env.SharedObject(s[:-2], '../mapi/' + s) + o = env.SharedObject(s[:-2], '../' + s) vgapi_objects.append(o) env.Depends(vgapi_objects, vgapi_header) |