Commit | Line | Data |
---|---|---|
959f3c4c JH |
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 | |
65a32477 MBT |
4 | ?RCS: |
5 | ?RCS: You may redistribute only under the terms of the Artistic License, | |
959f3c4c JH |
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 | |
65a32477 | 8 | ?RCS: that same Artistic License; a copy of which may be found at the root |
959f3c4c JH |
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: | |
65a32477 | 15 | ?X: |
959f3c4c JH |
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. | |
65a32477 | 20 | ?X: |
5bcf820f | 21 | ?MAKE:End perllibs: $W cppstdin gzip zip libs usedl osname osvers |
959f3c4c | 22 | ?MAKE: -pick add $@ %< |
7ff1b4be PM |
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='' | |
6318b0e2 | 28 | ?LINT:use $W |
959f3c4c JH |
29 | ?LINT:use gzip zip |
30 | ?LINT:change cppstdin | |
7ff1b4be PM |
31 | : Remove libraries needed only for extensions |
32 | : The appropriate ext/Foo/Makefile.PL will add them back in, if necessary. | |
933afe52 PM |
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]*) | |
65a32477 | 40 | set X `echo " $libs " | sed -e 's@ -lndbm @ @' -e 's@ -lgdbm @ @' -e 's@ -lgdbm_compat @ @' -e 's@ -ldbm @ @' -e 's@ -ldb @ @'` |
933afe52 PM |
41 | shift |
42 | perllibs="$*" | |
43 | ;; | |
44 | *) perllibs="$libs" | |
45 | ;; | |
46 | esac | |
47 | ;; | |
7ff1b4be PM |
48 | esac |
49 | ||
959f3c4c JH |
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 |