summaryrefslogtreecommitdiff
path: root/dist/Mesa/src/glx/x11/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dist/Mesa/src/glx/x11/Makefile')
-rw-r--r--dist/Mesa/src/glx/x11/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/dist/Mesa/src/glx/x11/Makefile b/dist/Mesa/src/glx/x11/Makefile
index c509d4e08..9f0943a14 100644
--- a/dist/Mesa/src/glx/x11/Makefile
+++ b/dist/Mesa/src/glx/x11/Makefile
@@ -46,7 +46,6 @@ INCLUDES = -I. \
-I$(TOP)/include/GL/internal \
-I$(TOP)/src/mesa/main \
-I$(TOP)/src/mesa/glapi \
- -I$(TOP)/src/mesa/drivers/dri/common \
$(LIBDRM_CFLAGS) \
$(X11_INCLUDES)
@@ -63,12 +62,9 @@ INCLUDES = -I. \
default: depend $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME)
-glcontextmodes.c:
- ln -s $(TOP)/src/mesa/drivers/dri/common/glcontextmodes.c .
-
# Make libGL
$(TOP)/$(LIB_DIR)/$(GL_LIB_NAME): $(OBJECTS) Makefile
- $(TOP)/bin/mklib -o $(GL_LIB) -linker '$(CC)' \
+ $(TOP)/bin/mklib -o $(GL_LIB) -linker '$(CC)' -ldflags '$(LDFLAGS)' \
-major 1 -minor 2 $(MKLIB_OPTIONS) \
-install $(TOP)/$(LIB_DIR) $(GL_LIB_DEPS) $(OBJECTS)
@@ -81,7 +77,7 @@ depend: $(SOURCES) $(MESA_GLAPI_SOURCES) $(MESA_ASM_API) Makefile
# Emacs tags
tags:
- etags `find . -name \*.[ch]` `find ../include`
+ etags `find . -name \*.[ch]` `find $(TOP)/include`
# Dummy install target
install: