# Copyright (c) 1993 Eric P. Allman
# Copyright (c) 1993 The Regents of the University of California.
# %sccs.include.redist.sh%
# @(#)makesendmail 8.1 (Berkeley) %G%
# A quick-and-dirty script to compile sendmail in the presence of
# multiple architectures and Makefiles.
# determine machine architecture
# determine operating system type
# determine operating system release
# now try to find a reasonable object directory
if [ -r obj.
$os.
$arch.
$rel ]; then
elif [ -r obj.
$os.
$rel ]; then
elif [ -r obj.
$os.
$arch ]; then
elif [ -r obj.
$arch.
$rel ]; then
elif [ -r obj.
$os ]; then
elif [ -r obj.
$arch ]; then
elif [ -r obj.
$rel ]; then
elif [ -r Makefile.
$os ]; then
echo "Creating $obj using Makefile.$os"
(cd $obj; ln -s ..
/*.
[ch
] .
; ln -s ..
/Makefile.
$os Makefile
)
echo "Warning: no recognized support for $arch.$os.$rel"
echo " ... winging it ..."