1PACKAGE= runtime 2 3.include <bsd.own.mk> 4.include "${SRCTOP}/lib/ncurses/config.mk" 5 6.PATH: ${NCURSES_DIR}/progs ${NCURSES_DIR}/man 7 8PROGS= tic tput infocmp toe tabs clear tset 9SRCS.tic= tic.c transform.c dump_entry.c tparm_type.c 10SRCS.tput= tput.c tparm_type.c transform.c dump_entry.c clear_cmd.c reset_cmd.c \ 11 tty_settings.c 12SRCS.infocmp= infocmp.c dump_entry.c 13SRCS.tabs= tabs.c tty_settings.c 14SRCS.clear= clear.c clear_cmd.c tty_settings.c 15SRCS.tset= tset.c tty_settings.c transform.c reset_cmd.c 16CFLAGS+= -I${NCURSES_DIR}/progs \ 17 -I${NCURSES_DIR}/include \ 18 -I${SRCTOP}/lib/ncurses/tinfo \ 19 -I${OBJTOP}/lib/ncurses/tinfo \ 20 -I${.CURDIR} 21LIBADD= tinfow 22CLEANFILES= termsort.c 23 24termsort.c: MKtermsort.sh 25 sh ${NCURSES_DIR}/progs/MKtermsort.sh ${AWK} ${NCURSES_DIR}/include/Caps > ${.TARGET} 26dump_entry.c: termsort.c 27 28LINKS.tic= ${BINDIR}/tic ${BINDIR}/captoinfo \ 29 ${BINDIR}/tic ${BINDIR}/infotocap 30LINKS.tset= ${BINDIR}/tset ${BINDIR}/reset 31 32MLINKS.tic= tic.1 captoinfo.1 \ 33 tic.1 infotocap.1 34MLINKS.tset= tset.1 reset.1 35 36.include <bsd.progs.mk> 37 38.SUFFIXES: .1 .1m 39.1m.1: 40 cat ${.IMPSRC} > ${.TARGET} 41