head	1.7;
access;
symbols
	RELENG_5_5_0_RELEASE:1.6
	RELENG_5_5:1.6.0.8
	RELENG_5_5_BP:1.6
	RELENG_5_4_0_RELEASE:1.6
	RELENG_5_4:1.6.0.6
	RELENG_5_4_BP:1.6
	RELENG_5_3_0_RELEASE:1.6
	RELENG_5_3:1.6.0.4
	RELENG_5_3_BP:1.6
	RELENG_5:1.6.0.2
	RELENG_5_BP:1.6
	RELENG_5_2_1_RELEASE:1.3
	RELENG_5_2_0_RELEASE:1.3
	RELENG_5_2:1.3.0.2
	RELENG_5_2_BP:1.3;
locks; strict;
comment	@# @;


1.7
date	2005.03.14.17.32.16;	author harti;	state dead;
branches;
next	1.6;

1.6
date	2004.01.24.20.12.30;	author harti;	state Exp;
branches;
next	1.5;

1.5
date	2004.01.23.16.22.49;	author harti;	state Exp;
branches;
next	1.4;

1.4
date	2004.01.19.19.26.02;	author ru;	state Exp;
branches;
next	1.3;

1.3
date	2003.11.12.17.09.13;	author harti;	state Exp;
branches;
next	1.2;

1.2
date	2003.11.10.13.43.26;	author harti;	state Exp;
branches;
next	1.1;

1.1
date	2003.11.10.09.17.34;	author harti;	state Exp;
branches;
next	;


desc
@@


1.7
log
@Finish repo-copy of lib/libbsnmp/modules to usr.sbin/bsnmpd/modules.
These modules are modules for the daemon, not for the library so
they should be where the daemon is.
@
text
@# $FreeBSD: src/lib/libbsnmp/modules/snmp_netgraph/Makefile,v 1.6 2004/01/24 20:12:30 harti Exp $
#
# Author: Harti Brandt <harti@@freebsd.org>

CONTRIB=${.CURDIR}/../../../../contrib/bsnmp

MOD=	netgraph
SRCS=	snmp_netgraph.c
XSYM=	begemotNg
MAN=	snmp_netgraph.3

BMIBS=	BEGEMOT-NETGRAPH.txt
DEFS=	${MOD}_tree.def
INCS=	snmp_${MOD}.h

DPADD=	${LIBNETGRAPH}
LDADD=	-lnetgraph

.include <bsd.lib.mk>
@


1.6
log
@Rename the MIBS makefile variable to BMIBS so that it does not conflict
with the environment variable MIBS that is used by net-snmp.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.5
log
@Create the OID and tree files while building the modules and the daemon
instead of creating them by hand and storing them in the CVS tree. Add
gensnmptree to the bootstrap tools (it is used to generated these files).
This simplifies the update procedure.

Submitted by:	ru
@
text
@d12 1
a12 1
MIBS=	BEGEMOT-NETGRAPH.txt
@


1.4
log
@Clean up makefiles.

Reviewed by:	harti
@
text
@d9 1
@


1.3
log
@The snmp_netgraph module depends on libnetgraph. So add a dependency and
add libnetgraph to the list of prebuilt libraries in the main Makefile.

Reviewed by:	ru
@
text
@a17 2
CFLAGS+= -I${CONTRIB}/lib -I${CONTRIB}/snmpd -I${.CURDIR}

@


1.2
log
@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.
@
text
@d15 3
@


1.1
log
@Add build infrastructure for libbsnmp and the modules. Add the
netgraph module for the SNMP daemon.
@
text
@d5 2
d15 1
a15 1
CFLAGS+= -I${INCLUDEDIR}/bsnmp -I${.CURDIR}
@

