Do a major clean-up of the BUSDMA architecture. A large number of
[dragonfly.git] / sys / dev / misc / dcons / dcons / Makefile
1 # $Id: Makefile,v 1.6 2003/10/24 15:41:26 simokawa Exp $
2 # $FreeBSD: src/sys/modules/dcons/Makefile,v 1.2 2004/07/13 09:37:49 simokawa Exp $
3 # $DragonFly: src/sys/dev/misc/dcons/dcons/Makefile,v 1.5 2006/10/25 20:55:54 dillon Exp $
4
5 .PATH:  ${.CURDIR}/..
6
7 KMOD    = dcons
8 SRCS    = dcons.c dcons_os.c
9 SRCS    += dcons.h dcons_os.h opt_dcons.h opt_ddb.h opt_comconsole.h
10 SRCS    += device_if.h bus_if.h
11
12 .if !defined(BUILDING_WITH_KERNEL)
13 opt_ddb.h:
14         echo "#define DDB 1" > ${.TARGET}
15 .endif
16
17 opt_comconsole.h:
18         echo "#define ALT_BREAK_TO_DEBUGGER 1" > ${.TARGET}
19
20 .include <bsd.kmod.mk>