2003-10-24 15:44:10 +00:00
|
|
|
# $Id: Makefile,v 1.6 2003/10/24 15:41:26 simokawa Exp $
|
|
|
|
# $FreeBSD$
|
|
|
|
|
2017-03-04 10:10:17 +00:00
|
|
|
.PATH: ${SRCTOP}/sys/dev/dcons
|
2003-10-24 15:44:10 +00:00
|
|
|
|
|
|
|
KMOD = dcons
|
2004-10-13 05:41:09 +00:00
|
|
|
SRCS = dcons.c dcons.h dcons_os.c dcons_os.h \
|
2011-08-27 14:24:27 +00:00
|
|
|
opt_dcons.h opt_kdb.h opt_ddb.h opt_gdb.h
|
2003-10-24 15:44:10 +00:00
|
|
|
|
2005-10-14 23:30:17 +00:00
|
|
|
.if !defined(KERNBUILDDIR)
|
2007-06-01 00:23:34 +00:00
|
|
|
opt_kdb.h:
|
2004-07-13 09:37:49 +00:00
|
|
|
echo "#define KDB 1" > $@
|
2003-10-24 15:44:10 +00:00
|
|
|
|
2007-06-01 00:23:34 +00:00
|
|
|
opt_ddb.h:
|
|
|
|
echo "#define DDB 1" > $@
|
2005-10-14 23:30:17 +00:00
|
|
|
.endif
|
2003-10-24 15:44:10 +00:00
|
|
|
|
2017-03-04 10:10:17 +00:00
|
|
|
CFLAGS+= -I${SRCTOP}/sys
|
2003-10-24 15:44:10 +00:00
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|