Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / mit / xorg / server / drivers / xf86-video-radeon / Makefile
blob3cb9d5bf930be070eeeaeb758d91e4c361c05c1c
1 # $NetBSD: Makefile,v 1.5 2009/10/08 19:06:51 snj Exp $
3 .include <bsd.own.mk>
5 DRIVER= xf86-video-ati
6 DRIVER_NAME= radeon_drv
8 .PATH: ${X11SRCDIR.${DRIVER}}/src/AtomBios
9 SRCS.ATOMBIOS= \
10 CD_Operations.c \
11 Decoder.c \
12 hwserv_drv.c
14 .if ${X11DRI} != "no"
15 SRCS.DRI= radeon_dri.c
16 CPPFLAGS+= ${X11FLAGS.DRI}
17 .endif
19 SRCS.EXA= radeon_exa.c r600_exa.c r6xx_accel.c \
20 r600_textured_videofuncs.c r600_shader.c
22 SRCS= radeon_accel.c radeon_cursor.c radeon_dga.c \
23 radeon_driver.c radeon_video.c radeon_bios.c \
24 radeon_mm_i2c.c radeon_vip.c radeon_misc.c radeon_probe.c \
25 legacy_crtc.c legacy_output.c radeon_textured_video.c \
26 radeon_crtc.c radeon_output.c radeon_modes.c radeon_tv.c \
27 radeon_legacy_memory.c \
28 $(SRCS.ATOMBIOS) radeon_atombios.c radeon_atomwrapper.c \
29 $(SRCS.DRI) $(SRCS.EXA) atombios_output.c atombios_crtc.c
30 MAN= radeon.4
32 CPPFLAGS+= -DDISABLE_EASF -DENABLE_ALL_SERVICE_FUNCTIONS \
33 -DATOM_BIOS -DATOM_BIOS_PARSER -DDRIVER_PARSER \
34 -DHAVE_CONFIG_H
35 CPPFLAGS+= -I${X11SRCDIR.${DRIVER}}/src/AtomBios/includes \
36 -I${DESTDIR}${X11INCDIR}/X11 \
37 -I${DESTDIR}${X11INCDIR}/X11/dri \
38 -I${DESTDIR}${X11INCDIR}/drm \
39 -I${X11SRCDIR.${DRIVER}}/../include
41 # XXX
42 COPTS+= -Wno-error
44 .include "../Makefile.xf86-driver"