This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix .gitignore: only ignore 'perl' in root of repo, not U/perl subdir
[metaconfig.git] / U / perl / End.U
1 ?RCS: $Id: End.U,v 3.0 1993/08/18 12:04:51 ram Exp $
2 ?RCS:
3 ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
4 ?RCS:
5 ?RCS: You may redistribute only under the terms of the Artistic License,
6 ?RCS: as specified in the README file that comes with the distribution.
7 ?RCS: You may reuse parts of this distribution only within the terms of
8 ?RCS: that same Artistic License; a copy of which may be found at the root
9 ?RCS: of the source tree for dist 3.0.
10 ?RCS:
11 ?RCS: $Log: End.U,v $
12 ?RCS: Revision 3.0  1993/08/18  12:04:51  ram
13 ?RCS: Baseline for dist 3.0 netwide release.
14 ?RCS:
15 ?X:
16 ?X: This unit serves as the goal which forces make to choose all the units that
17 ?X: ask questions.  The $W on the ?MAKE: line is the list of all symbols wanted.
18 ?X: To force any unit to be included, copy this unit to your private U directory
19 ?X: and add the name of the unit desired to the ?MAKE: dependency line.
20 ?X:
21 ?MAKE:End perllibs: $W cppstdin gzip zip libs usedl osname osvers
22 ?MAKE:  -pick add $@ %<
23 ?S:perllibs:
24 ?S:     The list of libraries needed by Perl only (any libraries needed
25 ?S:     by extensions only will by dropped, if using dynamic loading).
26 ?S:.
27 ?INIT:perllibs=''
28 ?LINT:use $W
29 ?LINT:use gzip zip
30 ?LINT:change cppstdin
31 : Remove libraries needed only for extensions
32 : The appropriate ext/Foo/Makefile.PL will add them back in, if necessary.
33 : The exception is SunOS 4.x, which needs them.
34 case "${osname}X${osvers}" in
35 sunos*X4*)
36     perllibs="$libs"
37     ;;
38 *) case "$usedl" in
39     $define|true|[yY]*)
40             set X `echo " $libs " | sed -e 's@ -lndbm @ @' -e 's@ -lgdbm @ @' -e 's@ -lgdbm_compat @ @' -e 's@ -ldbm @ @' -e 's@ -ldb @ @'`
41             shift
42             perllibs="$*"
43             ;;
44     *)  perllibs="$libs"
45             ;;
46     esac
47     ;;
48 esac
49
50 ?X: If the user has the cppstdin wrapper, perl.c will try to call
51 ?X: CPPSTDIN, but that will point to a location in the build
52 ?X: directory, not the installed version!.  Here, we'll just strip the
53 ?X: name down to 'cppstdin', and rely on the fact that perl.c will
54 ?X: then call SCRIPTDIR/cppstdin, but local things like 'make depend'
55 ?X: will continue to work.
56 : Remove build directory name from cppstdin so it can be used from
57 : either the present location or the final installed location.
58 echo " "
59 : Get out of the UU directory to get correct path name.
60 cd ..
61 case "$cppstdin" in
62 `pwd`/cppstdin)
63         echo "Stripping down cppstdin path name"
64         cppstdin=cppstdin
65         ;;
66 esac
67 cd UU
68
69 : end of configuration questions
70 echo " "
71 echo "End of configuration questions."
72 echo " "
73