radeon: Insist on libdrm being present to build.
[mesa.git] / src / mesa / drivers / dri / r200 / Makefile
1 # src/mesa/drivers/dri/r200/Makefile
2
3 TOP = ../../../../..
4 include $(TOP)/configs/current
5
6 LIBNAME = r200_dri.so
7
8 include ../Makefile.defines
9
10 ifeq ($(RADEON_LDFLAGS),)
11 CS_SOURCES = radeon_cs_space_drm.c radeon_bo.c radeon_cs.c
12 endif
13
14 RADEON_COMMON_SOURCES = \
15 radeon_buffer_objects.c \
16 radeon_common_context.c \
17 radeon_common.c \
18 radeon_dma.c \
19 radeon_debug.c \
20 radeon_fbo.c \
21 radeon_mipmap_tree.c \
22 radeon_pixel_read.c \
23 radeon_queryobj.c \
24 radeon_span.c \
25 radeon_texture.c \
26 radeon_tex_copy.c \
27 radeon_tile.c
28
29 DRIVER_SOURCES = r200_context.c \
30 r200_ioctl.c \
31 r200_state.c \
32 r200_state_init.c \
33 r200_cmdbuf.c \
34 r200_tex.c \
35 r200_texstate.c \
36 r200_tcl.c \
37 r200_swtcl.c \
38 r200_maos.c \
39 r200_sanity.c \
40 r200_fragshader.c \
41 r200_vertprog.c \
42 r200_blit.c \
43 radeon_screen.c \
44 $(EGL_SOURCES) \
45 $(RADEON_COMMON_SOURCES) \
46 $(CS_SOURCES)
47
48 C_SOURCES = $(COMMON_SOURCES) $(DRIVER_SOURCES)
49
50 X86_SOURCES =
51
52 DRIVER_DEFINES = -DRADEON_R200
53
54 INCLUDES += $(RADEON_CFLAGS)
55 DRI_LIB_DEPS += $(RADEON_LIBS)
56
57 ##### TARGETS #####
58
59
60 include ../Makefile.targets
61
62 #INCLUDES += -I../radeon/server
63