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