xref: /freebsd/sys/modules/dcons/Makefile (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
1# $Id: Makefile,v 1.6 2003/10/24 15:41:26 simokawa Exp $
2
3.PATH:	${SRCTOP}/sys/dev/dcons
4
5KMOD	= dcons
6SRCS	= dcons.c dcons.h dcons_os.c dcons_os.h \
7		opt_dcons.h opt_kdb.h opt_ddb.h opt_gdb.h
8
9.if !defined(KERNBUILDDIR)
10opt_kdb.h:
11	echo "#define KDB 1" > $@
12
13opt_ddb.h:
14	echo "#define DDB 1" > $@
15.endif
16
17CFLAGS+= -I${SRCTOP}/sys
18
19EXPORT_SYMS=	YES
20
21.include <bsd.kmod.mk>
22