git: e300f328fec1 - main - Add site.{autodep,gendirdeps}.mk
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 28 Dec 2022 20:40:11 UTC
The branch main has been updated by sjg:
URL: https://cgit.FreeBSD.org/src/commit/?id=e300f328fec13203027cc07400a61eb78e50bcfb
commit e300f328fec13203027cc07400a61eb78e50bcfb
Author: Simon J. Gerraty <sjg@FreeBSD.org>
AuthorDate: 2022-12-28 20:39:08 +0000
Commit: Simon J. Gerraty <sjg@FreeBSD.org>
CommitDate: 2022-12-28 20:39:08 +0000
Add site.{autodep,gendirdeps}.mk
Allow for site customization to minimize churn in share/mk
Reviewed by: stevek
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37895
---
share/mk/local.autodep.mk | 2 ++
share/mk/local.gendirdeps.mk | 2 ++
2 files changed, 4 insertions(+)
diff --git a/share/mk/local.autodep.mk b/share/mk/local.autodep.mk
index 0e14d844fcff..6c2b560b1f45 100644
--- a/share/mk/local.autodep.mk
+++ b/share/mk/local.autodep.mk
@@ -27,3 +27,5 @@ CLEANFILES+= .depend
.cc.cpp-out: .NOMETA
@${CXX} -E ${CXXFLAGS} ${.IMPSRC} | grep -v '^[[:space:]]*$$'
+
+.-include <site.autodep.mk>
diff --git a/share/mk/local.gendirdeps.mk b/share/mk/local.gendirdeps.mk
index 3ec2be4cc865..c8aa3ce05910 100644
--- a/share/mk/local.gendirdeps.mk
+++ b/share/mk/local.gendirdeps.mk
@@ -70,3 +70,5 @@ GENDIRDEPS_FILTER+= ${GENDIRDEPS_FILTER_VARS:@v@S,/${$v}/,/_{${v}}/,@:NS,//,*:u}
# avoid churn for now
LOCAL_DEPENDS_GUARD= _{DEP_RELDIR} == _{_DEP_RELDIR}
+
+.-include <site.gendirdeps.mk>