diff options
author | Simon J. Gerraty <sjg@FreeBSD.org> | 2019-12-11 17:38:15 +0000 |
---|---|---|
committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2019-12-11 17:38:15 +0000 |
commit | 312809fe7fefbc8d5caa2b59089a5d9266378057 (patch) | |
tree | d27e6f766ba2a6b544e5529b800f0313971983b2 /lib/libbsnmp | |
parent | 2c9a9dfc187d171de6b92654d71b977f067ed641 (diff) | |
download | src-312809fe7fefbc8d5caa2b59089a5d9266378057.tar.gz src-312809fe7fefbc8d5caa2b59089a5d9266378057.zip |
Update dirdeps.mk and gendirdeps.mk
The env space consumed by exporting all libc's .meta files
left little room for command line,
so unexport when done.
Update dirdeps.mk to latest and add
dirdeps-targets.mk to simplify/update targets/Makefile
Makefile changes to go with Makefile.depend changes in D22494
Reviewed by: bdrewery
MFC after: 1 week
Sponsored by: Juniper Networks
Differential Revision: https://reviews.freebsd.org/D22495
Notes
Notes:
svn path=/head/; revision=355618
Diffstat (limited to 'lib/libbsnmp')
-rw-r--r-- | lib/libbsnmp/libbsnmp/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libbsnmp/libbsnmp/Makefile b/lib/libbsnmp/libbsnmp/Makefile index 94c72795a51c..c0a6cf2da643 100644 --- a/lib/libbsnmp/libbsnmp/Makefile +++ b/lib/libbsnmp/libbsnmp/Makefile @@ -24,12 +24,17 @@ SRCS+= snmptc.h INCS= asn1.h snmp.h snmpagent.h snmpclient.h MAN= asn1.3 bsnmpagent.3 bsnmpclient.3 bsnmplib.3 +.if ${MK_DIRDEPS_BUILD} == "yes" +GENSNMPTREE?= ${HOST_OBJTOP}/usr.sbin/bsnmpd/gensnmptree/gensnmptree +.endif +GENSNMPTREE?= gensnmptree + snmptc.h : tc.def (\ echo "/* autogenerated from tc.def */";\ echo "#ifndef snmptc_h_1529923773";\ echo "#define snmptc_h_1529923773";\ - gensnmptree -E -f <${.ALLSRC};\ + ${GENSNMPTREE} -E -f <${.ALLSRC};\ echo "#endif" ; \ ) >${.TARGET} |