a422f40761
Changelog: - Fixed: Winsock has to be included before windows header. - Fixed: Added SnmpTarget::version_to_string() function - Fixed: Fixed compiler warning on MSYS2 g++ Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
25 lines
750 B
Makefile
25 lines
750 B
Makefile
################################################################################
|
|
#
|
|
# snmppp
|
|
#
|
|
################################################################################
|
|
|
|
SNMPPP_VERSION = 3.4.10
|
|
SNMPPP_SOURCE = snmp++-$(SNMPPP_VERSION).tar.gz
|
|
SNMPPP_SITE = http://www.agentpp.com/download
|
|
SNMPPP_DEPENDENCIES = host-pkgconf
|
|
SNMPPP_INSTALL_STAGING = YES
|
|
SNMPPP_CONF_OPTS = $(if $(BR2_PACKAGE_SNMPPP_LOGGING),--enable-logging,--disable-logging)
|
|
SNMPPP_LICENSE = SNMP++
|
|
SNMPPP_LICENSE_FILES = src/v3.cpp
|
|
|
|
ifeq ($(BR2_PACKAGE_SNMPPP_SNMPV3),y)
|
|
SNMPPP_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11"
|
|
SNMPPP_CONF_OPTS += --enable-snmpv3
|
|
SNMPPP_DEPENDENCIES += openssl
|
|
else
|
|
SNMPPP_CONF_OPTS += --disable-snmpv3
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|