From 59fa7082988389cfb6f147aa404bfe4abad3252e Mon Sep 17 00:00:00 2001 From: "R. Imura" Date: Mon, 19 Sep 2005 08:13:43 +0000 Subject: [PATCH] Connect smbfs build on powerpc. --- lib/Makefile | 4 ++++ sys/modules/Makefile | 1 + usr.bin/Makefile | 4 ++++ usr.sbin/Makefile | 4 ++++ 4 files changed, 13 insertions(+) diff --git a/lib/Makefile b/lib/Makefile index 000d97721363..922416abc8e1 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -92,6 +92,10 @@ _libncp= libncp _libsmb= libsmb .endif +.if ${MACHINE_ARCH} == "powerpc" +_libsmb= libsmb +.endif + .if !defined(NO_LIBPTHREAD) _libpthread= libpthread .endif diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 9f09a2da0a92..33458fdb22ed 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -489,6 +489,7 @@ _xe= xe .if ${MACHINE_ARCH} == "powerpc" _gem= gem +_smbfs= smbfs .endif .if ${MACHINE_ARCH} == "sparc64" diff --git a/usr.bin/Makefile b/usr.bin/Makefile index 756de9ad9cf8..a077c331b31b 100644 --- a/usr.bin/Makefile +++ b/usr.bin/Makefile @@ -315,4 +315,8 @@ _ncplogin= ncplogin _smbutil= smbutil .endif +.if ${MACHINE_ARCH} == "powerpc" +_smbutil= smbutil +.endif + .include diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile index 46173c30812d..cf94b9fbe4a8 100644 --- a/usr.sbin/Makefile +++ b/usr.sbin/Makefile @@ -343,6 +343,10 @@ _pppctl= pppctl _zzz= zzz .endif +.if ${MACHINE_ARCH} == "powerpc" +_mount_smbfs= mount_smbfs +.endif + .if ${MACHINE_ARCH} == "sparc64" _eeprom= eeprom _ofwdump= ofwdump