]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Follow-up r288218 by ensuring common objects are built before recursing.
authorBryan Drewery <bdrewery@FreeBSD.org>
Wed, 14 Oct 2015 04:42:05 +0000 (04:42 +0000)
committerBryan Drewery <bdrewery@FreeBSD.org>
Wed, 14 Oct 2015 04:42:05 +0000 (04:42 +0000)
commit3be00685d65115045ba32915cff732a9386952bb
treee1a4e36896d84a59dc6096eb8a07cfb868235461
parent80ad3377c343f9db9e551d18f60d64533c916d95
Follow-up r288218 by ensuring common objects are built before recursing.

Some example where this is a problem:
  lib/atf/libatf-c++/tests/Makefile:SRCS.${_T}=   ${_T}.cpp test_helpers.cpp
  lib/atf/libatf-c++/tests/detail/Makefile:SRCS.${_T}=    ${_T}.cpp test_helpers.cpp
  lib/atf/libatf-c/tests/Makefile:SRCS.${_T}=     ${_T}.c test_helpers.c
  lib/atf/libatf-c/tests/detail/Makefile:SRCS.${_T}=      ${_T}.c test_helpers.c
  lib/libpam/libpam/tests/Makefile:SRCS.${test} = ${test}.c ${COMMONSRC}

A similar change may be needed for FILES, SCRIPTS, or INCS, but for now stay
with just SRCS.

Reported by: rodrigc
MFC after: 3 weeks
X-MFC-With: r288218
Sponsored by: EMC / Isilon Storage Division
share/mk/bsd.progs.mk