From 09422da76c5f3524c1f03ef494d2ea8ed998961e Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sun, 17 Apr 2016 23:23:23 -0700 Subject: Rename static_lib -> lib --- core/bzip2/gen.rc | 2 +- core/plan9port/gen.rc | 2 +- core/sbase/gen.rc | 4 ++-- core/ubase/gen.rc | 2 +- core/zlib/gen.rc | 2 +- ninja.rc | 2 +- 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 $* } -- cgit v1.2.3