freebsd-skq/sys/modules/smbfs/Makefile
imp 661b96f06e Move most of the 15 variations on generating opt_inet.h and
opt_inet6.h into kmod.mk by forcing almost everybody to eat the same
dogfood. While at it, consolidate the opt_bpf.h and opt_mroute.h
targets here too.
2014-08-04 22:37:02 +00:00

36 lines
709 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../crypto/des \
${.CURDIR}/../../crypto/des/arch/${MACHINE_CPUARCH} \
${.CURDIR}/../../kern \
${.CURDIR}/../../libkern \
${.CURDIR}/../../netsmb \
${.CURDIR}/../../fs/smbfs
KMOD= smbfs
SRCS= vnode_if.h \
opt_inet.h opt_netsmb.h \
iconv_converter_if.h \
md4c.c \
smb_conn.c smb_dev.c smb_trantcp.c smb_smb.c smb_subr.c smb_rq.c \
smb_usr.c smb_crypt.c smb_iod.c \
smbfs_vfsops.c smbfs_node.c smbfs_io.c smbfs_vnops.c \
smbfs_subr.c smbfs_smb.c
# NETSMBCRYPTO
SRCS+= des_ecb.c des_setkey.c
.if ${MACHINE_CPUARCH} == "i386"
SRCS+= des_enc.S
.else
SRCS+= des_enc.c
.endif
CFLAGS+= ${KDEBUG}
.if defined(VNPRINT)
CFLAGS+= -DVNPRINT
.endif
.include <bsd.kmod.mk>