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