1NCURSESDIR= ${.CURDIR}/../../../contrib/ncurses 2TERMINFO_CAPS= ${NCURSESDIR}/include/Caps 3.PATH: ${NCURSESDIR}/progs 4 5PROG= tic_next 6 7CFLAGS+= -DENABLE_WIDEC 8CFLAGS+= -DSET_NCURSES_CH_T=cchar_t 9CFLAGS+= -DSET_NEED_WCHAR_H=1 10CFLAGS+= -I${NCURSESDIR}/progs 11CFLAGS+= -I. 12CFLAGS+= -I${NCURSESDIR}/include 13CFLAGS+= -I${.OBJDIR}/../libtic 14CFLAGS+= -I${.CURDIR} 15CFLAGS+= -I${.OBJDIR} 16 17LDADD+= ../libtic/libtic.na 18 19ncurses_def.h: MKncurses_def.sh ncurses_defs 20 AWK=awk sh ${NCURSESDIR}/include/MKncurses_def.sh \ 21 ${NCURSESDIR}/include/ncurses_defs > ${.TARGET} 22 23parametrized.h: termsort.c 24 AWK=awk sh ${NCURSESDIR}/include/MKparametrized.sh \ 25 ${TERMINFO_CAPS} > ${.TARGET} 26 27termsort.c: 28 sh ${NCURSESDIR}/progs/MKtermsort.sh awk ${TERMINFO_CAPS} > termsort.c 29 30tic_next.nx: ../libtic/libtic.na 31 32CLEANFILES= ncurses_def.h parametrized.h termsort.c 33 34SRCS= ncurses_def.h parametrized.h tic.c dump_entry.c tparm_type.c transform.c 35 36build-tools: tic_next.nx 37 38# this tic_next is used in place, it is not installed anywhere 39install: 40 41.include <bsd.hostprog.mk> 42