1 # $NetBSD: Makefile,v 1.7 2014/08/13 22:48:15 macallan Exp $
6 SRCS
= nv_cursor.c nv_dac.c nv_dga.c nv_driver.c nv_hw.c
7 SRCS
+= nv_setup.c nv_shadow.c nv_video.c nv_xaa.c riva_cursor.c
8 SRCS
+= riva_dac.c riva_dga.c riva_driver.c riva_hw.c
9 SRCS
+= riva_setup.c riva_shadow.c riva_xaa.c g80_cursor.c
10 SRCS
+= g80_dac.c g80_display.c g80_dma.c g80_driver.c g80_exa.c
11 SRCS
+= g80_output.c g80_sor.c g80_xaa.c
14 .if
${MACHINE} == "macppc"
15 CPPFLAGS
+= -DAVOID_VGAHW
18 .if
${MACHINE} == "i386" ||
${MACHINE} == "amd64"
20 # the test uses pci_device_has_kernel_driver() which, for now at least, only
21 # makes sense on x86 ( it just checks if the kernel driver handling the
22 # device is vga ) - and even there, genfb and the like don't do anything
23 # that would prevent this driver from working. Might need to revisit this once
24 # the new DRM2 code has nvidia support
25 #CPPFLAGS+= -DNV_TEST_FOR_KERNEL_DRIVER
28 CPPFLAGS
+= -DHAVE_XAA_H
30 .
include "../Makefile.xf86-driver"