svn commit: r311511 - head/tools/tools/gensnmpdef

Ngie Cooper ngie at FreeBSD.org
Fri Jan 6 10:15:18 UTC 2017


Author: ngie
Date: Fri Jan  6 10:15:17 2017
New Revision: 311511
URL: https://svnweb.freebsd.org/changeset/base/311511

Log:
  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

Added:
  head/tools/tools/gensnmpdef/
  head/tools/tools/gensnmpdef/Makefile   (contents, props changed)

Added: head/tools/tools/gensnmpdef/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/tools/tools/gensnmpdef/Makefile	Fri Jan  6 10:15:17 2017	(r311511)
@@ -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>


More information about the svn-src-all mailing list