1 1.10 mrg # $NetBSD: Makefile,v 1.10 2019/03/05 09:08:51 mrg Exp $ 2 1.1 mrg 3 1.1 mrg DRIVER= xf86-video-nouveau 4 1.1 mrg DRIVER_NAME= nouveau_drv 5 1.1 mrg 6 1.1 mrg SRCS= nouveau_copy.c \ 7 1.1 mrg nouveau_copy85b5.c \ 8 1.1 mrg nouveau_copy90b5.c \ 9 1.1 mrg nouveau_copya0b5.c \ 10 1.1 mrg nouveau_exa.c \ 11 1.1 mrg nouveau_xv.c \ 12 1.1 mrg nouveau_dri2.c \ 13 1.1 mrg nouveau_present.c \ 14 1.1 mrg nouveau_sync.c \ 15 1.1 mrg nouveau_wfb.c \ 16 1.1 mrg nv_accel_common.c \ 17 1.1 mrg nv_driver.c \ 18 1.1 mrg nv_shadow.c \ 19 1.1 mrg nv04_exa.c \ 20 1.1 mrg nv04_xv_ovl.c \ 21 1.1 mrg nv04_xv_blit.c \ 22 1.1 mrg nv10_exa.c \ 23 1.1 mrg nv10_xv_ovl.c \ 24 1.1 mrg nv30_exa.c \ 25 1.1 mrg nv30_xv_tex.c \ 26 1.1 mrg nv40_exa.c \ 27 1.1 mrg nv40_xv_tex.c \ 28 1.1 mrg nv50_accel.c \ 29 1.1 mrg nv50_exa.c \ 30 1.1 mrg nv50_xv.c \ 31 1.1 mrg nvc0_accel.c \ 32 1.1 mrg nvc0_exa.c \ 33 1.1 mrg nvc0_xv.c \ 34 1.1 mrg drmmode_display.c \ 35 1.1 mrg vl_hwmc.c 36 1.1 mrg 37 1.1 mrg LIBDPLIBS+= drm_nouveau ${.CURDIR}/../../../lib/libdrm_nouveau 38 1.1 mrg 39 1.1 mrg MAN= nouveau.4 40 1.1 mrg 41 1.1 mrg CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/libdrm 42 1.1 mrg CPPFLAGS+= -DNV_DRIVER_DATE=${DRIVER_DATE} 43 1.1 mrg 44 1.3 mrg .include "../Makefile.xf86-driver" 45 1.3 mrg 46 1.2 mrg # XXX 47 1.5 jakllsch COPTS.nouveau_xv.c+= ${${ACTIVE_CC} == "clang":? -Wno-error=incompatible-pointer-types-discards-qualifiers :} 48 1.1 mrg 49 1.2 mrg .if ${XORG_SERVER_SUBDIR} != "xorg-server.old" 50 1.2 mrg CPPFLAGS+= -DHAVE_XORG_LIST 51 1.9 mrg CPPFLAGS+= -DHAVE_XF86_CURSOR_RESET_CURSOR 52 1.2 mrg .endif 53 1.2 mrg 54 1.1 mrg # from pkgsrc/x11/xf86-video-nouveau/patches/patch-configure 55 1.1 mrg DRIVER_DATE!=awk '/^Date:/{print "\"" $0 "\"";exit}' ${X11SRCDIR.${DRIVER}}/ChangeLog 56