2011-02-03 05:48:55 +05:30
|
|
|
ifeq (${MKTERMCAP},ncurses)
|
|
|
|
LIBTERMCAP?= -lncurses
|
|
|
|
CPPFLAGS+= -DHAVE_TERMCAP
|
|
|
|
LDADD+= ${LIBTERMCAP}
|
|
|
|
else ifeq (${MKTERMCAP},termcap)
|
2008-01-06 00:55:55 +05:30
|
|
|
LIBTERMCAP?= -ltermcap
|
2008-06-20 04:42:00 +05:30
|
|
|
CPPFLAGS+= -DHAVE_TERMCAP
|
2008-01-07 15:09:44 +05:30
|
|
|
LDADD+= ${LIBTERMCAP}
|
2011-02-03 05:48:55 +05:30
|
|
|
else ifneq (${MKTERMCAP},)
|
|
|
|
$(error If MKTERMCAP is defined, it must be ncurses or termcap)
|
|
|
|
endif
|