aboutsummaryrefslogtreecommitdiff
path: root/mk/termcap.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/termcap.mk')
-rw-r--r--mk/termcap.mk17
1 files changed, 0 insertions, 17 deletions
diff --git a/mk/termcap.mk b/mk/termcap.mk
deleted file mode 100644
index 4890e35a..00000000
--- a/mk/termcap.mk
+++ /dev/null
@@ -1,17 +0,0 @@
-ifeq (${MKTERMCAP},ncurses)
-TERMCAP_CFLAGS:= $(shell ${PKG_CONFIG} ncurses --cflags 2> /dev/null)
-LTERMCAP:= $(shell ${PKG_CONFIG} ncurses --libs 2> /dev/null)
-ifeq ($(LTERMCAP),)
-LIBTERMCAP?= -lncurses
-else
-LIBTERMCAP?= $(LTERMCAP)
-endif
-CPPFLAGS+= -DHAVE_TERMCAP ${TERMCAP_CFLAGS}
-LDADD+= ${LIBTERMCAP}
-else ifeq (${MKTERMCAP},termcap)
-LIBTERMCAP?= -ltermcap
-CPPFLAGS+= -DHAVE_TERMCAP
-LDADD+= ${LIBTERMCAP}
-else ifneq (${MKTERMCAP},)
-$(error If MKTERMCAP is defined, it must be ncurses or termcap)
-endif