Home | History | Annotate | Line # | Download | only in xf86-video-siliconmotion
      1 #	$NetBSD: Makefile,v 1.12 2018/02/02 01:02:40 mrg Exp $
      2 
      3 DRIVER=		xf86-video-siliconmotion
      4 DRIVER_NAME=	siliconmotion_drv
      5 
      6 SRCS=		smi_501.c smi_accel.c smi_xaa.c smi_exa.c smi_dac.c
      7 SRCS+=		smi_driver.c smi_i2c.c smi_video.c
      8 SRCS+=		smi_crtc.c smilynx_crtc.c smi_output.c 
      9 SRCS+=		smilynx_output.c smilynx_hw.c smilynx.h 
     10 SRCS+=		smi501_crtc.c smi501_output.c
     11 MAN=		siliconmotion.4
     12 
     13 CPPFLAGS+=	-DHAVE_XMODES -DHAVE_XEXTPROTO_71
     14 
     15 .include "../Makefile.xf86-driver"
     16 
     17 COPTS.smi_video.c+=	${${ACTIVE_CC} == "gcc":? -Wno-error=discarded-qualifiers :}
     18 COPTS.smi_video.c+=	${${ACTIVE_CC} == "clang":? -Wno-error=incompatible-pointer-types-discards-qualifiers :}
     19 
     20 XORG_PKG_VER_PROG=	${DRIVER}
     21 .include "../../../xorg-pkg-ver.mk"
     22