build: Don't build libdricore if not building classic drivers
[mesa.git] / src / mesa / sources.mak
index 74744c4dc7bfa07f7c710c34c2e0f5cb58b8e5f8..dabddf2fe5f624cef91402bb9e85e60222e1bc60 100644 (file)
@@ -6,7 +6,7 @@
 # this is part of MAIN_FILES
 MAIN_ES_FILES = \
        $(BUILDDIR)main/api_exec_es1.c \
-       $(BUILDDIR)main/api_exec_es2.c
+       $(SRCDIR)main/es1_conversion.c
 
 MAIN_FILES = \
        $(SRCDIR)main/api_arrayelt.c \
@@ -31,7 +31,6 @@ MAIN_FILES = \
        $(SRCDIR)main/debug.c \
        $(SRCDIR)main/depth.c \
        $(SRCDIR)main/dlist.c \
-       $(SRCDIR)main/dlopen.c \
        $(SRCDIR)main/drawpix.c \
        $(SRCDIR)main/drawtex.c \
        $(SRCDIR)main/enable.c \
@@ -84,6 +83,7 @@ MAIN_FILES = \
        $(SRCDIR)main/stencil.c \
        $(SRCDIR)main/syncobj.c \
        $(SRCDIR)main/texcompress.c \
+       $(SRCDIR)main/texcompress_cpal.c \
        $(SRCDIR)main/texcompress_rgtc.c \
        $(SRCDIR)main/texcompress_s3tc.c \
        $(SRCDIR)main/texcompress_fxt1.c \
@@ -94,7 +94,6 @@ MAIN_FILES = \
        $(SRCDIR)main/texgetimage.c \
        $(SRCDIR)main/teximage.c \
        $(SRCDIR)main/texobj.c \
-       $(SRCDIR)main/texpal.c \
        $(SRCDIR)main/texparam.c \
        $(SRCDIR)main/texstate.c \
        $(SRCDIR)main/texstorage.c \
@@ -372,18 +371,13 @@ MESA_GALLIUM_OBJECTS = \
 COMMON_DRIVER_OBJECTS = $(COMMON_DRIVER_FILES:.c=.o)
 
 
-### Other archives/libraries
-
-GLSL_LIBS = \
-       $(top_builddir)/src/glsl/libglsl.a
-
-
 ### Include directories
 
 INCLUDE_DIRS = \
        -I$(top_srcdir)/include \
        -I$(top_srcdir)/src/glsl \
        -I$(top_builddir)/src/glsl \
+       -I$(top_srcdir)/src/glsl/glcpp \
        -I$(top_srcdir)/src/mesa \
        -I$(top_builddir)/src/mesa \
        -I$(top_srcdir)/src/mesa/main \