35 lines
783 B
Makefile
35 lines
783 B
Makefile
|
# $NetBSD: Makefile,v 1.12 2013/06/03 09:23:07 mrg Exp $
|
||
|
|
||
|
DRIVER= xf86-video-savage
|
||
|
DRIVER_NAME= savage_drv
|
||
|
|
||
|
SRCS= \
|
||
|
savage_accel.c \
|
||
|
savage_xaa.c \
|
||
|
savage_exa.c \
|
||
|
savage_cursor.c \
|
||
|
savage_dga.c \
|
||
|
savage_driver.c \
|
||
|
savage_i2c.c \
|
||
|
savage_shadow.c \
|
||
|
savage_streams.c \
|
||
|
savage_vbe.c \
|
||
|
savage_video.c \
|
||
|
savage_hwmc.c \
|
||
|
savage_dri.c
|
||
|
MAN= savage.4
|
||
|
|
||
|
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11
|
||
|
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/dri
|
||
|
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/libdrm
|
||
|
|
||
|
CPPFLAGS+= -DHAVE_XAA_H -DHAVE_XEXTPROTO_71 -DSAVAGEDRI
|
||
|
|
||
|
CPPFLAGS.savage_driver.c= -DPACKAGE_VERSION=\"${PACKAGE_MAJOR}\"
|
||
|
CPPFLAGS.savage_exa.c= -Wno-error # volatile -> mempcy
|
||
|
|
||
|
CWARNFLAGS.clang+= -Wno-parentheses -Wno-format \
|
||
|
-Wno-constant-logical-operand
|
||
|
|
||
|
.include "../Makefile.xf86-driver"
|