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