aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-03-16 21:53:06 +0100
committerMarc André Tanner <mat@brain-dump.org>2017-03-16 22:51:55 +0100
commit51d402293fa8e75e9dcf737e4176ac6ccbb2fd8e (patch)
treecb06a9a8dd8f18dd46a9fe811df6e3ca78e821c0 /GNUmakefile
parentc6557f5e8778dc7adf867c74b30c8cbe5951be66 (diff)
downloadvis-51d402293fa8e75e9dcf737e4176ac6ccbb2fd8e.tar.gz
vis-51d402293fa8e75e9dcf737e4176ac6ccbb2fd8e.tar.xz
build: include dvtm terminfo entries in standalone builds
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/GNUmakefile b/GNUmakefile
index d5d0afa..c19a64c 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1,12 +1,6 @@
include Makefile
-SRCDIR = $(realpath $(dir $(firstword $(MAKEFILE_LIST))))
-
-DEPS_ROOT = $(SRCDIR)/dependency/install
-DEPS_PREFIX = $(DEPS_ROOT)/usr
-DEPS_BIN = $(DEPS_PREFIX)/bin
-DEPS_LIB = $(DEPS_PREFIX)/lib
-DEPS_INC = $(DEPS_PREFIX)/include
+TERMINFO_ENTRIES = st,st-256color,dvtm,dvtm-256color,xterm,xterm-256color,vt100,ansi
LIBMUSL = musl-1.1.16
LIBMUSL_SHA256 = 937185a5e5d721050306cf106507a006c3f1f86d86cd550024ea7be909071011
@@ -33,12 +27,20 @@ LIBATTR_SHA256 = faf6e5cbfa71153bd1049206ca70690c5dc96e2ec3db50eae107092c3de900c
LIBACL = acl-38f32ea1865bcc44185f4118fde469cb962cff68
LIBACL_SHA256 = 98598b0bb154ab294d9a695fd08b0e06516e770bbd1d78937905f0dd8ebe485c
-LIBNCURSES_CONFIG = --disable-database --with-fallbacks=st,st-256color,xterm,xterm-256color,vt100 \
+LIBNCURSES_CONFIG = --disable-database --with-fallbacks="$(TERMINFO_ENTRIES)" \
--with-shared --enable-widec --enable-ext-colors --with-termlib=tinfo \
--without-ada --without-cxx --without-cxx-binding --without-manpages \
--without-tests --without-progs --without-debug --without-profile \
--without-cxx-shared --without-termlib --without--ticlib --disable-leaks
+SRCDIR = $(realpath $(dir $(firstword $(MAKEFILE_LIST))))
+
+DEPS_ROOT = $(SRCDIR)/dependency/install
+DEPS_PREFIX = $(DEPS_ROOT)/usr
+DEPS_BIN = $(DEPS_PREFIX)/bin
+DEPS_LIB = $(DEPS_PREFIX)/lib
+DEPS_INC = $(DEPS_PREFIX)/include
+
dependency/build:
mkdir -p "$@"