[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / usr.bin / tput

File: [local] / src / usr.bin / tput / Makefile (download)

Revision 1.14, Sat Apr 27 15:05:55 2024 UTC (6 weeks, 2 days ago) by jmc
Branch: MAIN
Changes since 1.13: +2 -1 lines

add a man page from curses source for clear(1);
from piotr durlej

ok millert

#	$OpenBSD: Makefile,v 1.14 2024/04/27 15:05:55 jmc Exp $

PROG=	tput
SRCS=	clear_cmd.c reset_cmd.c tparm_type.c tput.c transform.c \
	tty_settings.c
CURSES=	${.CURDIR}/../../lib/libcurses
DPADD=	${LIBCURSES}
LDADD=	-lcurses
LINKS=	${BINDIR}/tput ${BINDIR}/clear
TIC= ${.CURDIR}/../tic
CFLAGS+= -I${CURSES} -I${TIC} -I${.CURDIR} -I.
.PATH:  ${TIC}
CLEANFILES+= termsort.h
MAN+=	clear.1

termsort.h: ${TIC}/MKtermsort.sh
	sh ${TIC}/MKtermsort.sh awk ${CURSES}/Caps > ${.TARGET}

.include <bsd.prog.mk>