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