84d9c625bf
- Fix for possible unset uid/gid in toproto - Fix for default mtree style - Update libelf - Importing libexecinfo - Resynchronize GCC, mpc, gmp, mpfr - build.sh: Replace params with show-params. This has been done as the make target has been renamed in the same way, while a new target named params has been added. This new target generates a file containing all the parameters, instead of printing it on the console. - Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org) get getservbyport() out of the inner loop Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
29 lines
765 B
Makefile
29 lines
765 B
Makefile
# $NetBSD: bsd.buildinstall.mk,v 1.1 2012/11/15 23:51:53 joerg Exp $
|
|
|
|
#
|
|
# build_install logic for src/Makefile
|
|
# Used by src/lib/Makefile and src/tools/Makefile.
|
|
#
|
|
# Compute a list of subdirectories delimited by .WAIT.
|
|
# Run "make dependall && make install" for all subdirectories in a group
|
|
# concurrently, but wait after each group.
|
|
#
|
|
SUBDIR_GROUPS= 1
|
|
CUR_GROUP:= 1
|
|
.for dir in ${SUBDIR}
|
|
. if ${dir} == ".WAIT"
|
|
CUR_GROUP:= ${CUR_GROUP}1
|
|
SUBDIR_GROUPS:= ${SUBDIR_GROUPS} ${CUR_GROUP}
|
|
. else
|
|
SUBDIR_GROUP.${CUR_GROUP}+= ${dir}
|
|
.endif
|
|
|
|
.endfor
|
|
|
|
build_install:
|
|
.for group in ${SUBDIR_GROUPS}
|
|
. if !empty(SUBDIR_GROUP.${group})
|
|
${MAKEDIRTARGET} . ${SUBDIR_GROUP.${group}:C/^/dependall-/}
|
|
${MAKEDIRTARGET} . ${SUBDIR_GROUP.${group}:C/^/install-/}
|
|
. endif
|
|
.endfor
|