i965/vs: Implement integer quotient and remainder math operations.
[mesa.git] / src / mesa / drivers / dri / r300 / Makefile
index 2245998c952332faea7b1b1c2bc1f0e9c1ba4a4a..55c75802cef5d1e093953f86cd387aa63713f88f 100644 (file)
@@ -3,23 +3,14 @@
 TOP = ../../../../..
 include $(TOP)/configs/current
 
-CFLAGS += $(RADEON_CFLAGS)
-
 LIBNAME = r300_dri.so
 
+include ../Makefile.defines
+
 ifeq ($(RADEON_LDFLAGS),)
 CS_SOURCES = radeon_cs_space_drm.c radeon_bo.c radeon_cs.c
 endif
 
-COMMON_SOURCES = \
-       ../../common/driverfuncs.c \
-       ../common/mm.c \
-       ../common/utils.c \
-       ../common/texmem.c \
-       ../common/vblank.c \
-       ../common/xmlconfig.c \
-       ../common/dri_util.c
-
 RADEON_COMMON_SOURCES = \
        radeon_bo_legacy.c \
        radeon_buffer_objects.c \
@@ -36,7 +27,6 @@ RADEON_COMMON_SOURCES = \
        radeon_span.c \
        radeon_texture.c \
        radeon_tex_copy.c \
-       radeon_tex_getimage.c \
        radeon_tile.c
 
 DRIVER_SOURCES = \
@@ -64,6 +54,7 @@ C_SOURCES = $(COMMON_SOURCES) $(DRIVER_SOURCES)
 DRIVER_DEFINES = -DRADEON_R300
 #      -DRADEON_BO_TRACK \
 
+INCLUDES += $(RADEON_CFLAGS)
 DRI_LIB_DEPS += $(RADEON_LDFLAGS)
 
 SUBDIRS = compiler
@@ -73,5 +64,5 @@ EXTRA_MODULES = compiler/libr300compiler.a
 
 ##### TARGETS #####
 
-include ../Makefile.template
+include ../Makefile.targets