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:
parent
6b78edcb39
commit
7fa7a6a084
22
tools/tools/gensnmpdef/Makefile
Normal file
22
tools/tools/gensnmpdef/Makefile
Normal 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>
|
Loading…
x
Reference in New Issue
Block a user