]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r279980:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 21 Mar 2015 19:20:15 +0000 (19:20 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 21 Mar 2015 19:20:15 +0000 (19:20 +0000)
commitd8db1a7040822aa79bdea3727de2c7df693fb8e4
tree79ef444c46ee85a7e88e0470f9466e5cdd878fc4
parent3739688eac9d98c9d825e35ce91892502d41bb87
MFC r279980:

Allow relative pathnames in SRCS, so as to enable building software
which includes more than one file with the same name, in different
directories.

For example, setting:

SRCS+= foo/foo.c bar/foo.c baz/foo.c

will now create separate objdirs 'foo', 'bar' and 'baz' for each of the
sources in the list, and use those objdirs for the corresponding object
files.

Reviewed by: brooks, imp
Differential Revision: https://reviews.freebsd.org/D1984

git-svn-id: svn://svn.freebsd.org/base/stable/9@280329 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
share/mk/bsd.obj.mk
share/mk/sys.mk