summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-01-13 08:29:43 +0000
committerngie <ngie@FreeBSD.org>2017-01-13 08:29:43 +0000
commit8425cfe4eec3cdf50dda7a0cbafe47098285dd9f (patch)
tree4dd3d48c0f6ed46740ad6a7c91a813863ceb875e
parentba02a2b7dff6193469255a54d6482d8d26754e00 (diff)
downloadFreeBSD-src-8425cfe4eec3cdf50dda7a0cbafe47098285dd9f.zip
FreeBSD-src-8425cfe4eec3cdf50dda7a0cbafe47098285dd9f.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.
-rw-r--r--tools/tools/gensnmpdef/Makefile22
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>
OpenPOWER on IntegriCloud