Makefile.inc revision 124926
1# $FreeBSD: head/usr.sbin/bsnmpd/modules/Makefile.inc 124926 2004-01-24 20:12:30Z harti $ 2 3SHLIB_NAME= snmp_${MOD}.so.${SHLIB_MAJOR} 4SRCS+= ${MOD}_oid.h ${MOD}_tree.c ${MOD}_tree.h 5CLEANFILES+= ${MOD}_oid.h ${MOD}_tree.c ${MOD}_tree.h 6CFLAGS+= -I${CONTRIB}/lib -I${CONTRIB}/snmpd -I. 7 8${MOD}_oid.h: ${MOD}_tree.def 9 gensnmptree -e ${XSYM} < ${.ALLSRC} > ${.TARGET} 10 11.ORDER: ${MOD}_tree.c ${MOD}_tree.h 12${MOD}_tree.c ${MOD}_tree.h: ${MOD}_tree.def 13 gensnmptree -l -p ${MOD}_ < ${.ALLSRC} 14 15.if defined(DEFS) 16FILESGROUPS+= DEFS 17DEFSDIR= ${SHAREDIR}/bsnmp/defs 18.endif 19 20.if defined(BMIBS) 21FILESGROUPS+= BMIBS 22BMIBSDIR= ${SHAREDIR}/bsnmp/mibs 23.endif 24 25.include "../Makefile.inc" 26