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.
This commit is contained in:
Hartmut Brandt 2006-11-08 10:36:57 +00:00
parent f645b5da88
commit 1e1c4c13fb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=164092

View File

@ -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