Add lorder to TOOLDIR host tools.
Only descend into directories if USE_NEW_TOOLCHAIN is set (allows top level Makefile to use "-m ${.CURDIR}/share/mk" to get the "correct" <bsd.own.mk> when descending into src/tools/Makefile).
This commit is contained in:
parent
772c71ae08
commit
14e39089db
@ -1,10 +1,14 @@
|
||||
# $NetBSD: Makefile,v 1.2 2001/09/21 23:00:35 tv Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2001/09/22 04:15:19 tv Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.ifdef USE_NEW_TOOLCHAIN
|
||||
# XXX this should use real dependencies
|
||||
SUBDIR= binstall .WAIT gencat mkdep rpcgen tsort \
|
||||
yacc .WAIT lex .WAIT \
|
||||
compile_et config lint lint1 lint2 \
|
||||
compile_et config lint lint1 lint2 lorder \
|
||||
toolchain .WAIT texinfo
|
||||
.endif
|
||||
|
||||
TARGETS= build
|
||||
|
||||
|
13
tools/lorder/Makefile
Normal file
13
tools/lorder/Makefile
Normal file
@ -0,0 +1,13 @@
|
||||
# $NetBSD: Makefile,v 1.1 2001/09/22 04:15:20 tv Exp $
|
||||
|
||||
TIMESTAMP= ${TOOLDIR}/bin/lorder
|
||||
|
||||
.PATH: ${.CURDIR}/../../usr.bin/lorder
|
||||
|
||||
install: ${TIMESTAMP}
|
||||
${TIMESTAMP}: lorder.sh
|
||||
.if !make(build)
|
||||
${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${BINMODE} $> $@
|
||||
.endif
|
||||
|
||||
.include <bsd.hostprog.mk>
|
Loading…
x
Reference in New Issue
Block a user