Deleted Added
full compact
Makefile (93764) Makefile (142262)
1# @(#)Makefile 8.1 (Berkeley) 6/8/93
1# @(#)Makefile 8.1 (Berkeley) 6/8/93
2# $FreeBSD: head/share/termcap/Makefile 93764 2002-04-04 07:30:46Z ru $
2# $FreeBSD: head/share/termcap/Makefile 142262 2005-02-22 23:29:54Z ru $
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#
8MAN= termcap.5
9
10FILES= map3270 termcap termcap.db
11FILESDIR= ${BINDIR}/misc
12CLEANFILES+= termcap termcap.db
13
14termcap: reorder termcap.src
15 TERM=dumb TERMCAP=dumb: ex - ${.CURDIR}/termcap.src < ${.CURDIR}/reorder
16
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#
8MAN= termcap.5
9
10FILES= map3270 termcap termcap.db
11FILESDIR= ${BINDIR}/misc
12CLEANFILES+= termcap termcap.db
13
14termcap: reorder termcap.src
15 TERM=dumb TERMCAP=dumb: ex - ${.CURDIR}/termcap.src < ${.CURDIR}/reorder
16
17.include <bsd.endian.mk>
18.if ${TARGET_ENDIANNESS} == "1234"
19CAP_MKDB_ENDIAN= -l
20.elif ${TARGET_ENDIANNESS} == "4321"
21CAP_MKDB_ENDIAN= -b
22.else
23CAP_MKDB_ENDIAN=
24.endif
25
17termcap.db: termcap
26termcap.db: termcap
18 cap_mkdb termcap
27 cap_mkdb ${CAP_MKDB_ENDIAN} termcap
19
20etc-termcap:
21 ln -fs ${BINDIR}/misc/termcap ${DESTDIR}/etc/termcap
22
23.include <bsd.prog.mk>
28
29etc-termcap:
30 ln -fs ${BINDIR}/misc/termcap ${DESTDIR}/etc/termcap
31
32.include <bsd.prog.mk>