Add integration makefile for contrib/bsnmp/gensnmpdef

It's a whole lot less error prone than generating the file completely
by hand.

MFC after:	1 week
This commit is contained in:
ngie 2017-01-06 10:15:17 +00:00
parent 6b78edcb39
commit 7fa7a6a084

View File

@ -0,0 +1,22 @@
# $FreeBSD$
.PATH: ${SRCTOP}/contrib/bsnmp/gensnmpdef
PROG= gensnmpdef
SRCS= gensnmpdef.c
MAN= gensnmpdef.1
LOCALBASE?= /usr/local
BINDIR= ${LOCALBASE}/bin
MANDIR= ${LOCALBASE}/man/man
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
LDADD+= -lsmi
.include <bsd.prog.mk>