2003-10-21 14:01:19 +04:00
|
|
|
# $NetBSD: Makefile,v 1.29 2003/10/21 10:01:20 lukem Exp $
|
1997-10-17 14:47:42 +04:00
|
|
|
# from: @(#)Makefile 8.1 (Berkeley) 6/8/93
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1994-12-22 12:57:51 +03:00
|
|
|
MAN= termcap.5
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1995-07-04 02:12:47 +04:00
|
|
|
CLEANFILES= termcap.db
|
2000-01-24 00:55:44 +03:00
|
|
|
realall: termcap.db
|
1997-03-25 00:57:01 +03:00
|
|
|
FILES=termcap.db termcap.src map3270
|
|
|
|
FILESNAME_termcap.src=termcap
|
|
|
|
FILESDIR=${BINDIR}/misc
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2002-05-31 01:40:47 +04:00
|
|
|
.include <bsd.endian.mk>
|
|
|
|
.if ${TARGET_ENDIANNESS} == "1234"
|
2003-05-18 12:20:34 +04:00
|
|
|
CAP_MKDB_ENDIAN= -l
|
2002-05-31 01:40:47 +04:00
|
|
|
.elif ${TARGET_ENDIANNESS} == "4321"
|
2003-05-18 12:20:34 +04:00
|
|
|
CAP_MKDB_ENDIAN= -b
|
2002-05-31 01:40:47 +04:00
|
|
|
.else
|
2003-05-18 12:20:34 +04:00
|
|
|
CAP_MKDB_ENDIAN=
|
2002-05-31 01:40:47 +04:00
|
|
|
.endif
|
|
|
|
|
1995-07-04 02:12:47 +04:00
|
|
|
termcap.db: termcap.src
|
2003-10-21 14:01:19 +04:00
|
|
|
${_MKTARGET_CREATE}
|
2003-07-10 14:33:58 +04:00
|
|
|
${TOOL_CAP_MKDB} ${CAP_MKDB_ENDIAN} -f termcap ${.ALLSRC}
|
1993-05-18 11:37:51 +04:00
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.prog.mk>
|