diff options
author | Simon J. Gerraty <sjg@FreeBSD.org> | 2019-12-19 04:58:11 +0000 |
---|---|---|
committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2019-12-19 04:58:11 +0000 |
commit | 387f2740cab1168555efc6076159d2a66f018a58 (patch) | |
tree | f4a5de482bf116bcd9d968426edcfb89e13a7ae4 /sbin/ping | |
parent | 0dd6117e9dba3b55f75cd2e329a09fa14a974ac3 (diff) | |
download | src-387f2740cab1168555efc6076159d2a66f018a58.tar.gz src-387f2740cab1168555efc6076159d2a66f018a58.zip |
Add Makefile.depend.options
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
See share/mk/dirdeps-options.mk
Also update affected Makefile.depend files.
MFC of r355616 and r355617
Reviewed by: bdrewery
Sponsored by: Juniper Networks
Differential Revision: https://reviews.freebsd.org/D22469
Notes
Notes:
svn path=/stable/12/; revision=355906
Diffstat (limited to 'sbin/ping')
-rw-r--r-- | sbin/ping/Makefile.depend | 3 | ||||
-rw-r--r-- | sbin/ping/Makefile.depend.options | 8 |
2 files changed, 8 insertions, 3 deletions
diff --git a/sbin/ping/Makefile.depend b/sbin/ping/Makefile.depend index 7632b092168b..eb6b755836da 100644 --- a/sbin/ping/Makefile.depend +++ b/sbin/ping/Makefile.depend @@ -2,14 +2,11 @@ # Autogenerated - do NOT edit! DIRDEPS = \ - gnu/lib/csu \ include \ include/arpa \ include/xlocale \ lib/${CSU_DIR} \ lib/libc \ - lib/libcasper/libcasper \ - lib/libcasper/services/cap_dns \ lib/libcompiler_rt \ lib/libipsec \ lib/libnv \ diff --git a/sbin/ping/Makefile.depend.options b/sbin/ping/Makefile.depend.options new file mode 100644 index 000000000000..a1c8f6278e92 --- /dev/null +++ b/sbin/ping/Makefile.depend.options @@ -0,0 +1,8 @@ +# $FreeBSD$ +# This file is not autogenerated - take care! + +DIRDEPS_OPTIONS= CASPER + +DIRDEPS.CASPER.yes= lib/libcasper/services/cap_dns + +.include <dirdeps-options.mk> |