=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tput/Makefile,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- src/usr.bin/tput/Makefile 2016/03/30 06:38:46 1.12 +++ src/usr.bin/tput/Makefile 2023/10/17 09:52:11 1.13 @@ -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