More make cleanups.

1) Part of the NOSHARED fix; I messed this up and managed to get
   perl installed without being linked to the shared library libperl.so.
   This broke Perl in ELF when linking in shared objects.

2) Start of a cleanup of the man3 page location. This will (eventually)
   allow for a the ports to put their pages in the "normal" ${PREFIX}-
   based location.

3) Nuke cruft.
This commit is contained in:
Mark Murray 1998-09-23 06:05:28 +00:00
parent e4b74ed73c
commit 883f1dcf78
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=39585
3 changed files with 6 additions and 7 deletions

View File

@ -1,11 +1,12 @@
#
# $Id: Makefile,v 1.3 1998/09/12 19:16:33 markm Exp $
# $Id: Makefile,v 1.4 1998/09/16 17:25:52 markm Exp $
#
PROG= miniperl
NOMAN= true
CFLAGS+=-I${PERL5SRC} -I${.OBJDIR}
SRCS= miniperlmain.c config.h
NOSHARED= yes
DPADD= ${LIBPERL} ${LIBM} ${LIBCRYPT}
LDADD= -lperl -lm -lcrypt

View File

@ -1,5 +1,5 @@
#
# $Id: Makefile,v 1.12 1998/09/16 17:25:52 markm Exp $
# $Id: Makefile,v 1.13 1998/09/22 12:00:58 markm Exp $
#
PROG= perl
@ -31,8 +31,6 @@ ${PROG}: Config.pm lib/auto/DynaLoader/DynaLoader.a
lib/auto/DynaLoader/DynaLoader.a: Config.pm autosplit
.ORDER: ${STATIC_EXT} ${DYNAMIC_EXT} ${NONXS_EXT}
config.h: config_h.sh config.sh
sh config_h.sh

View File

@ -4,7 +4,7 @@
# This was perl 5.00502's installperl, very thoroughly hacked to only
# install the perl libraries.
#
# $Id$
# $Id: install_perl_libs,v 1.1 1998/09/09 07:20:26 markm Exp $
#
BEGIN {
@ -55,9 +55,9 @@ die "Patchlevel of perl ($patchlevel)",
# Fetch some frequently-used items from %Config
my $installprivlib = $destdir . $Config{installprivlib};
my $installarchlib = $destdir . $Config{installarchlib};
my $man1dir = $Config{man1dir};
my $man1dir = $destdir . $Config{man1dir};
my $man1ext = $Config{man1ext};
my $man3dir = $Config{man3dir};
my $man3dir = $destdir . $Config{man3dir};
my $man3ext = $Config{man3ext};
my $libperl = $Config{libperl};
# Shared library and dynamic loading suffixes.