Merge branch 'vendor/MDOCML'
[dragonfly.git] / sys / vfs / smbfs / Makefile
1 # $FreeBSD: src/sys/modules/smbfs/Makefile,v 1.1.2.4 2002/03/26 10:12:29 ume Exp $
2
3 .PATH:  ${.CURDIR}/../../crypto/des \
4         ${.CURDIR}/../../kern \
5         ${.CURDIR}/../../libkern \
6         ${.CURDIR}/../../netproto/smb
7
8 KMOD=   smbfs
9
10 SRCS=   opt_netsmb.h \
11         md4c.c \
12         smb_conn.c smb_dev.c smb_trantcp.c smb_smb.c smb_subr.c smb_rq.c \
13         smb_usr.c smb_crypt.c smb_iod.c \
14         smbfs_vfsops.c smbfs_node.c smbfs_io.c smbfs_vnops.c \
15         smbfs_subr.c smbfs_smb.c
16
17 SRCS+=  des_ecb.c des_enc.c des_setkey.c
18
19 # Build with INET support (1|0)
20 SMB_INET?=      1
21
22 .if !defined(BUILDING_WITH_KERNEL)
23 opt_inet.h:
24         touch ${.TARGET}
25 .if ${SMB_INET} > 0
26         echo "#define INET 1" > ${.TARGET}
27 .endif
28
29 opt_netsmb.h:
30         echo "#define NETSMB    1"  > ${.TARGET}
31 .endif
32
33 .include <bsd.kmod.mk>