Makefile.inc revision 128242
1122405Sharti# $FreeBSD: head/usr.sbin/bsnmpd/modules/Makefile.inc 128242 2004-04-14 16:31:54Z harti $ 2122405Sharti 3124726SruSHLIB_NAME= snmp_${MOD}.so.${SHLIB_MAJOR} 4124873ShartiSRCS+= ${MOD}_oid.h ${MOD}_tree.c ${MOD}_tree.h 5124873ShartiCLEANFILES+= ${MOD}_oid.h ${MOD}_tree.c ${MOD}_tree.h 6124873ShartiCFLAGS+= -I${CONTRIB}/lib -I${CONTRIB}/snmpd -I. 7122405Sharti 8124873Sharti${MOD}_oid.h: ${MOD}_tree.def 9124873Sharti gensnmptree -e ${XSYM} < ${.ALLSRC} > ${.TARGET} 10124873Sharti 11124873Sharti.ORDER: ${MOD}_tree.c ${MOD}_tree.h 12124873Sharti${MOD}_tree.c ${MOD}_tree.h: ${MOD}_tree.def 13124873Sharti gensnmptree -l -p ${MOD}_ < ${.ALLSRC} 14124873Sharti 15124726Sru.if defined(DEFS) 16124726SruFILESGROUPS+= DEFS 17124726Sru.endif 18128234ShartiDEFSDIR= ${SHAREDIR}/snmp/defs 19122405Sharti 20124926Sharti.if defined(BMIBS) 21124926ShartiFILESGROUPS+= BMIBS 22124726Sru.endif 23128234ShartiBMIBSDIR= ${SHAREDIR}/snmp/mibs 24122405Sharti 25128242ShartiMANFILTER= sed -e 's%@MODPATH@%${LIBDIR}/%g' \ 26128242Sharti -e 's%@DEFPATH@%${DEFSDIR}/%g' \ 27128242Sharti -e 's%@MIBSPATH@%${BMIBSDIR}/%g' 28128242Sharti 29122405Sharti.include "../Makefile.inc" 30