Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jan 2017 10:15:17 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r311511 - head/tools/tools/gensnmpdef
Message-ID:  <201701061015.v06AFHHg021057@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701061015.v06AFHHg021057>