11638Srgrimes# @(#)Makefile 8.1 (Berkeley) 6/8/93 250476Speter# $FreeBSD: releng/10.3/share/termcap/Makefile 276991 2015-01-11 18:13:56Z ngie $ 31638Srgrimes 41638Srgrimes# reorder gives an editor command for most common terminals 51638Srgrimes# (in reverse order from n'th to 1'st most commonly used) 61638Srgrimes# to move them to the front of termcap 71638Srgrimes# 874856SruMAN= termcap.5 91638Srgrimes 10148724SphkFILES= termcap termcap.db 1188055SruFILESDIR= ${BINDIR}/misc 12276991SngieCLEANFILES+= termcap.db 131638Srgrimes 14142262Sru.include <bsd.endian.mk> 15142262Sru.if ${TARGET_ENDIANNESS} == "1234" 16142262SruCAP_MKDB_ENDIAN= -l 17142262Sru.elif ${TARGET_ENDIANNESS} == "4321" 18142262SruCAP_MKDB_ENDIAN= -b 19142262Sru.else 20142262SruCAP_MKDB_ENDIAN= 21142262Sru.endif 22142262Sru 231638Srgrimestermcap.db: termcap 24276991Sngie cap_mkdb ${CAP_MKDB_ENDIAN} -f ${.TARGET:R} ${.ALLSRC} 251638Srgrimes 2617639Swoschetc-termcap: 2788055Sru ln -fs ${BINDIR}/misc/termcap ${DESTDIR}/etc/termcap 281638Srgrimes 291638Srgrimes.include <bsd.prog.mk> 30