Makefile revision 5680
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw#
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# CDDL HEADER START
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw#
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# The contents of this file are subject to the terms of the
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# Common Development and Distribution License (the "License").
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# You may not use this file except in compliance with the License.
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw#
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# or http://www.opensolaris.org/os/licensing.
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# See the License for the specific language governing permissions
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# and limitations under the License.
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw#
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# When distributing Covered Code, include this CDDL HEADER in each
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# If applicable, add the following below this CDDL HEADER, with the
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# fields enclosed by brackets "[]" replaced with your own identifying
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# information: Portions Copyright [yyyy] [name of copyright owner]
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw#
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# CDDL HEADER END
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw#
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw#
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved.
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw#
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwBUILD_BITS= 32
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwinclude ../../make-rules/shared-macros.mk
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwCOMPONENT_NAME= quagga
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwCOMPONENT_VERSION= 0.99.19
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwIPS_COMPONENT_VERSION= $(COMPONENT_VERSION)
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwCOMPONENT_PROJECT_URL= http://www.quagga.net/
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwCOMPONENT_ARCHIVE_HASH= \
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw sha256:bc5052d285af6e7aac42984741e74261637c57c4a02032bf05de7a5ea3a1afe0
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE)
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwCOMPONENT_BUGDB= service/quagga
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwTPNO= 9106
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwPATCH_LEVEL = 0
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# without this we bus error on sparc. Until the code in all of Quagga
# does not have any misaligned code we will need the following flag.
studio_ALIGN.sparc.32= -xmemalign=8i
# These options are carried over from the SFW consolidation. Using -xO4 was
# explicitly commented out, but no reason was documented.
studio_OPT = -xO3
LDFLAGS += -lumem
CFGLOCALSTATEDIR=/system/volatile/quagga
CFGSYSCONFDIR= $(ETCDIR)/quagga
CFLAGS.studio += -xspace -Xa
CFLAGS.studio += -g -xdebugformat=dwarf -O
CFLAGS.studio += -errtags=yes -xc99=%all
CFLAGS.studio += -erroff=E_TRAILING_COMMA_IN_ENUM
CFLAGS.studio += -erroff=E_STATEMENT_NOT_REACHED
CFLAGS.studio += -erroff=E_EMPTY_TRANSLATION_UNIT
TEST_TARGET= $(NO_TESTS)
include $(WS_MAKE_RULES)/common.mk
CONFIGURE_OPTIONS += --enable-opaque-lsa
CONFIGURE_OPTIONS += --localstatedir=$(CFGLOCALSTATEDIR)
CONFIGURE_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
CONFIGURE_OPTIONS += --enable-solaris
REQUIRED_PACKAGES += shell/ksh93
REQUIRED_PACKAGES += system/core-os
REQUIRED_PACKAGES += system/library/math
REQUIRED_PACKAGES += system/network