Merge branch 'shader-file-reorg'
[mesa.git] / src / mesa / drivers / osmesa / Makefile
index 9010bbd130a5ed10bf67e5f3b1b3c02d4c4860a7..c6b4a040851b45149e57930d60c3732fd7699256 100644 (file)
@@ -16,20 +16,15 @@ OBJECTS = $(SOURCES:.c=.o)
 
 INCLUDE_DIRS = \
        -I$(TOP)/include \
+       -I$(TOP)/src/mapi \
        -I$(TOP)/src/mesa \
        -I$(TOP)/src/mesa/main
 
-# Standalone osmesa needs to be linked with core Mesa APIs
-ifeq ($(DRIVER_DIRS), osmesa)
 CORE_MESA = \
        $(TOP)/src/mesa/libmesa.a \
-       $(TOP)/src/mesa/libglapi.a \
+       $(TOP)/src/mapi/glapi/libglapi.a \
        $(TOP)/src/glsl/cl/libglslcl.a \
        $(TOP)/src/glsl/pp/libglslpp.a
-else
-CORE_MESA =
-endif
-
 
 .c.o:
        $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@