Makefile.inc revision 128234
1259473Sdim# $FreeBSD: head/usr.sbin/bsnmpd/modules/Makefile.inc 128234 2004-04-14 16:06:19Z harti $ 2259473Sdim 3259473SdimSHLIB_NAME= snmp_${MOD}.so.${SHLIB_MAJOR} 4259473SdimSRCS+= ${MOD}_oid.h ${MOD}_tree.c ${MOD}_tree.h 5259473SdimCLEANFILES+= ${MOD}_oid.h ${MOD}_tree.c ${MOD}_tree.h 6259473SdimCFLAGS+= -I${CONTRIB}/lib -I${CONTRIB}/snmpd -I. 7259473Sdim 8259473Sdim${MOD}_oid.h: ${MOD}_tree.def 9259473Sdim gensnmptree -e ${XSYM} < ${.ALLSRC} > ${.TARGET} 10259473Sdim 11259473Sdim.ORDER: ${MOD}_tree.c ${MOD}_tree.h 12259473Sdim${MOD}_tree.c ${MOD}_tree.h: ${MOD}_tree.def 13259473Sdim gensnmptree -l -p ${MOD}_ < ${.ALLSRC} 14259473Sdim 15259473Sdim.if defined(DEFS) 16259473SdimFILESGROUPS+= DEFS 17.endif 18DEFSDIR= ${SHAREDIR}/snmp/defs 19 20.if defined(BMIBS) 21FILESGROUPS+= BMIBS 22.endif 23BMIBSDIR= ${SHAREDIR}/snmp/mibs 24 25.include "../Makefile.inc" 26