Makefile.inc revision 124873
1# $FreeBSD: head/usr.sbin/bsnmpd/modules/Makefile.inc 124873 2004-01-23 16:22:49Z 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(MIBS) 21FILESGROUPS+= MIBS 22MIBSDIR= ${SHAREDIR}/bsnmp/mibs 23.endif 24 25.include "../Makefile.inc" 26