From aca4f478336b9b73058415b77b2be460fe803400 Mon Sep 17 00:00:00 2001 From: ngie Date: Fri, 13 Jan 2017 08:29:43 +0000 Subject: [PATCH] MFC r311511: Add integration makefile for contrib/bsnmp/gensnmpdef It's a whole lot less error prone than generating the file completely by hand. git-svn-id: svn://svn.freebsd.org/base/stable/10@312025 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- tools/tools/gensnmpdef/Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tools/tools/gensnmpdef/Makefile diff --git a/tools/tools/gensnmpdef/Makefile b/tools/tools/gensnmpdef/Makefile new file mode 100644 index 000000000..437e304d0 --- /dev/null +++ b/tools/tools/gensnmpdef/Makefile @@ -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 -- 2.45.0