]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - share/termcap/Makefile
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / share / termcap / Makefile
1 #       @(#)Makefile    8.1 (Berkeley) 6/8/93
2 # $FreeBSD$
3
4 # reorder gives an editor command for most common terminals
5 # (in reverse order from n'th to 1'st most commonly used)
6 # to move them to the front of termcap
7 #
8 MAN=    termcap.5
9
10 FILES=          termcap termcap.db
11 FILESDIR=       ${BINDIR}/misc
12 CLEANFILES+=    termcap.db
13
14 .include <bsd.endian.mk>
15 .if ${TARGET_ENDIANNESS} == "1234"
16 CAP_MKDB_ENDIAN= -l
17 .elif ${TARGET_ENDIANNESS} == "4321"
18 CAP_MKDB_ENDIAN= -b
19 .else
20 CAP_MKDB_ENDIAN=
21 .endif
22
23 termcap.db: termcap
24         cap_mkdb ${CAP_MKDB_ENDIAN} -f ${.TARGET:R} ${.ALLSRC}
25
26 etc-termcap:
27         ln -fs ${BINDIR}/misc/termcap ${DESTDIR}/etc/termcap
28
29 .include <bsd.prog.mk>