417N/A#
417N/A# CDDL HEADER START
417N/A#
417N/A# The contents of this file are subject to the terms of the
417N/A# Common Development and Distribution License (the "License").
417N/A# You may not use this file except in compliance with the License.
417N/A#
417N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
417N/A# or http://www.opensolaris.org/os/licensing.
417N/A# See the License for the specific language governing permissions
417N/A# and limitations under the License.
417N/A#
417N/A# When distributing Covered Code, include this CDDL HEADER in each
417N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
417N/A# If applicable, add the following below this CDDL HEADER, with the
417N/A# fields enclosed by brackets "[]" replaced with your own identifying
417N/A# information: Portions Copyright [yyyy] [name of copyright owner]
417N/A#
417N/A# CDDL HEADER END
417N/A#
417N/A
417N/A#
5800N/A# Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved.
417N/A#
417N/A
417N/Ainclude ../../make-rules/shared-macros.mk
417N/A
417N/ACOMPONENT_NAME= quagga
653N/ACOMPONENT_VERSION= 0.99.19
417N/AIPS_COMPONENT_VERSION= $(COMPONENT_VERSION)
618N/ACOMPONENT_PROJECT_URL= http://www.quagga.net/
417N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
417N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:bc5052d285af6e7aac42984741e74261637c57c4a02032bf05de7a5ea3a1afe0
653N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE)
1273N/ACOMPONENT_BUGDB= service/quagga
1273N/A
3661N/ATPNO= 9106
3661N/A
417N/APATCH_LEVEL = 0
417N/A
499N/A# without this we bus error on sparc. Until the code in all of Quagga
499N/A# does not have any misaligned code we will need the following flag.
499N/Astudio_ALIGN.sparc.32= -xmemalign=8i
499N/A
417N/A# These options are carried over from the SFW consolidation. Using -xO4 was
653N/A# explicitly commented out, but no reason was documented.
417N/A
417N/Astudio_OPT = -xO3
5800N/AASLR_MODE= $(ASLR_ENABLE)
417N/A
417N/ALDFLAGS +=-lumem
417N/ACFGLOCALSTATEDIR=/system/volatile/quagga
417N/ACFGSYSCONFDIR= $(ETCDIR)/quagga
417N/A
417N/ACFLAGS += -xspace -Xa
417N/ACFLAGS += -g -xdebugformat=dwarf -O
417N/ACFLAGS += -errtags=yes -xc99=%all
417N/ACFLAGS += -erroff=E_TRAILING_COMMA_IN_ENUM
417N/ACFLAGS += -erroff=E_STATEMENT_NOT_REACHED
417N/ACFLAGS += -erroff=E_EMPTY_TRANSLATION_UNIT
417N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/configure.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
417N/A
417N/ACONFIGURE_OPTIONS += --with-cflags="$(CFLAGS)"
417N/ACONFIGURE_OPTIONS += --enable-opaque-lsa
417N/ACONFIGURE_OPTIONS += --localstatedir=$(CFGLOCALSTATEDIR)
417N/ACONFIGURE_OPTIONS += --sysconfdir=$(CFGSYSCONFDIR)
417N/ACONFIGURE_OPTIONS += --includedir=$(CONFIGURE_INCLUDEDIR)
417N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
417N/ACONFIGURE_OPTIONS += --enable-isisd
417N/ACONFIGURE_OPTIONS += --enable-trill
417N/ACONFIGURE_OPTIONS += --disable-watchquagga
417N/ACONFIGURE_OPTIONS += --enable-ospf6d
417N/ACONFIGURE_OPTIONS += --enable-ripngd
417N/ACONFIGURE_OPTIONS += --enable-user=root
417N/ACONFIGURE_OPTIONS += --enable-group=root
653N/ACONFIGURE_OPTIONS += --enable-solaris
417N/A
417N/A
417N/Abuild: $(BUILD_32)
417N/Ainstall: $(INSTALL_32)
417N/Atest: $(NO_TESTS)
417N/A
3996N/AREQUIRED_PACKAGES += shell/ksh93
3996N/AREQUIRED_PACKAGES += system/core-os
3996N/AREQUIRED_PACKAGES += system/library
3996N/AREQUIRED_PACKAGES += system/library/math
3996N/AREQUIRED_PACKAGES += system/network