mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-25 11:37:56 +00:00
9163fee71f
PR: kern/11320
24 lines
456 B
Makefile
24 lines
456 B
Makefile
# $Id: Makefile,v 1.6 2003/10/24 15:41:26 simokawa Exp $
|
|
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../dev/dcons
|
|
|
|
KMOD = dcons
|
|
SRCS = dcons.c dcons.h dcons_os.c dcons_os.h \
|
|
opt_dcons.h opt_kdb.h opt_ddb.h opt_gdb.h opt_comconsole.h
|
|
|
|
.if !defined(KERNBUILDDIR)
|
|
opt_kdb.h:
|
|
echo "#define KDB 1" > $@
|
|
|
|
opt_ddb.h:
|
|
echo "#define DDB 1" > $@
|
|
|
|
opt_comconsole.h:
|
|
echo "#define ALT_BREAK_TO_DEBUGGER 1" > $@
|
|
.endif
|
|
|
|
CFLAGS+= -I${.CURDIR}/../..
|
|
|
|
.include <bsd.kmod.mk>
|