diff options
Diffstat (limited to 'src/mesa/drivers/dri/Makefile.template')
-rw-r--r-- | src/mesa/drivers/dri/Makefile.template | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/Makefile.template b/src/mesa/drivers/dri/Makefile.template index 29558c9e291..fa1bc2993fb 100644 --- a/src/mesa/drivers/dri/Makefile.template +++ b/src/mesa/drivers/dri/Makefile.template @@ -1,7 +1,5 @@ # -*-makefile-*- -TOP = ../../../../.. - MESA_MODULES = $(TOP)/src/mesa/mesa.a @@ -36,7 +34,7 @@ endif ### Include directories SHARED_INCLUDES = \ -I. \ - -I../common \ + -I$(TOP)/src/mesa/drivers/dri/common \ -Iserver \ -I$(DRM_SOURCE_PATH)/shared \ -I$(TOP)/include \ @@ -75,7 +73,7 @@ default: depend symlinks $(LIB_DIR)/$(LIBNAME) # $(WINLIB) $(LIB_DEPS) $(WINOBJ) $(MESA_MODULES) $(OBJECTS) -$(LIB_DIR)/$(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(WINOBJ) Makefile ../Makefile.template +$(LIB_DIR)/$(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(WINOBJ) Makefile $(TOP)/src/mesa/drivers/dri/Makefile.template rm -f $@ && gcc -o $@ -shared $(OBJECTS) $(MESA_MODULES) $(WINOBJ) $(GL_LIB_DEPS) |