1# $NetBSD: Makefile,v 1.11 2013/06/02 07:41:35 mrg Exp $ 2 3DRIVER= xf86-video-glint 4DRIVER_NAME= glint_drv 5 6SRCS= glint_dga.c glint_driver.c glint_shadow.c 7SRCS+= IBMramdac.c pm2_accel.c pm2_dac.c pm2ramdac.c pm2v_dac.c 8SRCS+= pm2_video.c pm2vramdac.c pm3_accel.c pm3_dac.c pm3_video.c 9SRCS+= pm_accel.c pm_dac.c sx_accel.c TIramdac.c tx_accel.c tx_dac.c 10MAN= glint.4 11 12.if ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "sparc" 13CPPFLAGS+= -DSPARC_MMIO_IS_BE 14.endif 15 16.if ${MACHINE_ARCH} == "powerpc" 17CPPFLAGS+= -DPPC_MMIO_IS_BE 18.endif 19 20CPPFLAGS+= -DHAVE_CONFIG_H -I${X11SRCDIR.${DRIVER}}/../include 21CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11 22CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/libdrm 23 24COPTS.glint_driver.c= -Wno-error # XXX xf86dgastr.h 25 26CWARNFLAGS.clang+= -Wno-format 27 28.include "../Makefile.xf86-driver" 29