freebsd-skq/sys/modules/dcons/Makefile
2007-06-01 00:23:34 +00:00

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>