Added support for ad.${machine_cpu}.shl listfiles. These list

architecture-dependent files that are present when shared libraries are in use.
This commit is contained in:
fredette 2002-07-17 23:34:20 +00:00
parent 73239eb26f
commit 9090c61c66
4 changed files with 14 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: ad.m68k,v 1.14 2002/04/09 11:07:30 bjh21 Exp $
# $NetBSD: ad.m68k.shl,v 1.1 2002/07/17 23:34:20 fredette Exp $
./sbin/ldconfig base-sysutil-root
./usr/lib/libm68k.so.0 base-sys-shlib
./usr/lib/libm68k.so.0.0 base-sys-shlib

View File

@ -1,4 +1,4 @@
# $NetBSD: ad.m68k,v 1.25 2002/04/10 17:18:01 briggs Exp $
# $NetBSD: ad.m68k,v 1.26 2002/07/17 23:34:21 fredette Exp $
./usr/bin/elf2aout comp-sysutil-bin
./usr/include/m68k comp-c-include
./usr/include/m68k/ansi.h comp-c-include
@ -48,6 +48,4 @@
./usr/include/m68k/types.h comp-c-include
./usr/include/m68k/varargs.h comp-c-include
./usr/lib/libm68k.a comp-c-lib
./usr/lib/libm68k.so comp-c-lib
./usr/lib/libm68k_p.a comp-c-lib
./usr/lib/libm68k_pic.a comp-c-lib

View File

@ -0,0 +1,3 @@
# $NetBSD: ad.m68k.shl,v 1.1 2002/07/17 23:34:21 fredette Exp $
./usr/lib/libm68k.so comp-c-lib
./usr/lib/libm68k_pic.a comp-c-lib

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $NetBSD: makeflist,v 1.47 2002/05/06 23:38:47 nathanw Exp $
# $NetBSD: makeflist,v 1.48 2002/07/17 23:34:20 fredette Exp $
#
# Print out the files in some or all lists.
# Usage: makeflist [-b] [-x] [-a arch] [-m machine] [-s setsdir] [setname ...]
@ -99,9 +99,14 @@ unset _lists
for setname in $lists; do
cat $setd/lists/$setname/mi
if [ "$machine" != "$machine_arch" -a \
-f $setd/lists/$setname/ad.${machine_cpu} ]; then
cat $setd/lists/$setname/ad.${machine_cpu}
if [ "$machine" != "$machine_arch" ]; then
if [ -f $setd/lists/$setname/ad.${machine_cpu} ]; then
cat $setd/lists/$setname/ad.${machine_cpu}
fi
if [ "$shlib" != "no" -a \
-f $setd/lists/$setname/ad.${machine_cpu}.shl ]; then
cat $setd/lists/$setname/ad.${machine_cpu}.shl
fi
fi
if [ -f $setd/lists/$setname/md.${machine} ]; then
cat $setd/lists/$setname/md.${machine}