2003-10-24 15:44:10 +00:00
|
|
|
# $Id: Makefile,v 1.6 2003/10/24 15:41:26 simokawa Exp $
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../../dev/dcons
|
|
|
|
|
|
|
|
KMOD = dcons
|
2004-10-13 05:41:09 +00:00
|
|
|
SRCS = dcons.c dcons.h dcons_os.c dcons_os.h \
|
2003-10-24 15:44:10 +00:00
|
|
|
opt_dcons.h opt_ddb.h opt_comconsole.h
|
|
|
|
|
2005-10-14 23:30:17 +00:00
|
|
|
.if !defined(KERNBUILDDIR)
|
2003-10-24 15:44:10 +00:00
|
|
|
opt_ddb.h:
|
2004-07-13 09:37:49 +00:00
|
|
|
echo "#define KDB 1" > $@
|
2003-10-24 15:44:10 +00:00
|
|
|
|
|
|
|
opt_comconsole.h:
|
|
|
|
echo "#define ALT_BREAK_TO_DEBUGGER 1" > $@
|
2005-10-14 23:30:17 +00:00
|
|
|
.endif
|
2003-10-24 15:44:10 +00:00
|
|
|
|
|
|
|
CFLAGS+= -I${.CURDIR}/../..
|
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|