freebsd-skq/sys/modules/portalfs/Makefile
rwatson bc78ba97c1 Fix two cases involving opt_capsicum.h and module builds:
(1) opt_capsicum.h is no longer required in ffs_alloc.c, so remove the
   #include.

(2) portalfs depends on opt_capsicum.h, so have the Makefile generate one
   if required.

These affect only modules built without a kernel (i.e, not buildkernel,
but yes buildworld if the dubious MODULES_WITH_WORLD is used).

Approved by:	re (bz)
Sponsored by:	Google Inc
2011-08-15 07:32:44 +00:00

11 lines
158 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../fs/portalfs
KMOD= portalfs
SRCS= vnode_if.h \
portal_vfsops.c portal_vnops.c \
opt_capsicum.h
.include <bsd.kmod.mk>