xref: /freebsd/usr.sbin/bsnmpd/bsnmpd/Makefile (revision 91a2f929e4f2a66c8f7f7a7c4602077622dab03d)
191a2f929SHartmut Brandt# $FreeBSD$
291a2f929SHartmut Brandt#
391a2f929SHartmut Brandt# Author: Harti Brandt <harti@freebsd.org>
491a2f929SHartmut Brandt
591a2f929SHartmut Brandt.PATH:	${.CURDIR}/../../../contrib/bsnmp/snmpd
691a2f929SHartmut Brandt
791a2f929SHartmut BrandtPROG=	bsnmpd
891a2f929SHartmut BrandtSRCS=	oid.h tree.h tree.c main.c action.c config.c export.c trap.c
991a2f929SHartmut BrandtMAN=	bsnmpd.1 snmpmod.3
1091a2f929SHartmut BrandtWARNS=	6
1191a2f929SHartmut Brandt
1291a2f929SHartmut BrandtFILESGROUPS += MIBS DEFS
1391a2f929SHartmut Brandt
1491a2f929SHartmut BrandtMIBS=	FOKUS-MIB.txt BEGEMOT-MIB.txt BEGEMOT-SNMPD.txt
1591a2f929SHartmut BrandtMIBSDIR= ${SHAREDIR}/bsnmp/mibs
1691a2f929SHartmut BrandtDEFS=	tree.def
1791a2f929SHartmut BrandtDEFSDIR= ${SHAREDIR}/bsnmp/defs
1891a2f929SHartmut BrandtINCSDIR= ${INCLUDEDIR}/bsnmp
1991a2f929SHartmut Brandt# snmpdmod is installed in lib/libbsnmp/modules
2091a2f929SHartmut Brandt# INCS=	snmpmod.h
2191a2f929SHartmut Brandt
2291a2f929SHartmut BrandtCFLAGS+= -I. -I${.CURDIR} -I${.CURDIR}/../lib -I${.OBJDIR} -I${INCLUDEDIR}/bsnmp
2391a2f929SHartmut BrandtDPADD+=	${LIBISC} ${LIBBSNMP}
2491a2f929SHartmut BrandtLDADD=	-lisc -lbsnmp
2591a2f929SHartmut Brandt
2691a2f929SHartmut BrandtLDFLAGS+= -export-dynamic
2791a2f929SHartmut Brandt
2891a2f929SHartmut Brandt.include <bsd.prog.mk>
29