Makefile revision 170172
1# $Id: Makefile,v 1.6 2003/10/24 15:41:26 simokawa Exp $ 2# $FreeBSD: head/sys/modules/dcons/Makefile 170172 2007-06-01 00:23:34Z 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_kdb.h opt_ddb.h opt_gdb.h opt_comconsole.h 9 10.if !defined(KERNBUILDDIR) 11opt_kdb.h: 12 echo "#define KDB 1" > $@ 13 14opt_ddb.h: 15 echo "#define DDB 1" > $@ 16 17opt_comconsole.h: 18 echo "#define ALT_BREAK_TO_DEBUGGER 1" > $@ 19.endif 20 21CFLAGS+= -I${.CURDIR}/../.. 22 23.include <bsd.kmod.mk> 24