fcb77d51d4
gio from libglib2 is used for dbus support Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
################################################################################
|
|
#
|
|
# keepalived
|
|
#
|
|
################################################################################
|
|
|
|
KEEPALIVED_VERSION = 1.4.2
|
|
KEEPALIVED_SITE = http://www.keepalived.org/software
|
|
KEEPALIVED_DEPENDENCIES = host-pkgconf openssl
|
|
KEEPALIVED_LICENSE = GPL-2.0+
|
|
KEEPALIVED_LICENSE_FILES = COPYING
|
|
# 0001-configure.ac-do-not-force-PIE.patch
|
|
KEEPALIVED_AUTORECONF = YES
|
|
|
|
ifeq ($(BR2_PACKAGE_JSON_C),y)
|
|
KEEPALIVED_DEPENDENCIES += json-c
|
|
KEEPALIVED_CONF_OPTS += --enable-json
|
|
else
|
|
KEEPALIVED_CONF_OPTS += --disable-json
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
|
|
KEEPALIVED_DEPENDENCIES += libglib2
|
|
KEEPALIVED_CONF_OPTS += --enable-dbus
|
|
else
|
|
KEEPALIVED_CONF_OPTS += --disable-dbus
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBNL)$(BR2_PACKAGE_LIBNFNETLINK),yy)
|
|
KEEPALIVED_DEPENDENCIES += libnl libnfnetlink
|
|
KEEPALIVED_CONF_OPTS += --enable-libnl
|
|
else
|
|
KEEPALIVED_CONF_OPTS += --disable-libnl
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_IPSET),y)
|
|
KEEPALIVED_DEPENDENCIES += ipset
|
|
KEEPALIVED_CONF_OPTS += --enable-libipset
|
|
else
|
|
KEEPALIVED_CONF_OPTS += --disable-libipset
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_IPTABLES),y)
|
|
KEEPALIVED_DEPENDENCIES += iptables
|
|
KEEPALIVED_CONF_OPTS += --enable-libiptc
|
|
else
|
|
KEEPALIVED_CONF_OPTS += --disable-libiptc
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|