xref: /freebsd/sys/dev/videomode/Makefile.videomode (revision 031beb4e239bfce798af17f5fe8dba8bcaf13d99)
1*07615495SHans Petter Selasky#	$NetBSD: Makefile.videomode,v 1.1 2006/03/04 02:34:27 gdamore Exp $
2*07615495SHans Petter Selasky#
3*07615495SHans Petter Selasky# As per tron@NetBSD.org, the proper procedure is
4*07615495SHans Petter Selasky#
5*07615495SHans Petter Selasky# 1.) Change "src/sys/dev/videomode/modelines".
6*07615495SHans Petter Selasky# 2.) Commit "src/sys/dev/videomode/modelines".
7*07615495SHans Petter Selasky# 3.) Execute "make -f Makefile.videomode" in "src/sys/dev/videomode".
8*07615495SHans Petter Selasky# 4.) Commit "src/sys/dev/videomode/videomode.c"
9*07615495SHans Petter Selasky
10*07615495SHans Petter Selasky.include <bsd.own.mk>
11*07615495SHans Petter Selasky
12*07615495SHans Petter Selaskyvideomode.c: modelines modelines2c.awk
13*07615495SHans Petter Selasky	/bin/rm -f videomode.c
14*07615495SHans Petter Selasky	${TOOL_AWK} -f modelines2c.awk modelines > videomode.c
15*07615495SHans Petter Selasky
16*07615495SHans Petter Selaskytest: videomode.c videomode.h test.c
17*07615495SHans Petter Selasky	${CC} -I ../../ -o test test.c videomode.c
18