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