summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/drm/radeon/Makefile
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-03-04 15:36:42 -0800
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-03-04 15:50:00 -0800
commit07ffb00d30c750f85047485dbf091c3196a2abbf (patch)
tree1df007cd115e88ec27cc3d2b3d7949d827195890 /src/gallium/winsys/drm/radeon/Makefile
parent04ae9c3fdd62831485b7384da62566a0b82b84af (diff)
radeon-gallium: DRI2 state tracker, part 3.
Properly setup the build process for adding in xorg and egl trackers, and finally put radeon_context and radeon_screen to bed.
Diffstat (limited to 'src/gallium/winsys/drm/radeon/Makefile')
-rw-r--r--src/gallium/winsys/drm/radeon/Makefile36
1 files changed, 8 insertions, 28 deletions
diff --git a/src/gallium/winsys/drm/radeon/Makefile b/src/gallium/winsys/drm/radeon/Makefile
index 8721f2cb5d..fc8abc572f 100644
--- a/src/gallium/winsys/drm/radeon/Makefile
+++ b/src/gallium/winsys/drm/radeon/Makefile
@@ -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 dri2
-symlinks:
+default install clean:
+ @for dir in $(SUBDIRS) ; do \
+ if [ -d $$dir ] ; then \
+ (cd $$dir && $(MAKE) $@) || exit 1; \
+ fi \
+ done