Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / mit / xorg / server / drivers / xf86-video-glint / Makefile
blobf6ef5d5896c4db88675a06625b056590f0254bc8
1 # $NetBSD: Makefile,v 1.6 2009/06/10 02:00:10 mrg Exp $
3 DRIVER= xf86-video-glint
4 DRIVER_NAME= glint_drv
6 SRCS= glint_dga.c glint_dri.c glint_driver.c glint_shadow.c
7 SRCS+= IBMramdac.c pm2_accel.c pm2_dac.c pm2ramdac.c pm2v_dac.c
8 SRCS+= pm2_video.c pm2vramdac.c pm3_accel.c pm3_dac.c pm3_video.c
9 SRCS+= pm_accel.c pm_dac.c sx_accel.c TIramdac.c tx_accel.c tx_dac.c
10 MAN= glint.4
12 .if ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "sparc"
13 CPPFLAGS+= -DSPARC_MMIO_IS_BE
14 .endif
16 .if ${MACHINE_ARCH} == "powerpc"
17 CPPFLAGS+= -DPPC_MMIO_IS_BE
18 .endif
20 CPPFLAGS+= -DHAVE_CONFIG_H -I${X11SRCDIR.${DRIVER}}/../include
21 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11
22 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/dri
23 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/drm
25 .include "../Makefile.xf86-driver"