summaryrefslogtreecommitdiffstats
path: root/lib/libbsnmp/modules/snmp_netgraph/genfiles
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2004-01-23 16:22:49 +0000
committerharti <harti@FreeBSD.org>2004-01-23 16:22:49 +0000
commit9576ee9b99d65d320aece9a1f0a2e5b06a483ef1 (patch)
tree65a1aa99775b9ea5784447cd9891cbd7d34bf1f2 /lib/libbsnmp/modules/snmp_netgraph/genfiles
parent37783c5ffd462fc7902b9ce212d81a6146e8c77b (diff)
downloadFreeBSD-src-9576ee9b99d65d320aece9a1f0a2e5b06a483ef1.zip
FreeBSD-src-9576ee9b99d65d320aece9a1f0a2e5b06a483ef1.tar.gz
Create the OID and tree files while building the modules and the daemon
instead of creating them by hand and storing them in the CVS tree. Add gensnmptree to the bootstrap tools (it is used to generated these files). This simplifies the update procedure. Submitted by: ru
Diffstat (limited to 'lib/libbsnmp/modules/snmp_netgraph/genfiles')
-rw-r--r--lib/libbsnmp/modules/snmp_netgraph/genfiles17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/libbsnmp/modules/snmp_netgraph/genfiles b/lib/libbsnmp/modules/snmp_netgraph/genfiles
deleted file mode 100644
index b92a392..0000000
--- a/lib/libbsnmp/modules/snmp_netgraph/genfiles
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-# $FreeBSD$
-
-XSYM="begemotNg"
-
-gensnmptree <netgraph_tree.def -e ${XSYM} >netgraph_oid.h
-gensnmptree <netgraph_tree.def -l -p netgraph_
-
-for i in netgraph_tree.h netgraph_tree.c netgraph_oid.h ; do
- ex $i <<'EOF'
-0a
-/* $FreeBSD$ */
-/* generated file, don't edit - use ./genfiles */
-.
-wq
-EOF
-done
OpenPOWER on IntegriCloud