summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/gensnmpdef/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/tools/gensnmpdef/Makefile b/tools/tools/gensnmpdef/Makefile
new file mode 100644
index 0000000..470e1de
--- /dev/null
+++ b/tools/tools/gensnmpdef/Makefile
@@ -0,0 +1,24 @@
+# $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
+
+WARNS?= 6
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud