minix3/drivers/video/fb/Makefile

19 lines
472 B
Makefile

# Makefile for the framebuffer driver.
PROG= fb
.include "arch/${MACHINE_ARCH}/Makefile.inc"
SRCS+= fb_edid.c fb.c
# re-use EDID parsing/validation code from NetBSD.
.PATH: ${NETBSDSRCDIR}/sys/dev/videomode
SRCS+= edid.c pickmode.c videomode.c vesagtf.c
# Put this dir and the EDID headers (dev/videomode/*.h) in the search path.
CPPFLAGS+= -I${.CURDIR} -I${NETBSDSRCDIR}/sys
DPADD+= ${LIBCHARDRIVER} ${LIBSYS}
LDADD+= -lchardriver -lsys
.include <minix.service.mk>