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