Make the perl build a little less chatty.

Reviewed by:	markm
This commit is contained in:
Jordan K. Hubbard 1999-12-16 11:21:08 +00:00
parent 7c99ddf2cc
commit edad13b0a1

View File

@ -39,7 +39,7 @@ ${PROG}: Config.pm autosplit lib/auto/DynaLoader/DynaLoader.a
Config.pm: links ${PERL5SRC}/configpm myconfig config.sh
miniperl ${PERL5SRC}/configpm \
Config.pm Porting/Glossary myconfig config.sh
cd lib ; ln -sf ../${.TARGET}
@cd lib ; ln -sf ../${.TARGET}
perlmain.c: config.sh writemain config.h
sh writemain lib/auto/DynaLoader/DynaLoader.a > ${.TARGET}
@ -52,13 +52,13 @@ autosplit: links Config.pm lib/*.pm lib/*/*.pm
.for I in ${STATIC_EXT}
ext/${I:H}/Makefile: links ext/${I:H}/Makefile.PL cflags Config.pm config.h
cd ext/${I:H}; \
@cd ext/${I:H}; \
miniperl -I${.OBJDIR}/lib Makefile.PL ${MAKEMAKER_ARGS} \
LINKTYPE=static LIBS="-lperl"; \
make -B config PERL_SRC=${.OBJDIR}
lib/auto/${I}.a: links ext/${I:H}/Makefile
cd ext/${I:H}; \
@cd ext/${I:H}; \
make -B all PERL_SRC=${.OBJDIR}
all: lib/auto/${I}.a
@ -68,7 +68,7 @@ STATICS+= lib/auto/${I}.a
.for I in ${DYNAMIC_EXT}
ext/${I:H}/Makefile: links ext/${I:H}/Makefile.PL cflags Config.pm pod2man config.h
cd ext/${I:H}; \
@cd ext/${I:H}; \
miniperl -I${.OBJDIR}/lib Makefile.PL ${MAKEMAKER_ARGS} \
LINKTYPE=dynamic LIBS="-lperl" \
INST_LIB=${.OBJDIR}/build/${I:H} \
@ -76,7 +76,7 @@ ext/${I:H}/Makefile: links ext/${I:H}/Makefile.PL cflags Config.pm pod2man confi
make -B config PERL_SRC=${.OBJDIR}
lib/auto/${I}.so: links ${PROG} ext/${I:H}/Makefile
cd ext/${I:H}; \
@cd ext/${I:H}; \
make -B all PERL_SRC=${.OBJDIR}
all: lib/auto/${I}.so
@ -87,14 +87,14 @@ DYNAMICS+= lib/auto/${I}.so
.for I in ${NONXS_EXT}
ext/${I:H}/Makefile: links ext/${I:H}/Makefile.PL cflags lib/Config.pm
mkdir -p ${.OBJDIR}/lib/auto/${I:H} ;\
cd ext/${I:H} ;\
@cd ext/${I:H} ;\
miniperl -I${.OBJDIR}/lib Makefile.PL ${MAKEMAKER_ARGS} \
INST_LIB=${.OBJDIR}/lib/auto/${I:H} \
INST_ARCHLIB=${.OBJDIR}/lib/auto/${I:H}; \
make -B config PERL_SRC=${.OBJDIR}
lib/auto/${I}: links ${PROG} ext/${I:H}/Makefile
cd ext/${I:H}; \
@cd ext/${I:H}; \
make -B all LINKTYPE=nonxs PERL_SRC=${.OBJDIR}
NONXSS+= lib/auto/${I}
@ -105,14 +105,14 @@ pod2man: Config.pm autosplit ${PERL5SRC}/pod/pod2man.PL
miniperl -I${.OBJDIR}/lib pod2man.PL
man3pages: pod2man
cd ${.OBJDIR}/lib ;\
@cd ${.OBJDIR}/lib ;\
for i in `find . -name \*.pm | grep -v Functions.pm` ; do \
j=`echo $$i | sed -e 's|./||' -e 's|/|::|g' -e 's|.pm|.3|'` ;\
echo Manifying $$j ;\
miniperl -I${.OBJDIR}/lib ${.OBJDIR}/pod2man $$i > $$j ;\
gzip -fn $$j ;\
done
cd ${.OBJDIR}/ext ;\
@cd ${.OBJDIR}/ext ;\
for i in `find . -name \*.pm -o -name \*.pod | grep -v POSIX.pm` ; do \
j=`echo $$i | sed -e 's|./||' -e 's|/SysV/|/IPC/|' \
-e 's|/Dumper/|/Data/|' -e 's|/lib/|/|' \
@ -129,24 +129,24 @@ all: man3pages
install:
.for I in ${DYNAMIC_EXT}
cd ${.OBJDIR}/ext/${I:H} ;\
@cd ${.OBJDIR}/ext/${I:H} ;\
make -B install \
INSTALLPRIVLIB=${DESTDIR}/usr/libdata/perl/5.00503 \
INSTALLARCHLIB=${DESTDIR}/usr/libdata/perl/5.00503/mach
.endfor
cd ${.OBJDIR}/lib ;\
@cd ${.OBJDIR}/lib ;\
for i in `find . \! -type d \! -name \*.3.gz` ; do \
j=`echo $$i|sed -e 's|auto/DynaLoader|mach/auto/DynaLoader|'` ;\
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
$$i ${DESTDIR}/usr/libdata/perl/5.00503/$$j ;\
done
cd ${.OBJDIR}/lib ;\
@cd ${.OBJDIR}/lib ;\
${INSTALL} ${COPY} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} \
*.3.gz ${DESTDIR}/usr/share/perl/man/man3
cd ${.OBJDIR} ;\
@cd ${.OBJDIR} ;\
${INSTALL} ${COPY} -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} \
*.h ${DESTDIR}/usr/libdata/perl/5.00503/mach/CORE
cd ${.OBJDIR} ;\
@cd ${.OBJDIR} ;\
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
Config.pm ${DESTDIR}/usr/libdata/perl/5.00503/mach