1# $OpenBSD: Makefile,v 1.13 2023/10/17 09:52:11 nicm 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 14 15termsort.h: ${TIC}/MKtermsort.sh 16 sh ${TIC}/MKtermsort.sh awk ${CURSES}/Caps > ${.TARGET} 17 18.include <bsd.prog.mk> 19