From 0b891ae48d7ae6ffe1eb8f128a7eba64b3a50d65 Mon Sep 17 00:00:00 2001 From: harti Date: Tue, 4 Oct 2005 15:03:39 +0000 Subject: Catch up with the import of bsnmp-1.11. Add a couple of new configuration flags to CFLAGS. --- usr.sbin/bsnmpd/bsnmpd/Makefile | 3 ++- usr.sbin/bsnmpd/gensnmptree/Makefile | 2 ++ usr.sbin/bsnmpd/modules/Makefile.inc | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) (limited to 'usr.sbin/bsnmpd') diff --git a/usr.sbin/bsnmpd/bsnmpd/Makefile b/usr.sbin/bsnmpd/bsnmpd/Makefile index 334d435..5362dc4 100644 --- a/usr.sbin/bsnmpd/bsnmpd/Makefile +++ b/usr.sbin/bsnmpd/bsnmpd/Makefile @@ -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 diff --git a/usr.sbin/bsnmpd/gensnmptree/Makefile b/usr.sbin/bsnmpd/gensnmptree/Makefile index c97ee7d..11c6a3b 100644 --- a/usr.sbin/bsnmpd/gensnmptree/Makefile +++ b/usr.sbin/bsnmpd/gensnmptree/Makefile @@ -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 diff --git a/usr.sbin/bsnmpd/modules/Makefile.inc b/usr.sbin/bsnmpd/modules/Makefile.inc index eb4a867..2ae5615 100644 --- a/usr.sbin/bsnmpd/modules/Makefile.inc +++ b/usr.sbin/bsnmpd/modules/Makefile.inc @@ -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} -- cgit v1.1