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