Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/miniroot Allow for a 'LIBS' directive in the 'list'-...
details: https://anonhg.NetBSD.org/src/rev/09bb8dc24e4a
branches: trunk
changeset: 467337:09bb8dc24e4a
user: leo <leo%NetBSD.org@localhost>
date: Tue Mar 23 10:20:01 1999 +0000
description:
Allow for a 'LIBS' directive in the 'list'-files.
diffstat:
distrib/miniroot/list2sh.awk | 6 +++++-
distrib/miniroot/makeconf.awk | 7 ++++++-
2 files changed, 11 insertions(+), 2 deletions(-)
diffs (41 lines):
diff -r 65f4049886ce -r 09bb8dc24e4a distrib/miniroot/list2sh.awk
--- a/distrib/miniroot/list2sh.awk Tue Mar 23 09:40:53 1999 +0000
+++ b/distrib/miniroot/list2sh.awk Tue Mar 23 10:20:01 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: list2sh.awk,v 1.2 1996/05/04 15:45:31 pk Exp $
+# $NetBSD: list2sh.awk,v 1.3 1999/03/23 10:20:01 leo Exp $
BEGIN {
printf("cd ${OBJDIR}\n");
@@ -34,6 +34,10 @@
# crunchgen directive; ignored here
next;
}
+$1 == "LIBS" {
+ # crunchgen directive; ignored here
+ next;
+}
$1 == "SRCDIRS" {
# crunchgen directive; ignored here
next;
diff -r 65f4049886ce -r 09bb8dc24e4a distrib/miniroot/makeconf.awk
--- a/distrib/miniroot/makeconf.awk Tue Mar 23 09:40:53 1999 +0000
+++ b/distrib/miniroot/makeconf.awk Tue Mar 23 10:20:01 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: makeconf.awk,v 1.4 1996/12/01 21:51:53 pk Exp $
+# $NetBSD: makeconf.awk,v 1.5 1999/03/23 10:20:01 leo Exp $
#
# generate crunchgen(1) configuration file from `list' spec.
@@ -15,6 +15,11 @@
print;
}
+$1 == "LIBS" {
+ $1 = tolower($1);
+ print;
+}
+
($1 == "LINK" || $1 == "SYMLINK") && index($2,CBIN) {
# find basenames for inclusion in crunchgen's `prog' and `ln' directives
n = split($3, x, "/");
Home |
Main Index |
Thread Index |
Old Index