Commit cfe874ed authored by Peter Pentchev's avatar Peter Pentchev

Drop the termlib implementation, require termcap.

parent 0ba2ad74
......@@ -12,6 +12,7 @@ Change log for hexer, the multi-view binary editor
- clarify a README comment about the unpacked subdirectory
- drop the HAVE_NCURSES configuration setting, the support for
changing the foreground and background color is autodeteted
- drop the bundled termlib implementation, require termcap support
0.2.3 2015/12/10
- build with large file support on Linux
......
......@@ -15,18 +15,11 @@ MANDIR ?= $(PREFIX)/man/man1
# -- Which terminal library? --
# (It's probably save to leave the following lines unchanged.)
#
# Use the following two lines, if you want to use the termcap-library.
#LTERMLIB ?=
# Use the following line if you want to use the termcap library.
#LTERMCAP ?= -ltermcap
#
# Uncomment these if you want to use curses.
LTERMLIB ?=
# ...or this one if you want to use curses.
LTERMCAP ?= -lcurses
#
# Uncomment the following two lines if you want to use the termlib code
# supplied with the package (not recommended).
#LTERMLIB = termlib.o
#LTERMCAP =
CPPFLAGS_STD ?= -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 \
-D_FILE_OFFSET_BITS=64
......@@ -67,8 +60,7 @@ MYC = myc
CTAGS = ctags -tawf tags
OBJECTS = buffer.o tio.o edit.o main.o hexer.o readline.o regex.o port.o \
exh.o set.o map.o signal.o util.o commands.o helptext.o calc.o \
$(LTERMLIB)
exh.o set.o map.o signal.o util.o commands.o helptext.o calc.o
all: config.check $(HEXER)
......@@ -114,10 +106,8 @@ depend: *.c *.h
-echo '#' Dependencies: >> Makefile~
-echo >> Makefile~
@{ for i in *.c; do \
if [ "$$i" != 'termlib.c' ]; then \
echo $(CC) -MM $(CPPFLAGS) $$i '>>' Makefile~; \
$(CC) -MM $(CPPFLAGS) $$i >> Makefile~; \
fi \
done; }
-echo >> Makefile~
mv -f Makefile~ Makefile
......
This diff is collapsed.
......@@ -4,7 +4,7 @@
* This file provides a set of functions for manipulating a terminal screen
* and reading from the keyboard.
* Required:
* libtermcap.a or termlib.o
* libtermcap.a
* set.o (only if `USE_SET' is set)
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment