aboutsummaryrefslogtreecommitdiff
path: root/snmpd/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'snmpd/Makefile.in')
-rw-r--r--snmpd/Makefile.in15
1 files changed, 9 insertions, 6 deletions
diff --git a/snmpd/Makefile.in b/snmpd/Makefile.in
index 9498bd478062..e248978617d0 100644
--- a/snmpd/Makefile.in
+++ b/snmpd/Makefile.in
@@ -4,7 +4,7 @@
#
# Author: Harti Brandt <harti@freebsd.org>
#
-# $Begemot: bsnmp/snmpd/Makefile.in,v 1.8 2005/04/22 12:18:14 brandt_h Exp $
+# $Begemot: bsnmp/trunk/snmpd/Makefile.in 2117 2015-09-16 14:09:31Z brandt_h $
#
PROG= bsnmpd
@@ -18,25 +18,28 @@ MANFILTER= sed -e 's%@MODPATH@%${LIBDIR}/%g' \
XSYM= snmpMIB begemotSnmpdModuleTable begemotSnmpd begemotTrapSinkTable \
sysUpTime snmpTrapOID coldStart authenticationFailure \
- begemotSnmpdLocalPortTable begemotSnmpdTransUdp begemotSnmpdTransLsock
+ begemotSnmpdLocalPortTable begemotSnmpdTransUdp begemotSnmpdTransLsock \
+ freeBSDVersion freeBSD
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
+LDFLAGS+= $(LIBDL) -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
+CLEANFILES += tree.c tree.h oid.h *.3out *.1out
+
+GENSNMPTREE= $(builddir)/../gensnmptree/gensnmptree -I${srcdir}/../lib
tree.c tree.h: tree.def ../gensnmptree/gensnmptree
- $(builddir)/../gensnmptree/gensnmptree -l <${srcdir}/tree.def
+ ${GENSNMPTREE} -l <${srcdir}/tree.def
oid.h: tree.def ../gensnmptree/gensnmptree
- $(builddir)/../gensnmptree/gensnmptree <${srcdir}/tree.def -e ${XSYM} >$@
+ ${GENSNMPTREE} <${srcdir}/tree.def -e ${XSYM} >$@
$(SRCS:.c=.lo): oid.h