HomeFreeBSD

Allow relative pathnames in SRCS, so as to enable building software

Description

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
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D1984

Details

Provenance
dimAuthored on
Reviewer
brooks
Differential Revision
D1984: Add SRCS_SUBDIRS to allow Makefiles to put objects in subdirectories
Parents
rS279979: Slightly polish virtual AHCI CD reporting.
Branches
Unknown
Tags
Unknown

Event Timeline