freebsd-dev/sys/modules/dcons/Makefile
Enji Cooper 193d9e768b sys/modules: normalize .CURDIR-relative paths to SRCTOP
This simplifies make output/logic

Tested with:	`cd sys/modules; make ALL_MODULES=` on amd64
MFC after:	1 month
Sponsored by:	Dell EMC Isilon
2017-03-04 10:10:17 +00:00

21 lines
369 B
Makefile

# $Id: Makefile,v 1.6 2003/10/24 15:41:26 simokawa Exp $
# $FreeBSD$
.PATH: ${SRCTOP}/sys/dev/dcons
KMOD = dcons
SRCS = dcons.c dcons.h dcons_os.c dcons_os.h \
opt_dcons.h opt_kdb.h opt_ddb.h opt_gdb.h
.if !defined(KERNBUILDDIR)
opt_kdb.h:
echo "#define KDB 1" > $@
opt_ddb.h:
echo "#define DDB 1" > $@
.endif
CFLAGS+= -I${SRCTOP}/sys
.include <bsd.kmod.mk>