diff options
Diffstat (limited to 'usr.bin/tput/Makefile')
-rw-r--r-- | usr.bin/tput/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/usr.bin/tput/Makefile b/usr.bin/tput/Makefile index 22a02630600..7b261e36c7f 100644 --- a/usr.bin/tput/Makefile +++ b/usr.bin/tput/Makefile @@ -1,8 +1,18 @@ -# $OpenBSD: Makefile,v 1.12 2016/03/30 06:38:46 jmc Exp $ +# $OpenBSD: Makefile,v 1.13 2023/10/17 09:52:11 nicm 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 +LINKS= ${BINDIR}/tput ${BINDIR}/clear +TIC= ${.CURDIR}/../tic +CFLAGS+= -I${CURSES} -I${TIC} -I${.CURDIR} -I. +.PATH: ${TIC} +CLEANFILES+= termsort.h + +termsort.h: ${TIC}/MKtermsort.sh + sh ${TIC}/MKtermsort.sh awk ${CURSES}/Caps > ${.TARGET} .include <bsd.prog.mk> |