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