From 1e1c4c13fb68a12197b743ad80682ac3ba4b77d2 Mon Sep 17 00:00:00 2001 From: Hartmut Brandt Date: Wed, 8 Nov 2006 10:36:57 +0000 Subject: [PATCH] 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. --- usr.sbin/bsnmpd/bsnmpd/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/bsnmpd/bsnmpd/Makefile b/usr.sbin/bsnmpd/bsnmpd/Makefile index d2ff78d951f1..9fbf3667920f 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