summaryrefslogtreecommitdiffstats
path: root/contrib/bsnmp/snmpd/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bsnmp/snmpd/Makefile.in')
-rw-r--r--contrib/bsnmp/snmpd/Makefile.in42
1 files changed, 42 insertions, 0 deletions
diff --git a/contrib/bsnmp/snmpd/Makefile.in b/contrib/bsnmp/snmpd/Makefile.in
new file mode 100644
index 0000000..9498bd4
--- /dev/null
+++ b/contrib/bsnmp/snmpd/Makefile.in
@@ -0,0 +1,42 @@
+# Copyright (c) 2001-2003
+# Fraunhofer Institute for Open Communication Systems (FhG Fokus).
+# All rights reserved.
+#
+# Author: Harti Brandt <harti@freebsd.org>
+#
+# $Begemot: bsnmp/snmpd/Makefile.in,v 1.8 2005/04/22 12:18:14 brandt_h Exp $
+#
+
+PROG= bsnmpd
+SRCS= tree.c main.c action.c config.c export.c trap.c
+SRCS+= trans_udp.c trans_lsock.c
+MAN1= bsnmpd.1
+MAN3= snmpmod.3
+MANFILTER= sed -e 's%@MODPATH@%${LIBDIR}/%g' \
+ -e 's%@DEFPATH@%${DEFSDIR}/%g' \
+ -e 's%@MIBSPATH@%${MIBSDIR}/%g'
+
+XSYM= snmpMIB begemotSnmpdModuleTable begemotSnmpd begemotTrapSinkTable \
+ sysUpTime snmpTrapOID coldStart authenticationFailure \
+ begemotSnmpdLocalPortTable begemotSnmpdTransUdp begemotSnmpdTransLsock
+
+BMIBS= FOKUS-MIB.txt BEGEMOT-MIB.txt BEGEMOT-SNMPD.txt
+DEFS= tree.def
+INCS= snmpmod.h
+
+CFLAGS+= -I$(builddir)/. -I${srcdir} -I${srcdir}/../lib
+LDFLAGS+= -export-dynamic
+
+$(PROG): $(SRCS:.c=.lo) oid.h tree.h
+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(SRCS:.c=.lo) \
+ $(builddir)/../lib/libbsnmp.la $(LIBEV) $(LIBWRAP)
+
+CLEANFILES += tree.c tree.h oid.h
+
+tree.c tree.h: tree.def ../gensnmptree/gensnmptree
+ $(builddir)/../gensnmptree/gensnmptree -l <${srcdir}/tree.def
+
+oid.h: tree.def ../gensnmptree/gensnmptree
+ $(builddir)/../gensnmptree/gensnmptree <${srcdir}/tree.def -e ${XSYM} >$@
+
+$(SRCS:.c=.lo): oid.h
OpenPOWER on IntegriCloud