aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2019-12-11 17:37:37 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2019-12-11 17:37:37 +0000
commit5ab1c5846ff41be24b1f6beb0317bf8258cd4409 (patch)
treefc0cf2307ec987834da06ceb43200b4b76033691 /lib
parentbeede70e5143ff4ea1f10e667c78575ab0031028 (diff)
downloadsrc-5ab1c5846ff41be24b1f6beb0317bf8258cd4409.tar.gz
src-5ab1c5846ff41be24b1f6beb0317bf8258cd4409.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 Reviewed by: bdrewery MFC after: 1 week Sponsored by: Juniper Networks Differential Revision: https://reviews.freebsd.org/D22469
Notes
Notes: svn path=/head/; revision=355616
Diffstat (limited to 'lib')
-rw-r--r--lib/libarchive/Makefile.depend.options6
-rw-r--r--lib/libbsnmp/libbsnmp/Makefile.depend.options6
-rw-r--r--lib/libc/Makefile.depend.options8
-rw-r--r--lib/libfetch/Makefile.depend.options9
-rw-r--r--lib/libpam/modules/pam_unix/Makefile.depend.options8
-rw-r--r--lib/libpcap/Makefile.depend.options8
-rw-r--r--lib/libproc/Makefile.depend.options11
-rw-r--r--lib/libradius/Makefile.depend.options6
8 files changed, 62 insertions, 0 deletions
diff --git a/lib/libarchive/Makefile.depend.options b/lib/libarchive/Makefile.depend.options
new file mode 100644
index 000000000000..fa96b2506b2c
--- /dev/null
+++ b/lib/libarchive/Makefile.depend.options
@@ -0,0 +1,6 @@
+# $FreeBSD$
+# This file is not autogenerated - take care!
+
+DIRDEPS_OPTIONS= OPENSSL
+
+.include <dirdeps-options.mk>
diff --git a/lib/libbsnmp/libbsnmp/Makefile.depend.options b/lib/libbsnmp/libbsnmp/Makefile.depend.options
new file mode 100644
index 000000000000..fa96b2506b2c
--- /dev/null
+++ b/lib/libbsnmp/libbsnmp/Makefile.depend.options
@@ -0,0 +1,6 @@
+# $FreeBSD$
+# This file is not autogenerated - take care!
+
+DIRDEPS_OPTIONS= OPENSSL
+
+.include <dirdeps-options.mk>
diff --git a/lib/libc/Makefile.depend.options b/lib/libc/Makefile.depend.options
new file mode 100644
index 000000000000..8072e90f499a
--- /dev/null
+++ b/lib/libc/Makefile.depend.options
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# This file is not autogenerated - take care!
+
+DIRDEPS_OPTIONS= SSP
+
+DIRDEPS.SSP.yes= gnu/lib/libssp/libssp_nonshared
+
+.include <dirdeps-options.mk>
diff --git a/lib/libfetch/Makefile.depend.options b/lib/libfetch/Makefile.depend.options
new file mode 100644
index 000000000000..1ab063aa6e29
--- /dev/null
+++ b/lib/libfetch/Makefile.depend.options
@@ -0,0 +1,9 @@
+# $FreeBSD$
+# This file is not autogenerated - take care!
+
+DIRDEPS_OPTIONS= OPENSSL
+
+DIRDEPS.OPENSSL.yes+= secure/lib/libssl
+DIRDEPS.OPENSSL.no= lib/libmd
+
+.include <dirdeps-options.mk>
diff --git a/lib/libpam/modules/pam_unix/Makefile.depend.options b/lib/libpam/modules/pam_unix/Makefile.depend.options
new file mode 100644
index 000000000000..e7289cb56ce3
--- /dev/null
+++ b/lib/libpam/modules/pam_unix/Makefile.depend.options
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# This file is not autogenerated - take care!
+
+DIRDEPS_OPTIONS= NIS
+
+DIRDEPS.NIS.yes= lib/libypclnt
+
+.include <dirdeps-options.mk>
diff --git a/lib/libpcap/Makefile.depend.options b/lib/libpcap/Makefile.depend.options
new file mode 100644
index 000000000000..83c96c6757ba
--- /dev/null
+++ b/lib/libpcap/Makefile.depend.options
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# This file is not autogenerated - take care!
+
+DIRDEPS_OPTIONS= OFED
+
+DIRDEPS.OFED.yes= lib/ofed/libibverbs lib/ofed/libmlx5
+
+.include <dirdeps-options.mk>
diff --git a/lib/libproc/Makefile.depend.options b/lib/libproc/Makefile.depend.options
new file mode 100644
index 000000000000..db35b75b5ac8
--- /dev/null
+++ b/lib/libproc/Makefile.depend.options
@@ -0,0 +1,11 @@
+# $FreeBSD$
+# This file is not autogenerated - take care!
+
+DIRDEPS_OPTIONS= CDDL LIBCPLUSPLUS
+
+DIRDEPS.CDDL.yes= cddl/lib/libctf
+
+DIRDEPS.LIBCPLUSPLUS.yes= lib/libcxxrt
+DIRDEPS.LIBCPLUSPLUS.no= gnu/lib/libsupc++
+
+.include <dirdeps-options.mk>
diff --git a/lib/libradius/Makefile.depend.options b/lib/libradius/Makefile.depend.options
new file mode 100644
index 000000000000..fa96b2506b2c
--- /dev/null
+++ b/lib/libradius/Makefile.depend.options
@@ -0,0 +1,6 @@
+# $FreeBSD$
+# This file is not autogenerated - take care!
+
+DIRDEPS_OPTIONS= OPENSSL
+
+.include <dirdeps-options.mk>