Makefile.inc (a566bd48a80a5628c5472b826fa7c0705bbd1f57) | Makefile.inc (1c80835774419e51ce64baaba731c9c8f8995fa8) |
---|---|
1# $FreeBSD$ 2 | 1# $FreeBSD$ 2 |
3SHLIB_MAJOR= 2 4WARNS?= 6 5INCSDIR= ${INCLUDEDIR}/bsnmp 6 |
|
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 ${EXTRAMIBDEFS} 9 cat ${.ALLSRC} | gensnmptree -e ${XSYM} > ${.TARGET} 10 --- 9 unchanged lines hidden (view full) --- 20.if defined(BMIBS) 21FILESGROUPS+= BMIBS 22.endif 23BMIBSDIR= ${SHAREDIR}/snmp/mibs 24 25MANFILTER= sed -e 's%@MODPATH@%${LIBDIR}/%g' \ 26 -e 's%@DEFPATH@%${DEFSDIR}/%g' \ 27 -e 's%@MIBSPATH@%${BMIBSDIR}/%g' | 7SHLIB_NAME= snmp_${MOD}.so.${SHLIB_MAJOR} 8SRCS+= ${MOD}_oid.h ${MOD}_tree.c ${MOD}_tree.h 9CLEANFILES+= ${MOD}_oid.h ${MOD}_tree.c ${MOD}_tree.h 10CFLAGS+= -I${CONTRIB}/lib -I${CONTRIB}/snmpd -I. 11 12${MOD}_oid.h: ${MOD}_tree.def ${EXTRAMIBDEFS} 13 cat ${.ALLSRC} | gensnmptree -e ${XSYM} > ${.TARGET} 14 --- 9 unchanged lines hidden (view full) --- 24.if defined(BMIBS) 25FILESGROUPS+= BMIBS 26.endif 27BMIBSDIR= ${SHAREDIR}/snmp/mibs 28 29MANFILTER= sed -e 's%@MODPATH@%${LIBDIR}/%g' \ 30 -e 's%@DEFPATH@%${DEFSDIR}/%g' \ 31 -e 's%@MIBSPATH@%${BMIBSDIR}/%g' |
28 29.include "../Makefile.inc" | |