/*
*/
ldd.cygwin.i386 \
cc.sco.i386 \
cc.unix.mc68k
if ! CC.HOSTTYPE
CC.HOSTTYPE := $(_hosttype_|HOSTTYPE)
end
if test -d ./-p
then rmdir ./-p
chmod +x $(<)
fi
fi
/*
*/
if test ! -f $(<) -o -w $(<)
then N='$("\n")'
H=$(CC.HOSTTYPE)
b= f= h= l= n= p= u= B= L=
set : $P
while :
do while :
do case $1 in
'') break 2 ;;
:) shift; break ;;
esac
shift
done
case $# in
0|1) break ;;
esac
case $L in
?*) L="$L|" ;;
esac
L="$L$2=*"
B=$1
done
if test -f $(<)
then while read x
do case $x in
*\$\(\"*) break # to fix 2012-06-18 edit botch #
;;
'#'?*) case $h in
'') h=$x ;;
esac
;;
$L) l=$x
;;
*BUILTIN_LIB=*) b=$x
;;
*FPATH=*) f=$x
;;
*PLUGIN_LIB=*) p=$x
;;
*) case $u in
?*) u=$u$N ;;
esac
u=$u$x
;;
esac
done < $(<)
fi
m=
case $p in
?*) b=
;;
esac
case $b in
?*) IFS='='
set $b
shift
p="PLUGIN_LIB=$*"
case $b in
esac
m=1
;;
esac
case $f in
'') f="FPATH=../fun"
m=1
;;
esac
case $h in
'') h='# use { no NO } prefix to permanently disable #' ;;
esac
case $l in
'') set x x : $P
l=
while :
do while :
do case $# in
0) break ;;
esac
x=$1
shift
case $x in
:) break ;;
esac
done
case $# in
0|1) break
;;
2) l=$2
;;
*) case "$H" in
$3) l=$2; break ;;
esac
;;
esac
done
case $l in
then l=SHLIB_PATH
then l=DYLD_LIBRARY_PATH
else case "$H" in
l=LIBPATH
;;
sgi.mips3)
;;
sgi.mips4)
;;
*) l=LD_LIBRARY_PATH
;;
esac
fi
;;
esac
case $l in
?*) case $B in
'') B=lib ;;
esac
l="$l=../$B"
m=1
;;
esac
;;
esac
case $p in
'') p="PLUGIN_LIB=cmd"
case '$(CC.DIALECT:N=*EXPORT=[AD]LL*)' in
'') p=no$p ;;
esac
m=1
;;
esac
case $m in
1) case $u in
?*) u=$N$u ;;
esac
echo "$h$N$p$N$f$N$l$u" > $(<)
;;
esac
fi
/*
*/
if T == "*.lcl"
$(T) : .DONTCARE
end
end
t=$(CC.HOSTTYPE)
IFS=.
set x $t
t=$2
set x $(*)
while :
do shift
case $# in
0) break ;;
esac
case $1 in
*probe.$t)
break
esac
done
case $1 in
*) : > $(<)
esac
/*
*/
fi
/*
*
*/
/*
*/
/*
* miscellaneous -l* checks
*/
/*
* to do the -lnsl job
*/
/*
* more substance abuse
* some <ndbm.h> implementations use -lndbm, others -ldbm, still others -lc
* this is why unix is starting to look like windows
* this map allows makefiles to use -ldbm on all systems
*
* and this just in: sometimes its <gdbm-ndbm.h> and possibly -lgdbm_compat
*
* at least the -l* buck stops here
*/