summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2016-04-17 23:23:23 -0700
committerMichael Forney <mforney@mforney.org>2016-04-17 23:23:23 -0700
commit09422da76c5f3524c1f03ef494d2ea8ed998961e (patch)
tree26653a09f7f5e214d3e8234e41634b737b7fffc8
parent761e1c1507d3acc1dd6d3690aac52190bd43a0fa (diff)
Rename static_lib -> lib
-rw-r--r--core/bzip2/gen.rc2
-rw-r--r--core/plan9port/gen.rc2
-rw-r--r--core/sbase/gen.rc4
-rw-r--r--core/ubase/gen.rc2
-rw-r--r--core/zlib/gen.rc2
-rw-r--r--ninja.rc2
6 files changed, 7 insertions, 7 deletions
diff --git a/core/bzip2/gen.rc b/core/bzip2/gen.rc
index e24d3091..638ce609 100644
--- a/core/bzip2/gen.rc
+++ b/core/bzip2/gen.rc
@@ -1,5 +1,5 @@
cflags -Wall -Winline -D_FILE_OFFSET_BITS'='64
-static_lib libbz2.a blocksort.c huffman.c crctable.c randtable.c compress.c decompress.c bzlib.c
+lib libbz2.a blocksort.c huffman.c crctable.c randtable.c compress.c decompress.c bzlib.c
exe bzip2 bzip2.c libbz2.a
file bin/bzip2 '$outdir'/bzip2 755
file share/man/man1/bzip2.1 '$srcdir'/bzip2.1 644
diff --git a/core/plan9port/gen.rc b/core/plan9port/gen.rc
index 105da398..fe2f1543 100644
--- a/core/plan9port/gen.rc
+++ b/core/plan9port/gen.rc
@@ -6,7 +6,7 @@ cflags\
yacc x '$srcdir'/src/cmd/rc/syn.y
-static_lib lib9.a src/lib9/^(\
+lib lib9.a src/lib9/^(\
_p9dir.c\
argv0.c\
atexit.c\
diff --git a/core/sbase/gen.rc b/core/sbase/gen.rc
index a9019cfb..a5d91477 100644
--- a/core/sbase/gen.rc
+++ b/core/sbase/gen.rc
@@ -6,8 +6,8 @@ cflags\
-std'='c99 -Wall -pedantic\
-I '$outdir'
-static_lib libutil.a libutil/*.c
-static_lib libutf.a libutf/*.c
+lib libutil.a libutil/*.c
+lib libutf.a libutf/*.c
getconf_outs='$outdir'/^(confstr limits sysconf pathconf)^_l.h
rule getconf 'getconf=$$PWD/$srcdir/getconf.sh && cd $outdir && $$getconf'
diff --git a/core/ubase/gen.rc b/core/ubase/gen.rc
index 493bfa8d..06b89936 100644
--- a/core/ubase/gen.rc
+++ b/core/ubase/gen.rc
@@ -7,7 +7,7 @@ cflags\
build '$outdir/config.h' copy '$srcdir/config.def.h'
-static_lib libutil.a\
+lib libutil.a\
libutil/agetcwd.c\
libutil/agetline.c\
libutil/apathmax.c\
diff --git a/core/zlib/gen.rc b/core/zlib/gen.rc
index e2035c1b..dceb1fe9 100644
--- a/core/zlib/gen.rc
+++ b/core/zlib/gen.rc
@@ -4,7 +4,7 @@ cflags\
-DHAVE_UNISTD_H\
-D_LARGEFILE64_SOURCE
-static_lib libz.a\
+lib libz.a\
adler32.c\
crc32.c\
deflate.c\
diff --git a/ninja.rc b/ninja.rc
index 976601d2..077ca174 100644
--- a/ninja.rc
+++ b/ninja.rc
@@ -106,7 +106,7 @@ fn objects {
}
}
-fn static_lib {
+fn lib {
objects ar $*
}