minix/sys/dev/videomode/Makefile.videomode
Thomas Cort bdf33c702a Importing sys/dev/videomode
NetBSD provides an in-kernel EDID parser, validator, and printer
along with other useful functions. This code will be re-used by
the Minix fb driver as it is a complete and well tested
implementation.

Change-Id: I46fe3005d9957cd90d4972030ddcce7bc3bd7924
2013-08-11 20:35:08 +02:00

18 lines
561 B
Makefile

# $NetBSD: Makefile.videomode,v 1.2 2008/10/19 22:05:23 apb Exp $
#
# As per tron@NetBSD.org, the proper procedure is
#
# 1.) Change "src/sys/dev/videomode/modelines".
# 2.) Commit "src/sys/dev/videomode/modelines".
# 3.) Execute "make -f Makefile.videomode" in "src/sys/dev/videomode".
# 4.) Commit "src/sys/dev/videomode/videomode.c"
.include <bsd.own.mk>
videomode.c: modelines modelines2c.awk
/bin/rm -f videomode.c
${TOOL_AWK} -f modelines2c.awk modelines > videomode.c
test: videomode.c videomode.h test.c
${CC} -I ../../ -o test test.c videomode.c