diff options
author | Hartmut Brandt <harti@FreeBSD.org> | 2018-07-03 08:44:40 +0000 |
---|---|---|
committer | Hartmut Brandt <harti@FreeBSD.org> | 2018-07-03 08:44:40 +0000 |
commit | 8e9b3e707151d136ec95e7f1d37556e39c1e228c (patch) | |
tree | 0bf4cf04b0aa2c25155c8b45a1704512517c9127 /share/mk/bsd.snmpmod.mk | |
parent | 4dc1b29b7169560aa0a16bb3488dac17325767f0 (diff) | |
download | src-test2-8e9b3e707151d136ec95e7f1d37556e39c1e228c.tar.gz src-test2-8e9b3e707151d136ec95e7f1d37556e39c1e228c.zip |
Notes
Diffstat (limited to 'share/mk/bsd.snmpmod.mk')
-rw-r--r-- | share/mk/bsd.snmpmod.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/share/mk/bsd.snmpmod.mk b/share/mk/bsd.snmpmod.mk index 224b82d1ee0b..c45937cc82a7 100644 --- a/share/mk/bsd.snmpmod.mk +++ b/share/mk/bsd.snmpmod.mk @@ -6,14 +6,16 @@ SHLIB_NAME= snmp_${MOD}.so.${SHLIB_MAJOR} SRCS+= ${MOD}_oid.h ${MOD}_tree.c ${MOD}_tree.h CLEANFILES+= ${MOD}_oid.h ${MOD}_tree.c ${MOD}_tree.h CFLAGS+= -I. +GENSNMPTREEFLAGS+= -I${SHAREDIR}/snmpdefs + ${MOD}_oid.h: ${MOD}_tree.def ${EXTRAMIBDEFS} ${EXTRAMIBSYMS} - cat ${.ALLSRC} | gensnmptree -e ${XSYM} > ${.TARGET} + cat ${.ALLSRC} | gensnmptree ${GENSNMPTREEFLAGS} -e ${XSYM} > ${.TARGET} .ORDER: ${MOD}_tree.c ${MOD}_tree.h ${MOD}_tree.h: .NOMETA ${MOD}_tree.c ${MOD}_tree.h: ${MOD}_tree.def ${EXTRAMIBDEFS} - cat ${.ALLSRC} | gensnmptree -p ${MOD}_ + cat ${.ALLSRC} | gensnmptree -f ${GENSNMPTREEFLAGS} -p ${MOD}_ .if defined(DEFS) FILESGROUPS+= DEFS |