1 # $NetBSD: Makefile,v 1.2 2015/09/19 23:00:44 wiz Exp $
5 DRIVER
= xf86-video-ati-kms
6 DRIVER_NAME
= radeon_drv
8 .PATH
: ${X11SRCDIR.
${DRIVER}}/src
/AtomBios
15 SRCS.DRI
= radeon_dri.c
16 CPPFLAGS
+= ${X11FLAGS.DRI
}
21 . if
${MACHINE_ARCH} == "i386" ||
${MACHINE_ARCH} == "x86_64"
22 SRCS.KMS
= radeon_dri2.c radeon_kms.c drmmode_display.c radeon_vbo.c
23 CPPFLAGS
+= -DXF86DRM_MODE
24 LIBDPLIBS
+= drm_radeon
${.CURDIR
}/..
/..
/..
/lib
/libdrm_radeon
28 SRCS.EXA
= radeon_exa.c r600_exa.c r6xx_accel.c \
29 r600_textured_videofuncs.c r600_shader.c radeon_exa_shared.c \
30 evergreen_exa.c evergreen_accel.c evergreen_shader.c \
31 evergreen_textured_videofuncs.c cayman_accel.c cayman_shader.c
32 SRCS.KMS
= radeon_dri2.c radeon_kms.c drmmode_display.c radeon_vbo.c \
35 SRCS.GLAMOR
= radeon_glamor.c
37 SRCS
= radeon_accel.c radeon_video.c \
38 radeon_misc.c radeon_probe.c \
39 radeon_textured_video.c radeon_xvmc.c \
46 CPPFLAGS
+= -DHAVE_CONFIG_H
47 CPPFLAGS
+= -I
${DESTDIR}${X11INCDIR}/X11 \
48 -I
${DESTDIR}${X11INCDIR}/X11
/dri \
49 -I
${DESTDIR}${X11INCDIR}/libdrm \
50 -I
${DESTDIR}${X11INCDIR}/pixman-1 \
51 -I
${X11SRCDIR.
${DRIVER}}/..
/include
56 .
include "../Makefile.xf86-driver"