diff options
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bsnmpd/bsnmpd/Makefile | 6 | ||||
-rw-r--r-- | usr.sbin/bsnmpd/gensnmptree/Makefile | 6 |
2 files changed, 7 insertions, 5 deletions
diff --git a/usr.sbin/bsnmpd/bsnmpd/Makefile b/usr.sbin/bsnmpd/bsnmpd/Makefile index a1856eb..f48af02 100644 --- a/usr.sbin/bsnmpd/bsnmpd/Makefile +++ b/usr.sbin/bsnmpd/bsnmpd/Makefile @@ -2,7 +2,8 @@ # # Author: Harti Brandt <harti@freebsd.org> -.PATH: ${.CURDIR}/../../../contrib/bsnmp/snmpd +CONTRIB=${.CURDIR}/../../../contrib/bsnmp +.PATH: ${CONTRIB}/snmpd PROG= bsnmpd SRCS= oid.h tree.h tree.c main.c action.c config.c export.c trap.c @@ -19,7 +20,8 @@ INCSDIR= ${INCLUDEDIR}/bsnmp # snmpdmod is installed in lib/libbsnmp/modules # INCS= snmpmod.h -CFLAGS+= -I. -I${.CURDIR} -I${.CURDIR}/../lib -I${.OBJDIR} -I${INCLUDEDIR}/bsnmp +CFLAGS+= -I. -I${.CURDIR} -I${.CURDIR}/../lib -I${.OBJDIR} \ + -I${CONTRIB}/lib -I${CONTRIB}/snmpd DPADD+= ${LIBISC} ${LIBBSNMP} LDADD= -lisc -lbsnmp diff --git a/usr.sbin/bsnmpd/gensnmptree/Makefile b/usr.sbin/bsnmpd/gensnmptree/Makefile index 5efa31a..dc95258 100644 --- a/usr.sbin/bsnmpd/gensnmptree/Makefile +++ b/usr.sbin/bsnmpd/gensnmptree/Makefile @@ -2,11 +2,11 @@ # # Author: Harti Brandt <harti@freebsd.org> -CONTRIB=${.CURDIR}/../../../contrib/bsnmp/gensnmptree -.PATH: ${CONTRIB} +CONTRIB=${.CURDIR}/../../../contrib/bsnmp +.PATH: ${CONTRIB}/gensnmptree PROG= gensnmptree MAN= gensnmptree.1 -CFLAGS+= -I${INCLUDEDIR}/bsnmp +CFLAGS+= -I${CONTRIB}/lib .include <bsd.prog.mk> |