Makefile revision 956
377N/A#
377N/A# CDDL HEADER START
377N/A#
377N/A# The contents of this file are subject to the terms of the
377N/A# Common Development and Distribution License (the "License").
377N/A# You may not use this file except in compliance with the License.
377N/A#
377N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
377N/A# or http://www.opensolaris.org/os/licensing.
377N/A# See the License for the specific language governing permissions
377N/A# and limitations under the License.
377N/A#
377N/A# When distributing Covered Code, include this CDDL HEADER in each
377N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
377N/A# If applicable, add the following below this CDDL HEADER, with the
377N/A# fields enclosed by brackets "[]" replaced with your own identifying
377N/A# information: Portions Copyright [yyyy] [name of copyright owner]
377N/A#
377N/A# CDDL HEADER END
377N/A#
377N/A
377N/A#
377N/A# Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved.
377N/A#
377N/A
377N/Ainclude ../../make-rules/shared-macros.mk
377N/A
377N/ACOMPONENT_NAME= quagga
377N/ACOMPONENT_VERSION= 0.99.19
377N/AIPS_COMPONENT_VERSION= $(COMPONENT_VERSION)
377N/ACOMPONENT_PROJECT_URL= http://www.quagga.net/
377N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
377N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
377N/ACOMPONENT_ARCHIVE_HASH= \
377N/A sha256:bc5052d285af6e7aac42984741e74261637c57c4a02032bf05de7a5ea3a1afe0
377N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE)
377N/APATCH_LEVEL = 0
377N/A
377N/A# without this we bus error on sparc. Until the code in all of Quagga
377N/A# does not have any misaligned code we will need the following flag.
377N/Astudio_ALIGN.sparc.32= -xmemalign=8i
377N/A
377N/A# These options are carried over from the SFW consolidation. Using -xO4 was
377N/A# explicitly commented out, but no reason was documented.
377N/A
377N/Astudio_OPT = -xO3
377N/A
377N/ALDFLAGS +=-lumem
377N/ACFGLOCALSTATEDIR=/system/volatile/quagga
377N/ACFGSYSCONFDIR= $(ETCDIR)/quagga
377N/A
377N/ACFLAGS += -xspace -Xa
377N/ACFLAGS += -g -xdebugformat=dwarf -O
377N/ACFLAGS += -errtags=yes -xc99=%all
377N/ACFLAGS += -erroff=E_TRAILING_COMMA_IN_ENUM
377N/ACFLAGS += -erroff=E_STATEMENT_NOT_REACHED
377N/ACFLAGS += -erroff=E_EMPTY_TRANSLATION_UNIT
377N/A
include ../../make-rules/prep.mk
include ../../make-rules/configure.mk
include ../../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_PKG_DEPENDENCIES = $(BUILD_TOOLS)
build: $(BUILD_32)
install: $(INSTALL_32)
test: $(NO_TESTS)
include ../../make-rules/depend.mk