Page MenuHomeFreeBSD

Add Makefile.depend.options
ClosedPublic

Authored by sjg on Nov 20 2019, 9:49 PM.

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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; 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.