|| exit 1
# Build the libafs tree
-make only_libafs_tree || exit 1
+make %{_smp_mflags} only_libafs_tree || exit 1
%if %{krb5support}
%if %{?krb5config:1}%{!?krb5config:0}
%if %{build_userspace}
# Build the user-space AFS stuff
-make all_nolibafs
+make %{_smp_mflags} all_nolibafs
%endif
%if %{build_modules}
do
if [ -n "${kvariant}" ] ; then
pushd _kmod_build_$kvariant;
- make all
+ make %{_smp_mflags} all
popd
else
- make libafs
+ make %{_smp_mflags} libafs
fi
done
%endif
#-----------------------------------------------------------------------------
# Install userspace files
#-----------------------------------------------------------------------------
-make install_nolibafs DESTDIR="$RPM_BUILD_ROOT"
+make %{_smp_mflags} install_nolibafs DESTDIR="$RPM_BUILD_ROOT"
# Set the executable bit on libraries in libdir, so rpmbuild knows to
# create "Provides" entries in the package metadata for the libraries