2007-09-26 16:03:42 -04:00
|
|
|
$OpenBSD: patch-apps_Makefile_in,v 1.4 2007/09/26 20:03:42 rui Exp $
|
|
|
|
--- apps/Makefile.in.orig Thu Jul 5 00:26:56 2007
|
|
|
|
+++ apps/Makefile.in Sat Sep 15 23:12:28 2007
|
2007-06-14 14:19:24 -04:00
|
|
|
@@ -36,7 +36,7 @@ INSTALLBINPROGS = snmpget$(EXEEXT) \
|
2006-01-03 12:37:18 -05:00
|
|
|
|
|
|
|
INSTALLSBINPROGS = snmptrapd$(EXEEXT)
|
|
|
|
|
|
|
|
-INSTALLLIBS = libnetsnmptrapd.$(LIB_EXTENSION)$(LIB_VERSION)
|
|
|
|
+INSTALLLIBS = libnetsnmptrapd.$(LIB_EXTENSION)$(LIBnetsnmptrapd_VERSION)
|
|
|
|
|
|
|
|
SUBDIRS = snmpnetstat
|
|
|
|
|
2007-09-26 16:03:42 -04:00
|
|
|
@@ -45,10 +45,10 @@ SUBDIRS = snmpnetstat
|
2006-01-03 12:37:18 -05:00
|
|
|
#
|
|
|
|
|
|
|
|
# USELIBS/USEAGENTLIBS are for dependencies
|
|
|
|
-USELIBS = ../snmplib/libnetsnmp.$(LIB_EXTENSION)$(LIB_VERSION)
|
2007-09-26 16:03:42 -04:00
|
|
|
-HELPERLIB = ../agent/helpers/libnetsnmphelpers.$(LIB_EXTENSION)$(LIB_VERSION)
|
|
|
|
-AGENTLIB = ../agent/libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION)
|
|
|
|
-MIBLIB = ../agent/libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION)
|
2006-01-03 12:37:18 -05:00
|
|
|
+USELIBS = ../snmplib/libnetsnmp.$(LIB_EXTENSION)$(LIBnetsnmp_VERSION)
|
2007-09-26 16:03:42 -04:00
|
|
|
+HELPERLIB = ../agent/helpers/libnetsnmphelpers.$(LIB_EXTENSION)$(LIBnetsnmphelpers_VERSION)
|
|
|
|
+AGENTLIB = ../agent/libnetsnmpagent.$(LIB_EXTENSION)$(LIBnetsnmpagent_VERSION)
|
|
|
|
+MIBLIB = ../agent/libnetsnmpmibs.$(LIB_EXTENSION)$(LIBnetsnmpmibs_VERSION)
|
|
|
|
USEAGENTLIBS = $(MIBLIB) $(AGENTLIB) $(HELPERLIB) $(USELIBS)
|
2006-01-03 12:37:18 -05:00
|
|
|
|
|
|
|
#
|
2007-09-26 16:03:42 -04:00
|
|
|
@@ -142,7 +142,7 @@ encode_keychange$(EXEEXT): encode_keychange.$(OSUFF
|
2006-01-03 12:37:18 -05:00
|
|
|
snmpdf$(EXEEXT): snmpdf.$(OSUFFIX) $(USELIBS)
|
2007-09-26 16:03:42 -04:00
|
|
|
$(LINK) ${CFLAGS} -o $@ snmpdf.$(OSUFFIX) $(LOCAL_LIBS) ${LDFLAGS} ${LIBS}
|
2006-01-03 12:37:18 -05:00
|
|
|
|
|
|
|
-libnetsnmptrapd.$(LIB_EXTENSION)$(LIB_VERSION): $(LLIBTRAPD_OBJS)
|
|
|
|
+libnetsnmptrapd.$(LIB_EXTENSION)$(LIBnetsnmptrapd_VERSION): $(LLIBTRAPD_OBJS)
|
2007-09-26 16:03:42 -04:00
|
|
|
$(LIB_LD_CMD) $@ ${LLIBTRAPD_OBJS} $(MIBLIB) $(USELIBS) $(PERLLDOPTS_FOR_LIBS) $(LIB_LD_LIBS)
|
|
|
|
$(RANLIB) $@
|
2006-01-03 12:37:18 -05:00
|
|
|
|