summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsnmpd
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2006-11-08 10:36:57 +0000
committerharti <harti@FreeBSD.org>2006-11-08 10:36:57 +0000
commitd893a05647b4aa69965d30bd6a1d5f360400bfbc (patch)
tree2ff57fd4fbfb141286f9a13f1fa03f9f83cf22cb /usr.sbin/bsnmpd
parent75bc36366a2495becc05f791e20cf8d2d76cdaa4 (diff)
downloadFreeBSD-src-d893a05647b4aa69965d30bd6a1d5f360400bfbc.zip
FreeBSD-src-d893a05647b4aa69965d30bd6a1d5f360400bfbc.tar.gz
Make the generated oid.h dependend on the Makefile. The Makefile defines
the symbols to be extracted from the MIB and if that list of symbols is changed, oid.h should be re-generated.
Diffstat (limited to 'usr.sbin/bsnmpd')
-rw-r--r--usr.sbin/bsnmpd/bsnmpd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bsnmpd/bsnmpd/Makefile b/usr.sbin/bsnmpd/bsnmpd/Makefile
index d2ff78d..9fbf366 100644
--- a/usr.sbin/bsnmpd/bsnmpd/Makefile
+++ b/usr.sbin/bsnmpd/bsnmpd/Makefile
@@ -32,8 +32,8 @@ LDADD= -lbegemot -lbsnmp -lwrap
LDFLAGS= -export-dynamic
-oid.h: tree.def
- gensnmptree -e ${XSYM} < ${.ALLSRC} > ${.TARGET}
+oid.h: tree.def Makefile
+ gensnmptree -e ${XSYM} < ${.ALLSRC:M*.def} > ${.TARGET}
.ORDER: tree.c tree.h
tree.c tree.h: tree.def
OpenPOWER on IntegriCloud