1 1.7.2.1 pgoyette # $NetBSD: Makefile,v 1.7.2.1 2019/01/18 08:49:05 pgoyette 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 43 1.1 mrg CPPFLAGS+= -DNV_MAJOR_VERSION=${PACKAGE_MAJOR} 44 1.1 mrg CPPFLAGS+= -DNV_MINOR_VERSION=${PACKAGE_MINOR} 45 1.1 mrg CPPFLAGS+= -DNV_PATCHLEVEL=${PACKAGE_PATCH} 46 1.1 mrg CPPFLAGS+= -DNV_DRIVER_DATE=${DRIVER_DATE} 47 1.1 mrg 48 1.3 mrg .include "../Makefile.xf86-driver" 49 1.3 mrg 50 1.2 mrg # XXX 51 1.5 jakllsch COPTS.nouveau_xv.c+= ${${ACTIVE_CC} == "clang":? -Wno-error=incompatible-pointer-types-discards-qualifiers :} 52 1.1 mrg 53 1.2 mrg .if ${XORG_SERVER_SUBDIR} != "xorg-server.old" 54 1.2 mrg CPPFLAGS+= -DHAVE_XORG_LIST 55 1.7.2.1 pgoyette CPPFLAGS+= -DHAVE_XF86_CURSOR_RESET_CURSOR 56 1.2 mrg .endif 57 1.2 mrg 58 1.1 mrg # from pkgsrc/x11/xf86-video-nouveau/patches/patch-configure 59 1.1 mrg DRIVER_DATE!=awk '/^Date:/{print "\"" $0 "\"";exit}' ${X11SRCDIR.${DRIVER}}/ChangeLog 60