diff -rub heartbeat-2.1.2-ORIG/lib/plugins/stonith/Makefile.am heartbeat-2.1.2/lib/plugins/stonith/Makefile.am --- heartbeat-2.1.2-ORIG/lib/plugins/stonith/Makefile.am 2007-08-01 22:06:55.000000000 -0400 +++ heartbeat-2.1.2/lib/plugins/stonith/Makefile.am 2007-09-15 18:19:44.000000000 -0400 @@ -57,8 +57,10 @@ if USE_APC_SNMP apcmastersnmp_LIB = apcmastersnmp.la +apcsnmp_LIB = apcsnmp.la else apcmastersnmp_LIB = +apcsnmp_LIB = endif if USE_OPENIPMI OPENIPMI_LIB = -lOpenIPMI -lOpenIPMIposix -lOpenIPMIutils @@ -101,6 +103,7 @@ plugin_LTLIBRARIES = apcmaster.la \ $(apcmastersnmp_LIB) \ + $(apcsnmp_LIB) \ apcsmart.la \ baytech.la \ $(bladehpi_LIB) \ @@ -128,6 +131,11 @@ @CRYPTOLIB@ apcmastersnmp_la_LIBADD = $(GLIBLIB) +apcsnmp_la_SOURCES= apcsnmp.c apcsnmp-plugin.c apcsnmp.h $(INCFILES) +apcsnmp_la_LDFLAGS= -export-dynamic -module -avoid-version @SNMPLIB@ \ + @CRYPTOLIB@ +apcsnmp_la_LIBADD = $(GLIBLIB) + apcsmart_la_SOURCES = apcsmart.c $(INCFILES) apcsmart_la_LDFLAGS = -export-dynamic -module -avoid-version apcsmart_la_LIBADD = $(GLIBLIB)