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