1# $Id: Makefile,v 1.6 2003/10/24 15:41:26 simokawa Exp $
2# $FreeBSD: head/sys/modules/dcons/Makefile 136468 2004-10-13 05:41:09Z simokawa $
3
4.PATH: ${.CURDIR}/../../dev/dcons
5
6KMOD = dcons
7SRCS = dcons.c dcons.h dcons_os.c dcons_os.h \
8 opt_dcons.h opt_ddb.h opt_comconsole.h
9
10opt_ddb.h:
11 echo "#define KDB 1" > $@
12
13opt_comconsole.h:
14 echo "#define ALT_BREAK_TO_DEBUGGER 1" > $@
15
16CFLAGS+= -I${.CURDIR}/../..
17
18.include <bsd.kmod.mk>
2# $FreeBSD: head/sys/modules/dcons/Makefile 136468 2004-10-13 05:41:09Z simokawa $
3
4.PATH: ${.CURDIR}/../../dev/dcons
5
6KMOD = dcons
7SRCS = dcons.c dcons.h dcons_os.c dcons_os.h \
8 opt_dcons.h opt_ddb.h opt_comconsole.h
9
10opt_ddb.h:
11 echo "#define KDB 1" > $@
12
13opt_comconsole.h:
14 echo "#define ALT_BREAK_TO_DEBUGGER 1" > $@
15
16CFLAGS+= -I${.CURDIR}/../..
17
18.include <bsd.kmod.mk>