NetBSD/share/termcap/Makefile

26 lines
550 B
Makefile
Raw Normal View History

# $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
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
.include <bsd.endian.mk>
.if ${TARGET_ENDIANNESS} == "1234"
CAP_MKDB_ENDIAN= -l
.elif ${TARGET_ENDIANNESS} == "4321"
CAP_MKDB_ENDIAN= -b
.else
CAP_MKDB_ENDIAN=
.endif
termcap.db: termcap.src
${_MKTARGET_CREATE}
${TOOL_CAP_MKDB} ${CAP_MKDB_ENDIAN} -f termcap ${.ALLSRC}
1993-03-21 12:45:37 +03:00
.include <bsd.prog.mk>