| @@ -1,29 +1,29 @@ | | | @@ -1,29 +1,29 @@ |
1 | # $NetBSD: Makefile,v 1.12 2016/09/21 18:00:26 mrg Exp $ | | 1 | # $NetBSD: Makefile,v 1.13 2018/07/12 21:22:20 macallan Exp $ |
2 | | | 2 | |
3 | DRIVER= xf86-video-nv | | 3 | DRIVER= xf86-video-nv |
4 | DRIVER_NAME= nv_drv | | 4 | DRIVER_NAME= nv_drv |
5 | | | 5 | |
6 | SRCS= nv_cursor.c nv_dac.c nv_dga.c nv_driver.c nv_hw.c | | 6 | SRCS= nv_cursor.c nv_dac.c nv_dga.c nv_driver.c nv_exa.c nv_hw.c |
7 | SRCS+= nv_setup.c nv_shadow.c nv_video.c riva_cursor.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 | | 8 | SRCS+= riva_dac.c riva_dga.c riva_driver.c riva_hw.c |
9 | SRCS+= riva_setup.c riva_shadow.c g80_cursor.c | | 9 | SRCS+= riva_setup.c riva_shadow.c g80_cursor.c |
10 | SRCS+= g80_dac.c g80_display.c g80_dma.c g80_driver.c g80_exa.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 | | 11 | SRCS+= g80_output.c g80_sor.c |
12 | MAN= nv.4 | | 12 | MAN= nv.4 |
13 | | | 13 | |
14 | # XAA files have generic functions as well | | 14 | # XAA files have generic functions as well |
15 | #.if ${XORG_SERVER_SUBDIR} == "xorg-server.old" | | 15 | #.if ${XORG_SERVER_SUBDIR} == "xorg-server.old" |
16 | SRCS+= nv_xaa.c riva_xaa.c g80_xaa.c | | 16 | SRCS+= riva_xaa.c g80_xaa.c |
17 | #.endif | | 17 | #.endif |
18 | | | 18 | |
19 | .if ${MACHINE} == "macppc" | | 19 | .if ${MACHINE} == "macppc" |
20 | CPPFLAGS+= -DAVOID_VGAHW | | 20 | CPPFLAGS+= -DAVOID_VGAHW |
21 | .endif | | 21 | .endif |
22 | | | 22 | |
23 | .if ${MACHINE} == "i386" || ${MACHINE} == "amd64" | | 23 | .if ${MACHINE} == "i386" || ${MACHINE} == "amd64" |
24 | # XXX | | 24 | # XXX |
25 | # the test uses pci_device_has_kernel_driver() which, for now at least, only | | 25 | # the test uses pci_device_has_kernel_driver() which, for now at least, only |
26 | # makes sense on x86 ( it just checks if the kernel driver handling the | | 26 | # makes sense on x86 ( it just checks if the kernel driver handling the |
27 | # device is vga ) - and even there, genfb and the like don't do anything | | 27 | # device is vga ) - and even there, genfb and the like don't do anything |
28 | # that would prevent this driver from working. Might need to revisit this once | | 28 | # that would prevent this driver from working. Might need to revisit this once |
29 | # the new DRM2 code has nvidia support | | 29 | # the new DRM2 code has nvidia support |