include $(TOP)/configs/current in glapi/Makefile so those vars can be
easily overridden by any system config, if needed.
MESA_TINY=0
# external projects
-DRM_SOURCE_PATH=$(TOP)/../drm
+#DRM_SOURCE_PATH=$(TOP)/../drm
+DRM_SOURCE_PATH=/home/projects/DRI-freedesktop/drm
# Compiler and flags
CC = cc
MKDEP_OPTIONS = -fdepend
MAKE = make
+# Python and flags (generally only needed by the developers)
+PYTHON2 = python
+PYTHON_FLAGS = -t -O -O
+
# Library names (base name)
GL_LIB = GL
GLU_LIB = GLU
# up to him/her to re-run this makefile and check in the newly generated files.
+TOP = ../../..
+include $(TOP)/configs/current
+
OUTPUTS = glprocs.h glapitemp.h glapioffsets.h glapitable.h \
../main/enums.c \
../x86/glapi_x86.S \
COMMON = gl_XML.py license.py gl_API.xml typeexpr.py
COMMON_GLX = $(COMMON) glX_XML.py glX_proto_common.py
-PYTHON2 = python
-PYTHON_FLAGS = -t -O -O
-
all: $(OUTPUTS)
glprocs.h: $(COMMON) gl_procs.py