Merge commit 'origin/master' into gallium-sw-api-2
[mesa.git] / src / gallium / winsys / drm / radeon / Makefile
index 8721f2cb5d47aac7805c13de48da036ddfc37ebd..bacdf3de28abda1ea8d38e4e47c6cfefd819ecdf 100644 (file)
@@ -1,32 +1,12 @@
-
+# src/gallium/winsys/drm/radeon/Makefile
 TOP = ../../../../..
 include $(TOP)/configs/current
 
-LIBNAME = radeon_dri.so
-
-MINIGLX_SOURCES =
-
-PIPE_DRIVERS = \
-       $(TOP)/src/gallium/state_trackers/dri2/libdri2drm.a \
-       $(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a \
-       $(TOP)/src/gallium/drivers/r300/libr300.a
-
-DRIVER_SOURCES = \
-       radeon_buffer.c \
-       radeon_drm.c \
-       radeon_r300.c \
-       radeon_winsys_softpipe.c
-
-C_SOURCES = \
-       $(COMMON_GALLIUM_SOURCES) \
-       $(DRIVER_SOURCES)
-
-ASM_SOURCES = 
-
-DRIVER_DEFINES = -I../../../drivers/r300
-
-include ../Makefile.template
-
-DRI_LIB_DEPS += -ldrm_radeon
+SUBDIRS = core $(GALLIUM_STATE_TRACKERS_DIRS)
 
-symlinks:
+default install clean:
+       @for dir in $(SUBDIRS) ; do \
+               if [ -d $$dir ] ; then \
+                       (cd $$dir && $(MAKE) $@) || exit 1; \
+               fi \
+       done