diff options
author | harti <harti@FreeBSD.org> | 2003-11-10 13:43:26 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2003-11-10 13:43:26 +0000 |
commit | 944e5099fb54947af7b1412cecd05e0b01876859 (patch) | |
tree | bb421dafc34e1e80a9d298e534e3491b9a69f896 /lib/libbsnmp | |
parent | 0d0cb25a1324b544fd3307a7877460aba6471209 (diff) | |
download | FreeBSD-src-944e5099fb54947af7b1412cecd05e0b01876859.zip FreeBSD-src-944e5099fb54947af7b1412cecd05e0b01876859.tar.gz |
Fix the build by adjusting the include directives. The problem was
that the sources use "..." includes to get at include files that
later on reside in an include sub-directory.
Diffstat (limited to 'lib/libbsnmp')
-rw-r--r-- | lib/libbsnmp/modules/snmp_mibII/Makefile | 6 | ||||
-rw-r--r-- | lib/libbsnmp/modules/snmp_netgraph/Makefile | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/libbsnmp/modules/snmp_mibII/Makefile b/lib/libbsnmp/modules/snmp_mibII/Makefile index 7fa524a..4c8c0c1 100644 --- a/lib/libbsnmp/modules/snmp_mibII/Makefile +++ b/lib/libbsnmp/modules/snmp_mibII/Makefile @@ -2,8 +2,8 @@ # # Author: Harti Brandt <harti@freebsd.org> -CONTRIB=${.CURDIR}/../../../../contrib/bsnmp/snmp_mibII -.PATH: ${CONTRIB} +CONTRIB=${.CURDIR}/../../../../contrib/bsnmp +.PATH: ${CONTRIB}/snmp_mibII MOD= mibII SRCS= mibII.c mibII_ifmib.c mibII_ip.c mibII_interfaces.c \ @@ -14,6 +14,6 @@ MAN= snmp_mibII.3 DEFS= ${MOD}_tree.def INCS= snmp_${MOD}.h -CFLAGS+= -I${INCLUDEDIR}/bsnmp -I${.CURDIR} +CFLAGS+= -I${CONTRIB}/lib -I${CONTRIB}/snmpd -I${.CURDIR} .include <bsd.lib.mk> diff --git a/lib/libbsnmp/modules/snmp_netgraph/Makefile b/lib/libbsnmp/modules/snmp_netgraph/Makefile index 6ccdf5f..b101b38 100644 --- a/lib/libbsnmp/modules/snmp_netgraph/Makefile +++ b/lib/libbsnmp/modules/snmp_netgraph/Makefile @@ -2,6 +2,8 @@ # # Author: Harti Brandt <harti@freebsd.org> +CONTRIB=${.CURDIR}/../../../../contrib/bsnmp + MOD= netgraph SRCS= snmp_netgraph.c MAN= snmp_netgraph.3 @@ -10,6 +12,6 @@ MIBS= BEGEMOT-NETGRAPH.txt DEFS= ${MOD}_tree.def INCS= snmp_${MOD}.h -CFLAGS+= -I${INCLUDEDIR}/bsnmp -I${.CURDIR} +CFLAGS+= -I${CONTRIB}/lib -I${CONTRIB}/snmpd -I${.CURDIR} .include <bsd.lib.mk> |