1 # $FreeBSD: src/sys/modules/smbfs/Makefile,v 1.1.2.4 2002/03/26 10:12:29 ume Exp $
2 # $DragonFly: src/sys/vfs/smbfs/Makefile,v 1.4 2004/03/16 07:45:59 hmp Exp $
4 .PATH: ${.CURDIR}/../../crypto/des \
5 ${.CURDIR}/../../crypto/des/arch/${MACHINE_ARCH} \
6 ${.CURDIR}/../../kern \
7 ${.CURDIR}/../../libkern \
8 ${.CURDIR}/../../netsmb \
9 ${.CURDIR}/../../netproto/smb
14 opt_inet.h opt_ipx.h \
15 opt_netsmb.h opt_smbfs.h opt_vmpage.h \
16 iconv_converter_if.h \
18 smb_conn.c smb_dev.c smb_trantcp.c smb_smb.c smb_subr.c smb_rq.c \
19 smb_usr.c smb_crypt.c smb_iod.c \
20 smbfs_vfsops.c smbfs_node.c smbfs_io.c smbfs_vnops.c \
21 smbfs_subr.c smbfs_smb.c
25 .if exists(${.CURDIR}/../../crypto/des/des.h)
29 .if defined(NETSMBCRYPTO)
30 SRCS+= des_ecb.c des_setkey.c
31 .if ${MACHINE_ARCH} == "i386"
38 # Build with IPX support (1|0)
41 # Build with INET support (1|0)
53 echo "#define INET 1" > ${.TARGET}
59 echo "#define IPX 1" > ${.TARGET}
63 echo "#define NETSMB 1" > ${.TARGET}
64 .if defined(NETSMBCRYPTO)
65 echo "#define NETSMBCRYPTO 1" >> ${.TARGET}
69 @(if kldunload ${KMOD}; then true; else true; fi)
71 .include <bsd.kmod.mk>