tTweak listing of libraries. - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit e04d5bee6949d103a588659ee155f13f755cc2e2
DIR parent 2fd9db992abb50c889272c62cd68bce884407c15
HTML Author: rsc <devnull@localhost>
Date: Sun, 29 Feb 2004 23:09:35 +0000
Tweak listing of libraries.
Diffstat:
M src/mkhdr | 2 ++
M src/mkmany | 2 +-
M src/mkone | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
---
DIR diff --git a/src/mkhdr b/src/mkhdr
t@@ -22,6 +22,8 @@ CLEANFILES=
NUKEFILES=
YACC=yacc
YFLAGS=-d
+LIB=
+SHORTLIB=
<|cat $PLAN9/src/mk.$SYSNAME-$OBJTYPE 2>/dev/null || true
DIR diff --git a/src/mkmany b/src/mkmany
t@@ -5,7 +5,7 @@ PROGS=${TARG:%=$O.%}
all:V: $PROGS
-$O.%: %.$O $OFILES $LIB
+$O.%: %.$O $OFILES $LIB ${SHORTLIB:%=$LIBDIR/lib%.a}
$LD -o $target $prereq $LDFLAGS
%.install:V: $BIN/%
DIR diff --git a/src/mkone b/src/mkone
t@@ -2,7 +2,7 @@ PROG=$O.$TARG
all:V: $PROG
-$PROG: $OFILES $LIB
+$PROG: $OFILES $LIB ${SHORTLIB:%=$LIBDIR/lib%.a}
$LD -o $target $prereq $LDFLAGS
install:V: $TARG.install