NetBSD/share/termcap/Makefile
roy 8dafc5727f Remove tn3270 from base system.
If anyone really needs it then it can be put into pkgsrc.
Importing c3270 into pkgsrc is probably a better option though.
2010-01-16 15:34:22 +00:00

26 lines
540 B
Makefile

# $NetBSD: Makefile,v 1.30 2010/01/16 15:34:23 roy Exp $
# from: @(#)Makefile 8.1 (Berkeley) 6/8/93
MAN= termcap.5
CLEANFILES= termcap.db
realall: termcap.db
FILES=termcap.db termcap.src
FILESNAME_termcap.src=termcap
FILESDIR=${BINDIR}/misc
.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}
.include <bsd.prog.mk>