1# $FreeBSD$ 2 3.PATH: ${SRCTOP}/sys/fs/fuse 4 5KMOD= fusefs 6SRCS= vnode_if.h \ 7 fuse_node.c fuse_io.c fuse_device.c fuse_ipc.c fuse_file.c \ 8 fuse_vfsops.c fuse_vnops.c fuse_internal.c fuse_main.c 9 10# Symlink for backwards compatibility with systems installed at 12.0 or older 11.if ${MACHINE_CPUARCH} != "powerpc" 12SYMLINKS= ${KMOD}.ko ${KMODDIR}/fuse.ko 13.else 14# Some PPC systems use msdosfs for /boot, which can't handle links or symlinks 15afterinstall: alias alias_debug 16alias: .PHONY 17 ${INSTALL} -T release -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \ 18 ${_INSTALLFLAGS} ${PROG} ${DESTDIR}${KMODDIR}/fuse.ko 19.if defined(DEBUG_FLAGS) && !defined(INSTALL_NODEBUG) && "${MK_KERNEL_SYMBOLS}" != "no" 20alias_debug: .PHONY 21 ${INSTALL} -T debug -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \ 22 ${_INSTALLFLAGS} ${PROG}.debug \ 23 ${DESTDIR}${KERN_DEBUGDIR}${KMODDIR}/fuse.ko 24.else 25alias_debug: .PHONY 26.endif 27.endif 28 29.include <bsd.kmod.mk> 30