1 # $NetBSD: Makefile,v 1.8 2015/07/20 01:17:46 mrg Exp $
3 DRIVER
= xf86-video-mach64
4 DRIVER_NAME
= mach64_drv
6 SRCS
= atibus.c atichip.c atiprobe.c atividmem.c \
7 atiadjust.c aticlock.c aticonfig.c \
8 aticonsole.c atidac.c atidsp.c \
9 atii2c.c atilock.c atimach64.c atimach64accel.c \
10 atimach64cursor.c atimach64i2c.c atimach64io.c \
11 atimach64xv.c atimode.c atipreinit.c atiprint.c \
12 atirgb514.c atiscreen.c atituner.c atiutil.c \
13 ativalid.c atiload.c atimisc.c atimach64probe.c \
14 ${SRCS.cpio
} ${SRCS.dga
} ${SRCS.exa
} #${SRCS.dri}
16 SRCS.cpio
= ativga.c ativgaio.c atibank.c atiwonder.c atiwonderio.c
19 SRCS.exa
= atimach64exa.c
21 CPPFLAGS
+= -DUSE_XAA
-DUSE_EXA
23 .if
${MACHINE_ARCH} == "powerpc" ||
${MACHINE_ARCH} == "sparc64" || \
24 ${MACHINE_ARCH} == "sparc"
25 CPPFLAGS
+= -DAVOID_CPIO
30 CWARNFLAGS.clang
+= -Wno-pointer-sign
32 .
include "../Makefile.xf86-driver"