Catch up with the import of bsnmp-1.11. Add a couple of new
configuration flags to CFLAGS.
This commit is contained in:
parent
4a6164e606
commit
3f9b405c78
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=150928
@ -24,7 +24,8 @@ DEFS= tree.def
|
||||
DEFSDIR= ${SHAREDIR}/snmp/defs
|
||||
|
||||
CFLAGS+= -I${CONTRIB}/lib -I${CONTRIB}/snmpd -I. -DUSE_LIBBEGEMOT
|
||||
CFLAGS+= -DUSE_TCPWRAPPERS
|
||||
CFLAGS+= -DUSE_TCPWRAPPERS -DQUADFMT='"llu"' -DQUADXFMT='"llx"'
|
||||
CFLAGS+= -DHAVE_STDINT_H -DHAVE_INTTYPES_H
|
||||
DPADD= ${LIBBEGEMOT} ${LIBBSNMP}
|
||||
LDADD= -lbegemot -lbsnmp -lwrap
|
||||
|
||||
|
@ -7,5 +7,7 @@ CONTRIB=${.CURDIR}/../../../contrib/bsnmp
|
||||
|
||||
PROG= gensnmptree
|
||||
CFLAGS+= -I${CONTRIB}/lib
|
||||
CFLAGS+= -DQUADFMT='"llu"' -DQUADXFMT='"llx"' -DHAVE_STDINT_H
|
||||
CFLAGS+= -DHAVE_INTTYPES_H
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -8,6 +8,8 @@ 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${CONTRIB}/lib -I${CONTRIB}/snmpd -I.
|
||||
CFLAGS+= -DQUADFMT='"llu"' -DQUADXFMT='"llx"' -DHAVE_STDINT_H
|
||||
CFLAGS+= -DHAVE_INTTYPES_H
|
||||
|
||||
${MOD}_oid.h: ${MOD}_tree.def ${EXTRAMIBDEFS}
|
||||
cat ${.ALLSRC} | gensnmptree -e ${XSYM} > ${.TARGET}
|
||||
|
Loading…
Reference in New Issue
Block a user