NetBSD/compat/Makefile
joerg 933525b99b Implement build_install in src/lib/Makefile, which traverses the
subdirectories and invokes dependall/install. Do this in groups
delimited by .WAIT to ensure that depending libraries can use the
installed versions and don't need to know the locations in the source
tree.

Use this new target in src/Makefile to replace most of the adhoc library
logic with two special cases, src/lib and src/compat. Adjust
sys/Makefile to include the module directory when building them. Add
some necessary .WAITs in src/lib/Makefile to reflect the dependencies
from src/Makefile and also add the rump libraries here.
2012-08-17 16:22:27 +00:00

20 lines
286 B
Makefile

# $NetBSD: Makefile,v 1.6 2012/08/17 16:22:27 joerg Exp $
# Build multi-abi libaries
.include <bsd.own.mk>
.if ${MKCOMPAT} != "no"
.if !make(includes)
.include "archdirs.mk"
SUBDIR= dirshack .WAIT ${ARCHDIR_SUBDIR}
.endif
.endif
TARGETS+= build_install
.include <bsd.subdir.mk>