4509bceae4
relative to .CURDIR if not already defined. This makes the makefiles more readable but also more re-usable and adaptable. Obtained from: Juniper Networks, Inc.
18 lines
374 B
Makefile
18 lines
374 B
Makefile
# $FreeBSD$
|
|
|
|
SYSDIR?= ${.CURDIR}/../../..
|
|
|
|
.PATH: ${SYSDIR}/cddl/dev/systrace
|
|
|
|
KMOD= systrace_freebsd32
|
|
SRCS= systrace.c
|
|
SRCS+= vnode_if.h
|
|
|
|
CFLAGS+= -I${SYSDIR}/cddl/compat/opensolaris \
|
|
-I${SYSDIR}/cddl/contrib/opensolaris/uts/common \
|
|
-I${SYSDIR} -DFREEBSD32_SYSTRACE
|
|
|
|
.include <bsd.kmod.mk>
|
|
|
|
CFLAGS+= -include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h
|