Deleted Added
full compact
Makefile (154865) Makefile (156326)
1# $FreeBSD: head/sys/modules/smbfs/Makefile 154865 2006-01-26 19:21:27Z alc $
1# $FreeBSD: head/sys/modules/smbfs/Makefile 156326 2006-03-05 22:52:17Z yar $
2
3.PATH: ${.CURDIR}/../../crypto/des \
4 ${.CURDIR}/../../crypto/des/arch/${MACHINE_ARCH} \
5 ${.CURDIR}/../../kern \
6 ${.CURDIR}/../../libkern \
7 ${.CURDIR}/../../netsmb \
8 ${.CURDIR}/../../fs/smbfs
9

--- 4 unchanged lines hidden (view full) ---

14 opt_netsmb.h \
15 iconv_converter_if.h \
16 md4c.c \
17 smb_conn.c smb_dev.c smb_trantcp.c smb_smb.c smb_subr.c smb_rq.c \
18 smb_usr.c smb_crypt.c smb_iod.c \
19 smbfs_vfsops.c smbfs_node.c smbfs_io.c smbfs_vnops.c \
20 smbfs_subr.c smbfs_smb.c
21
2
3.PATH: ${.CURDIR}/../../crypto/des \
4 ${.CURDIR}/../../crypto/des/arch/${MACHINE_ARCH} \
5 ${.CURDIR}/../../kern \
6 ${.CURDIR}/../../libkern \
7 ${.CURDIR}/../../netsmb \
8 ${.CURDIR}/../../fs/smbfs
9

--- 4 unchanged lines hidden (view full) ---

14 opt_netsmb.h \
15 iconv_converter_if.h \
16 md4c.c \
17 smb_conn.c smb_dev.c smb_trantcp.c smb_smb.c smb_subr.c smb_rq.c \
18 smb_usr.c smb_crypt.c smb_iod.c \
19 smbfs_vfsops.c smbfs_node.c smbfs_io.c smbfs_vnops.c \
20 smbfs_subr.c smbfs_smb.c
21
22NETSMBCRYPTO=
23
24.if defined(NETSMBCRYPTO)
22# NETSMBCRYPTO
25SRCS+= des_ecb.c des_setkey.c
26.if ${MACHINE_ARCH} == "i386"
27SRCS+= des_enc.S
28.else
29SRCS+= des_enc.c
30.endif
23SRCS+= des_ecb.c des_setkey.c
24.if ${MACHINE_ARCH} == "i386"
25SRCS+= des_enc.S
26.else
27SRCS+= des_enc.c
28.endif
31.endif
32
33# Build with IPX support (1|0)
34SMB_IPX?= 0
35
36# Build with INET support (1|0)
37SMB_INET?= 1
38
39CFLAGS+= ${KDEBUG}

--- 7 unchanged lines hidden (view full) ---

47opt_inet.h:
48 echo "#define INET 1" > ${.TARGET}
49.endif
50
51.if ${SMB_IPX} > 0
52opt_ipx.h:
53 echo "#define IPX 1" > ${.TARGET}
54.endif
29
30# Build with IPX support (1|0)
31SMB_IPX?= 0
32
33# Build with INET support (1|0)
34SMB_INET?= 1
35
36CFLAGS+= ${KDEBUG}

--- 7 unchanged lines hidden (view full) ---

44opt_inet.h:
45 echo "#define INET 1" > ${.TARGET}
46.endif
47
48.if ${SMB_IPX} > 0
49opt_ipx.h:
50 echo "#define IPX 1" > ${.TARGET}
51.endif
55
56# XXX netsmb should be a separate module
57.if defined(NETSMBCRYPTO)
58opt_netsmb.h:
59 echo "#define NETSMBCRYPTO 1" > ${.TARGET}
60.endif
52.endif
61.endif
62
63.include <bsd.kmod.mk>
53
54.include <bsd.kmod.mk>