130ab7336b
* Don't bother prefixing commands with a line of ${_MKCMD}\ and instead rely upon "make -s". This is less intrusive on all the Makefiles than the former. Idea from David Laight. * Rename the variables use to print messages. The scheme now is: _MKMSG_FOO Run _MKMSG 'foo' _MKTARGET_FOO Run _MKMSG_FOO ${.TARGET} From discussion with Alistair Crooks.
26 lines
550 B
Makefile
26 lines
550 B
Makefile
# $NetBSD: Makefile,v 1.29 2003/10/21 10:01:20 lukem Exp $
|
|
# from: @(#)Makefile 8.1 (Berkeley) 6/8/93
|
|
|
|
MAN= termcap.5
|
|
|
|
CLEANFILES= termcap.db
|
|
realall: termcap.db
|
|
FILES=termcap.db termcap.src map3270
|
|
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>
|