?RCS: $Id: End.U,v 3.0 1993/08/18 12:04:51 ram Exp $
?RCS:
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
?RCS:
?RCS: You may redistribute only under the terms of the Artistic Licence,
?RCS: as specified in the README file that comes with the distribution.
?RCS: You may reuse parts of this distribution only within the terms of
?RCS: that same Artistic Licence; a copy of which may be found at the root
?RCS: of the source tree for dist 3.0.
?RCS:
?RCS: $Log: End.U,v $
?RCS: Revision 3.0 1993/08/18 12:04:51 ram
?RCS: Baseline for dist 3.0 netwide release.
?RCS:
?X:
?X: This unit serves as the goal which forces make to choose all the units that
?X: ask questions. The $W on the ?MAKE: line is the list of all symbols wanted.
?X: To force any unit to be included, copy this unit to your private U directory
?X: and add the name of the unit desired to the ?MAKE: dependency line.
?X:
?MAKE:End perllibs: $W cppstdin gzip zip libs usedl osname osvers
?MAKE: -pick add $@ %<
?S:perllibs:
?S: The list of libraries needed by Perl only (any libraries needed
?S: by extensions only will by dropped, if using dynamic loading).
?S:.
?INIT:perllibs=''
?LINT:use $W
?LINT:use gzip zip
?LINT:change cppstdin
: Remove libraries needed only for extensions
: The appropriate ext/Foo/Makefile.PL will add them back in, if necessary.
: The exception is SunOS 4.x, which needs them.
case "${osname}X${osvers}" in
sunos*X4*)
perllibs="$libs"
;;
*) case "$usedl" in
$define|true|[yY]*)
set X `echo " $libs " | sed -e 's@ -lndbm @ @' -e 's@ -lgdbm @ @' -e 's@ -ldbm @ @' -e 's@ -ldb @ @'`
shift
perllibs="$*"
;;
*) perllibs="$libs"
;;
esac
;;
esac
?X: If the user has the cppstdin wrapper, perl.c will try to call
?X: CPPSTDIN, but that will point to a location in the build
?X: directory, not the installed version!. Here, we'll just strip the
?X: name down to 'cppstdin', and rely on the fact that perl.c will
?X: then call SCRIPTDIR/cppstdin, but local things like 'make depend'
?X: will continue to work.
: Remove build directory name from cppstdin so it can be used from
: either the present location or the final installed location.
echo " "
: Get out of the UU directory to get correct path name.
cd ..
case "$cppstdin" in
`pwd`/cppstdin)
echo "Stripping down cppstdin path name"
cppstdin=cppstdin
;;
esac
cd UU
: end of configuration questions
echo " "
echo "End of configuration questions."
echo " "