1# $OpenBSD: Makefile,v 1.15 2024/04/29 13:23:19 naddy Exp $ 2 3PROG= tput 4SRCS= clear_cmd.c reset_cmd.c tparm_type.c tput.c transform.c \ 5 tty_settings.c 6CURSES= ${.CURDIR}/../../lib/libcurses 7DPADD= ${LIBCURSES} 8LDADD= -lcurses 9LINKS= ${BINDIR}/tput ${BINDIR}/clear 10TIC= ${.CURDIR}/../tic 11CFLAGS+= -I${CURSES} -I${TIC} -I${.CURDIR} -I. 12.PATH: ${TIC} 13CLEANFILES+= termsort.h 14MAN= tput.1 clear.1 15 16termsort.h: ${TIC}/MKtermsort.sh 17 sh ${TIC}/MKtermsort.sh awk ${CURSES}/Caps > ${.TARGET} 18 19.include <bsd.prog.mk> 20