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

22 lines
652 B
Makefile

# $NetBSD: Makefile,v 1.6 2011/05/15 22:55:01 christos Exp $
DRIVER= xf86-video-chips
DRIVER_NAME= chips_drv
SRCS= ct_accel.c ct_bank.c ct_cursor.c ct_ddc.c ct_dga.c
SRCS+= ct_driver.c ct_regs.c ct_shadow.c ct_video.c
SRCS+= ct_accelmm.c ct_accelhi.c
MAN= chips.4
.if ${MACHINE} == "shark"
CPPFLAGS+= -DHAVE_ISA
.endif
CPPFLAGS.ct_driver.c= -DVERSION=${PACKAGE_MAJOR} -I${X11SRCDIR.xorg-server}
CPPFLAGS.ct_accelmm.c= -DCHIPS_MMIO -I${X11SRCDIR.${DRIVER}}/src
CPPFLAGS.ct_accelhi.c= -DCHIPS_MMIO -DCHIPS_HIQV -I${X11SRCDIR.${DRIVER}}/src
BUILDSYMLINKS= ct_accel.c ct_accelmm.c \
ct_accel.c ct_accelhi.c
.include "../Makefile.xf86-driver"