4eb7b21df0
i386 version, so instead having a copy of the same file, use Makefile foo to include the i386 version on amd64.
20 lines
377 B
Makefile
20 lines
377 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../cddl/dev/cyclic
|
|
|
|
KMOD= cyclic
|
|
SRCS= cyclic.c
|
|
|
|
SRCS+= vnode_if.h
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../cddl/compat/opensolaris \
|
|
-I${.CURDIR}/../../cddl/contrib/opensolaris/uts/common \
|
|
-I${.CURDIR}/../.. \
|
|
-I${.CURDIR}/../../cddl/dev/cyclic/${MACHINE_ARCH:S/amd64/i386/}
|
|
|
|
CFLAGS+= -DDEBUG=1
|
|
|
|
IGNORE_PRAGMA= 1
|
|
|
|
.include <bsd.kmod.mk>
|