Makefile (136910) | Makefile (151350) |
---|---|
1# $FreeBSD: head/sys/modules/smbfs/Makefile 136910 2004-10-24 15:33:08Z ru $ | 1# $FreeBSD: head/sys/modules/smbfs/Makefile 151350 2005-10-14 23:30: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 --- 27 unchanged lines hidden (view full) --- 37SMB_INET?= 1 38 39CFLAGS+= ${KDEBUG} 40 41.if defined(VNPRINT) 42CFLAGS+= -DVNPRINT 43.endif 44 | 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 --- 27 unchanged lines hidden (view full) --- 37SMB_INET?= 1 38 39CFLAGS+= ${KDEBUG} 40 41.if defined(VNPRINT) 42CFLAGS+= -DVNPRINT 43.endif 44 |
45.if !defined(KERNBUILDDIR) |
|
45.if ${SMB_INET} > 0 46opt_inet.h: 47 echo "#define INET 1" > ${.TARGET} 48.endif 49 50.if ${SMB_IPX} > 0 51opt_ipx.h: 52 echo "#define IPX 1" > ${.TARGET} 53.endif 54 | 46.if ${SMB_INET} > 0 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 55 |
55opt_netsmb.h: 56 echo "#define NETSMB 1" > ${.TARGET} | 56# XXX netsmb should be a separate module |
57.if defined(NETSMBCRYPTO) | 57.if defined(NETSMBCRYPTO) |
58 echo "#define NETSMBCRYPTO 1" >> ${.TARGET} | 58opt_netsmb.h: 59 echo "#define NETSMBCRYPTO 1" > ${.TARGET} |
59.endif | 60.endif |
61.endif |
|
60 61.include <bsd.kmod.mk> | 62 63.include <bsd.kmod.mk> |