kumquat-buildroot/package/quagga/quagga.mk

88 lines
1.8 KiB
Makefile
Raw Normal View History

2007-06-28 17:55:00 +02:00
#############################################################
#
# quagga suite
#
#############################################################
QUAGGA_VERSION:=0.99.17
QUAGGA_SOURCE:=quagga-$(QUAGGA_VERSION).tar.gz
QUAGGA_SITE:=http://www.quagga.net/download/
2007-06-28 17:55:00 +02:00
QUAGGA_DEPENDENCIES = host-gawk
QUAGGA_LIBTOOL_PATCH = NO
QUAGGA_CONF_OPT = --program-transform-name='' --enable-netlink
2007-06-28 17:55:00 +02:00
ifeq ($(BR2_PACKAGE_QUAGGA_ZEBRA),y)
QUAGGA_CONF_OPT+=--enable-zebra
2007-06-28 17:55:00 +02:00
else
QUAGGA_CONF_OPT+=--disable-zebra
2007-06-28 17:55:00 +02:00
endif
2007-06-28 17:55:00 +02:00
ifeq ($(BR2_PACKAGE_QUAGGA_BGPD),y)
QUAGGA_CONF_OPT+=--enable-bgpd
2007-06-28 17:55:00 +02:00
else
QUAGGA_CONF_OPT+=--disable-bgpd
2007-06-28 17:55:00 +02:00
endif
2007-06-28 17:55:00 +02:00
ifeq ($(BR2_PACKAGE_QUAGGA_RIPD),y)
QUAGGA_CONF_OPT+=--enable-ripd
2007-06-28 17:55:00 +02:00
else
QUAGGA_CONF_OPT+=--disable-ripd
2007-06-28 17:55:00 +02:00
endif
2007-06-28 17:55:00 +02:00
ifeq ($(BR2_PACKAGE_QUAGGA_RIPNGD),y)
QUAGGA_CONF_OPT+=--enable-ripngd
2007-06-28 17:55:00 +02:00
else
QUAGGA_CONF_OPT+=--disable-ripngd
2007-06-28 17:55:00 +02:00
endif
2007-06-28 17:55:00 +02:00
ifeq ($(BR2_PACKAGE_QUAGGA_OSPFD),y)
QUAGGA_CONF_OPT+=--enable-ospfd
2007-06-28 17:55:00 +02:00
else
QUAGGA_CONF_OPT+=--disable-ospfd
2007-06-28 17:55:00 +02:00
endif
2007-06-28 17:55:00 +02:00
ifeq ($(BR2_PACKAGE_QUAGGA_OSPF6D),y)
QUAGGA_CONF_OPT+=--enable-ospf6d
2007-06-28 17:55:00 +02:00
else
QUAGGA_CONF_OPT+=--disable-ospf6d
2007-06-28 17:55:00 +02:00
endif
2007-06-28 17:55:00 +02:00
ifeq ($(BR2_PACKAGE_QUAGGA_WATCHQUAGGA),y)
QUAGGA_CONF_OPT+=--enable-watchquagga
2007-06-28 17:55:00 +02:00
else
QUAGGA_CONF_OPT+=--disable-watchquagga
2007-06-28 17:55:00 +02:00
endif
2007-06-28 17:55:00 +02:00
ifeq ($(BR2_PACKAGE_QUAGGA_ISISD),y)
QUAGGA_CONF_OPT+=--enable-isisd
2007-06-28 17:55:00 +02:00
else
QUAGGA_CONF_OPT+=--disable-isisd
2007-06-28 17:55:00 +02:00
endif
ifeq ($(BR2_PACKAGE_QUAGGA_BGP_ANNOUNCE),y)
QUAGGA_CONF_OPT+=--enable-bgp-announce
2007-06-28 17:55:00 +02:00
else
QUAGGA_CONF_OPT+=--disable-bgp-announce
2007-06-28 17:55:00 +02:00
endif
2007-06-28 17:55:00 +02:00
ifeq ($(BR2_PACKAGE_QUAGGA_SNMP),y)
QUAGGA_CONF_OPT+=--enable-snmp
QUAGGA_DEPENDENCIES+=netsnmp
2007-06-28 17:55:00 +02:00
else
QUAGGA_CONF_OPT+=--disable-snmp
2007-06-28 17:55:00 +02:00
endif
2007-06-28 17:55:00 +02:00
ifeq ($(BR2_PACKAGE_QUAGGA_TCP_ZEBRA),y)
QUAGGA_CONF_OPT+=--enable-tcp-zebra
2007-06-28 17:55:00 +02:00
else
QUAGGA_CONF_OPT+=--disable-tcp-zebra
2007-06-28 17:55:00 +02:00
endif
ifeq ($(BR2_PACKAGE_QUAGGA_OPAQUE_LSA),y)
QUAGGA_CONF_OPT+=--enable-opaque-lsa
2007-06-28 17:55:00 +02:00
else
QUAGGA_CONF_OPT+=--disable-opaque-lsa
2007-06-28 17:55:00 +02:00
endif
$(eval $(call AUTOTARGETS,package,quagga))