1121468Ssimokawa# $Id: Makefile,v 1.6 2003/10/24 15:41:26 simokawa Exp $ 2121468Ssimokawa# $FreeBSD: releng/10.3/sys/modules/dcons/Makefile 225214 2011-08-27 14:24:27Z rwatson $ 3121468Ssimokawa 4121468Ssimokawa.PATH: ${.CURDIR}/../../dev/dcons 5121468Ssimokawa 6121468SsimokawaKMOD = dcons 7136468SsimokawaSRCS = dcons.c dcons.h dcons_os.c dcons_os.h \ 8225214Srwatson opt_dcons.h opt_kdb.h opt_ddb.h opt_gdb.h 9121468Ssimokawa 10151350Syar.if !defined(KERNBUILDDIR) 11170172Ssimokawaopt_kdb.h: 12132091Ssimokawa echo "#define KDB 1" > $@ 13121468Ssimokawa 14170172Ssimokawaopt_ddb.h: 15170172Ssimokawa echo "#define DDB 1" > $@ 16151350Syar.endif 17121468Ssimokawa 18121468SsimokawaCFLAGS+= -I${.CURDIR}/../.. 19121468Ssimokawa 20121468Ssimokawa.include <bsd.kmod.mk> 21