diff options
author | ngie <ngie@FreeBSD.org> | 2017-01-13 08:29:40 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-01-13 08:29:40 +0000 |
commit | 960832d973da40d195a7ddbed72b72a8e794fed1 (patch) | |
tree | 89f99e21a2a5a682f64e32be191926b6c181e14f /tools | |
parent | 6f0d1f383dd45e0caf70a972716b59de5260b2fa (diff) | |
download | FreeBSD-src-960832d973da40d195a7ddbed72b72a8e794fed1.zip FreeBSD-src-960832d973da40d195a7ddbed72b72a8e794fed1.tar.gz |
MFC r311511:
Add integration makefile for contrib/bsnmp/gensnmpdef
It's a whole lot less error prone than generating the file completely
by hand.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tools/gensnmpdef/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/tools/gensnmpdef/Makefile b/tools/tools/gensnmpdef/Makefile new file mode 100644 index 0000000..437e304 --- /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 <bsd.prog.mk> |