minix/external/mit/xorg/server/drivers/xf86-video-glint/Makefile
Lionel Sambuc 971bb1a587 Importing external/mit/xorg support rules
Change-Id: Ib11d8659485a444797bf3a2118182a1d4e316b50
2014-11-10 14:43:29 +01:00

28 lines
811 B
Makefile

# $NetBSD: Makefile,v 1.11 2013/06/02 07:41:35 mrg Exp $
DRIVER= xf86-video-glint
DRIVER_NAME= glint_drv
SRCS= glint_dga.c glint_driver.c glint_shadow.c
SRCS+= IBMramdac.c pm2_accel.c pm2_dac.c pm2ramdac.c pm2v_dac.c
SRCS+= pm2_video.c pm2vramdac.c pm3_accel.c pm3_dac.c pm3_video.c
SRCS+= pm_accel.c pm_dac.c sx_accel.c TIramdac.c tx_accel.c tx_dac.c
MAN= glint.4
.if ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "sparc"
CPPFLAGS+= -DSPARC_MMIO_IS_BE
.endif
.if ${MACHINE_ARCH} == "powerpc"
CPPFLAGS+= -DPPC_MMIO_IS_BE
.endif
CPPFLAGS+= -DHAVE_CONFIG_H -I${X11SRCDIR.${DRIVER}}/../include
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/libdrm
COPTS.glint_driver.c= -Wno-error # XXX xf86dgastr.h
CWARNFLAGS.clang+= -Wno-format
.include "../Makefile.xf86-driver"