Files
freebsd/sys/modules/dcons/Makefile
T
Enji Cooper cad800042f MFC r314651,r318439,r318440:
r314651:

sys/modules: normalize .CURDIR-relative paths to SRCTOP

This simplifies make output/logic

Tested with:	`cd sys/modules; make ALL_MODULES=` on amd64

r318439:

Normalize .PATH on SRCTOP

This will help Jenkins dedupe 9 warnings between the static build and
the module build of ipsec(4).

Missed in SRCTOP conversion in r314651.

MFC with:	r314651

r318440:

Normalize SYSDIR on SRCTOP instead of .CURDIR

This is being done to simplify pathing for CFLAGS and source files.
2017-05-30 04:11:12 +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>