diff options
author | harti <harti@FreeBSD.org> | 2004-08-09 16:37:25 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2004-08-09 16:37:25 +0000 |
commit | bcd06af9f68bba90e237f028705dc60f72e4e113 (patch) | |
tree | 85f29cfc519e0f2389eb24ffd2db355982057893 /lib/libbsnmp | |
parent | a150b8c437994d151e3169e030685f6558dd0d81 (diff) | |
download | FreeBSD-src-bcd06af9f68bba90e237f028705dc60f72e4e113.zip FreeBSD-src-bcd06af9f68bba90e237f028705dc60f72e4e113.tar.gz |
Now that gensnmptree can read and merge more than one tree make
the rule so that the tree .c and .h files can be produced from several
trees.
Diffstat (limited to 'lib/libbsnmp')
-rw-r--r-- | lib/libbsnmp/modules/Makefile.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libbsnmp/modules/Makefile.inc b/lib/libbsnmp/modules/Makefile.inc index f4efa73..88f522d 100644 --- a/lib/libbsnmp/modules/Makefile.inc +++ b/lib/libbsnmp/modules/Makefile.inc @@ -5,12 +5,12 @@ SRCS+= ${MOD}_oid.h ${MOD}_tree.c ${MOD}_tree.h CLEANFILES+= ${MOD}_oid.h ${MOD}_tree.c ${MOD}_tree.h CFLAGS+= -I${CONTRIB}/lib -I${CONTRIB}/snmpd -I. -${MOD}_oid.h: ${MOD}_tree.def - gensnmptree -e ${XSYM} < ${.ALLSRC} > ${.TARGET} +${MOD}_oid.h: ${MOD}_tree.def ${EXTRAMIBDEFS} + cat ${.ALLSRC} | gensnmptree -e ${XSYM} > ${.TARGET} .ORDER: ${MOD}_tree.c ${MOD}_tree.h -${MOD}_tree.c ${MOD}_tree.h: ${MOD}_tree.def - gensnmptree -l -p ${MOD}_ < ${.ALLSRC} +${MOD}_tree.c ${MOD}_tree.h: ${MOD}_tree.def ${EXTRAMIBDEFS} + cat ${.ALLSRC} | gensnmptree -l -p ${MOD}_ .if defined(DEFS) FILESGROUPS+= DEFS |