Page MenuHomeFreeBSD

Add Makefile.depend.options
ClosedPublic

Authored by sjg on Nov 20 2019, 9:49 PM.
Tags
None
Referenced Files
F176263534: D22469.id64699.diff
Sat, Oct 17, 11:54 AM
F176263529: D22469.id64699.diff
Sat, Oct 17, 11:53 AM
Unknown Object (File)
Mon, Oct 5, 10:57 PM
Unknown Object (File)
Thu, Oct 1, 8:59 PM
Unknown Object (File)
Tue, Sep 29, 4:02 PM
Unknown Object (File)
Tue, Sep 29, 4:02 PM
Unknown Object (File)
Sep 17 2026, 10:18 AM
Unknown Object (File)
Sep 16 2026, 2:46 AM

Details

Summary

Leaf directories that have dependencies impacted
by options need a Makefile.depend.options file
to avoid churn in Makefile.depend

DIRDEPS for cases such as OPENSSL, TCP_WRAPPERS etc
can be set in local.dirdeps-options.mk
which can add to those set in Makefile.depend.options

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I think the comment from targets/ should be added in too.

# This file is not autogenerated - take care!

My only concern is that this is confusing to have 1 autogenerated and 1 manual maintained file. I don't have a better solution except to follow port's example and not use auto generated.

Add warning about not autogen

I don't like that we have auto generated and manual maintained outside of Makefile as it will get stale fast.

This revision is now accepted and ready to land.Dec 10 2019, 10:30 PM
This revision was automatically updated to reflect the committed changes.