Makefile revision 5680
0N/A#
0N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
0N/A
0N/A#
0N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/ABUILD_BITS= 64_and_32
0N/Ainclude ../../make-rules/shared-macros.mk
0N/A
0N/ACOMPONENT_NAME= opensp
0N/ACOMPONENT_VERSION= 1.5.1
0N/ACOMPONENT_PROJECT_URL= http://openjade.sourceforge.net/
0N/ACOMPONENT_SRC= OpenSP-$(COMPONENT_VERSION)
0N/ACOMPONENT_ARCHIVE_HASH= \
0N/A sha256:3f0649840dc3d6ec432e3c8d933b178208f3feccb6db111d22c8995ad07c736b
0N/ACOMPONENT_ARCHIVE_URL= http://prdownloads.sourceforge.net/openjade/$(COMPONENT_ARCHIVE)
0N/A
0N/ATPNO= 9621
0N/A
0N/Ainclude $(WS_MAKE_RULES)/common.mk
0N/A
0N/ACOMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv)
0N/A
0N/A# Needed to find the man pages at install time.
0N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
0N/A
0N/ACXX += $(studio_NORUNPATH)
0N/A
0N/ACONFIGURE_OPTIONS += --bindir=/usr/bin
0N/ACONFIGURE_OPTIONS += --disable-http
0N/ACONFIGURE_OPTIONS += --disable-nls
0N/ACONFIGURE_OPTIONS += --enable-default-catalog="CATALOG:/etc/sgml/catalog:/usr/share/sgml/CATALOG"
0N/Aifeq ($(OS_VERSION),5.11)
0N/AEXTRA_LIBRARIES = -lsocket -lnsl
0N/Aendif
0N/ACONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS) $(EXTRA_LIBRARIES)"
0N/A
0N/A# 21786575 for gmake test failures
0N/ACOMPONENT_TEST_DIR = $(BUILD_DIR)/$(MACH$(BITS))/tests
0N/ACOMPONENT_TEST_ARGS = -k -i
0N/ACOMPONENT_TEST_TRANSFORMS += \
0N/A '-n ' \
0N/A '-e "/result_count/d" ' \
0N/A '-e "/TOTAL:/p" ' \
0N/A '-e "/SKIP:/p" ' \
0N/A '-e "/PASS:/p" ' \
0N/A '-e "/FAIL:/p" ' \
0N/A '-e "/ERROR:/p" '
0N/A
0N/AREQUIRED_PACKAGES += system/library/c++-runtime
0N/A