summaryrefslogtreecommitdiff
path: root/src/mapi
diff options
context:
space:
mode:
authorJonathan Gray <jsg@jsg.id.au>2017-03-17 17:10:22 +1100
committerEmil Velikov <emil.l.velikov@gmail.com>2017-03-17 13:06:26 +0000
commit9e8d6ba1d678a211e309310c09e71f835f2046d8 (patch)
treee6f3b3e902fa6a68f2af5dc950b581a6cea47c2f /src/mapi
parentce4058dafd2dd283addaa99e8d5b51e53f634f9b (diff)
glapi: avoid using $< in non-suffix make rules
Using $< in non-suffix make rules is a GNU extension. Explicitly use the name of the python script to fix the build on OpenBSD. Signed-off-by: Jonathan Gray <jsg@jsg.id.au> Reviewed-by: Emil Velikov <emil.velikov@collabore.com>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mapi/glapi/gen/Makefile.am b/src/mapi/glapi/gen/Makefile.am
index 1375855858..acedd266d6 100644
--- a/src/mapi/glapi/gen/Makefile.am
+++ b/src/mapi/glapi/gen/Makefile.am
@@ -290,10 +290,10 @@ $(MESA_DIR)/main/api_exec.c: gl_genexec.py apiexec.py $(COMMON)
$(PYTHON_GEN) $(srcdir)/gl_genexec.py -f $(srcdir)/gl_and_es_API.xml > $@
$(MESA_DIR)/main/marshal_generated.c: gl_marshal.py marshal_XML.py $(COMMON)
- $(PYTHON_GEN) $< -f $(srcdir)/gl_and_es_API.xml > $@
+ $(PYTHON_GEN) $(srcdir)/gl_marshal.py -f $(srcdir)/gl_and_es_API.xml > $@
$(MESA_DIR)/main/marshal_generated.h: gl_marshal_h.py marshal_XML.py $(COMMON)
- $(PYTHON_GEN) $< -f $(srcdir)/gl_and_es_API.xml > $@
+ $(PYTHON_GEN) $(srcdir)/gl_marshal_h.py -f $(srcdir)/gl_and_es_API.xml > $@
$(MESA_DIR)/main/dispatch.h: gl_table.py $(COMMON)
$(PYTHON_GEN) $(srcdir)/gl_table.py -f $(srcdir)/gl_and_es_API.xml -m remap_table > $@