diff options
| author | Michael Forney <mforney@mforney.org> | 2016-11-20 22:55:30 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-11-20 22:57:47 -0800 |
| commit | db8252b708bc5f619a2dafd13643f20da7b03e0d (patch) | |
| tree | dcdeb47150af553e9398a8102b7776fd11c889cb /extra | |
| parent | 5fba72ffe2c4a4c2903503b1741aa33f8866dbda (diff) | |
ncurses: Allow installing library and headers
This is useful for `make menuconfig` when building the linux kernel.
Diffstat (limited to 'extra')
| -rw-r--r-- | extra/ncurses/gen.rc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/extra/ncurses/gen.rc b/extra/ncurses/gen.rc index 28265b0b..f8e7dea6 100644 --- a/extra/ncurses/gen.rc +++ b/extra/ncurses/gen.rc @@ -71,12 +71,16 @@ build '$outdir'/termsort.c mktermsort '$srcdir'/include/Caps '|' '$srcdir'/progs build '$outdir'/unctrl.c awk /dev/null '|' '$srcdir'/ncurses/base/MKunctrl.awk ; with\ expr '-f $srcdir/ncurses/base/MKunctrl.awk bigstrings=1' -phony headers '$outdir'/include/^(curses.h ncurses_dll.h term.h termcap.h unctrl.h) +hdrs=include/^(curses.h ncurses_dll.h term.h termcap.h unctrl.h) +for(hdr in $hdrs) file $hdr '$outdir'/$hdr 644 +phony headers '$outdir'/$hdrs + phony deps '$outdir'/^(\ hashsize.h init_keytry.h ncurses_def.h parametrized.h termsort.c\ ) '$dir'/headers lib libncurses.a -d '$dir'/deps `{grep -v '^#' sources.txt} +file lib/libncurses.a '$outdir'/libncurses.a 644 exe tic -d '$dir'/deps\ progs/^(tic.c dump_entry.c tparm_type.c transform.c)\ |
