HomeFreeBSD

Fix out-of-tree build failures

Description

Fix out-of-tree build failures

Resolve the incorrect use of srcdir and builddir references for
various files in the build system. These have crept in over time
and went unnoticed because when building in the top level directory
srcdir and builddir are identical.

With this change it's again possible to build in a subdirectory.

    $ mkdir obj
    $ cd obj
    $ ../configure
    $ make

Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Don Brady <don.brady@delphix.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #8921
Closes #8943

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Jun 24 2019, 4:32 PM
GitHub <noreply@github.com>Committed on Jun 24 2019, 4:32 PM
Parents
rGcc9625c47c39: Add missing .gitignore from "Implement Redacted Send/Receive"
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG8f12a4f8d284: Fix out-of-tree build failures (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Jun 24 2019, 4:32 PM