summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-12-17 18:50:25 -0800
committerMatt Turner <[email protected]>2015-01-23 14:28:44 -0800
commita37ae2ab922a0a7fceb9dba85dba11c26f4cf736 (patch)
treeb10e58df4b7f51a18ecd9c7f3d01f87f3edbb951 /src/mapi/glapi
parent961def10745b52cb7430eaed8913a457a322556c (diff)
mapi: Build with subdir-objects.
Diffstat (limited to 'src/mapi/glapi')
-rw-r--r--src/mapi/glapi/Makefile.sources22
-rw-r--r--src/mapi/glapi/gen/glapi_gen.mk40
2 files changed, 0 insertions, 62 deletions
diff --git a/src/mapi/glapi/Makefile.sources b/src/mapi/glapi/Makefile.sources
deleted file mode 100644
index df149a7d82b..00000000000
--- a/src/mapi/glapi/Makefile.sources
+++ /dev/null
@@ -1,22 +0,0 @@
-# src/mapi/glapi/Makefile.sources
-
-GLAPI_UTIL_SOURCES = \
- $(top_builddir)/src/mapi/glapi/glapi_gentable.c
-
-GLAPI_SOURCES = \
- $(top_srcdir)/src/mapi/glapi/glapi_dispatch.c \
- $(top_srcdir)/src/mapi/glapi/glapi_entrypoint.c \
- $(top_srcdir)/src/mapi/glapi/glapi_getproc.c \
- $(top_srcdir)/src/mapi/glapi/glapi_nop.c \
- $(top_srcdir)/src/mapi/glapi/glapi.c \
- $(top_srcdir)/src/mapi/glapi/glapi.h \
- $(top_srcdir)/src/mapi/glapi/glapi_priv.h
-
-X86_API = \
- $(top_builddir)/src/mapi/glapi/glapi_x86.S
-
-X86_64_API = \
- $(top_builddir)/src/mapi/glapi/glapi_x86-64.S
-
-SPARC_API = \
- $(top_builddir)/src/mapi/glapi/glapi_sparc.S
diff --git a/src/mapi/glapi/gen/glapi_gen.mk b/src/mapi/glapi/gen/glapi_gen.mk
deleted file mode 100644
index b8bb2f465e4..00000000000
--- a/src/mapi/glapi/gen/glapi_gen.mk
+++ /dev/null
@@ -1,40 +0,0 @@
-# Helpers for glapi header generation
-
-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_abi.py
-glapi_gen_mapi_deps := \
- $(glapi_gen_mapi_script) \
- $(glapi_gen_common_deps)
-
-# $(1): path to an XML file
-# $(2): name of the printer
-define glapi_gen_mapi
-@$(MKDIR_P) $(dir $@)
-$(AM_V_GEN)$(PYTHON2) $(PYTHON_FLAGS) $(glapi_gen_mapi_script) \
- --mode lib --printer $(2) $(1) > $@
-endef
-
-glapi_gen_dispatch_script := $(top_srcdir)/src/mapi/glapi/gen/gl_table.py
-glapi_gen_dispatch_deps := $(glapi_gen_common_deps)
-
-# $(1): path to an XML file
-# $(2): empty, es1, or es2 for entry point filtering
-define glapi_gen_dispatch
-@$(MKDIR_P) $(dir $@)
-$(AM_V_GEN)$(PYTHON2) $(PYTHON_FLAGS) $(glapi_gen_dispatch_script) \
- -f $(1) -m remap_table $(if $(2),-c $(2),) > $@
-endef
-
-glapi_gen_remap_script := $(top_srcdir)/src/mapi/glapi/gen/remap_helper.py
-glapi_gen_remap_deps := $(glapi_gen_common_deps)
-
-# $(1): path to an XML file
-# $(2): empty, es1, or es2 for entry point filtering
-define glapi_gen_remap
-@$(MKDIR_P) $(dir $@)
-$(AM_V_GEN)$(PYTHON2) $(PYTHON_FLAGS) $(glapi_gen_remap_script) \
- -f $(1) $(if $(2),-c $(2),) > $@
-endef