Makefile revision 6602
6134N/A#
6134N/A# CDDL HEADER START
6134N/A#
6134N/A# The contents of this file are subject to the terms of the
6134N/A# Common Development and Distribution License (the "License").
6134N/A# You may not use this file except in compliance with the License.
6134N/A#
6134N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6134N/A# or http://www.opensolaris.org/os/licensing.
6134N/A# See the License for the specific language governing permissions
6134N/A# and limitations under the License.
6134N/A#
6134N/A# When distributing Covered Code, include this CDDL HEADER in each
6134N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6134N/A# If applicable, add the following below this CDDL HEADER, with the
6134N/A# fields enclosed by brackets "[]" replaced with your own identifying
6134N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6134N/A#
6134N/A# CDDL HEADER END
6134N/A#
6134N/A
6134N/A#
6134N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
6134N/A#
6134N/ABUILD_BITS= 64_and_32
6134N/ACOMPILER= gcc
6134N/Ainclude ../../make-rules/shared-macros.mk
6134N/A
6156N/ACOMPONENT_NAME= libsndfile
6134N/ACOMPONENT_VERSION= 1.0.27
6191N/ACOMPONENT_PROJECT_URL= http://www.mega-nerd.com/libsndfile/
6156N/ACOMPONENT_ARCHIVE_HASH= \
6134N/A sha256:a391952f27f4a92ceb2b4c06493ac107896ed6c76be9a613a4731f076d30fac0
6134N/ACOMPONENT_ARCHIVE_URL= http://www.mega-nerd.com/libsndfile/files/$(COMPONENT_ARCHIVE)
6134N/ACOMPONENT_BUGDB= library/libsndfile
6156N/A
6134N/ATPNO= 30616
6156N/A
6156N/Ainclude $(WS_MAKE_RULES)/common.mk
6245N/A
6156N/A# Needed to get tests/header_test.c to compile successfully on SPARC.
6134N/Agcc_XREGS.sparc= -mapp-regs
6245N/A
6134N/A# Need to use GNU sed otherwise we get a:
6156N/A# Error : sfversion <version> and PACKAGE_VERSION <version> don't match."
6165N/A# failure from the test_wrapper.sh script.
6156N/ACOMPONENT_TEST_ENV += PATH="$(GNUBIN):$(PATH)"
6156N/A
6134N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
6134N/A
6134N/ACOMPONENT_TEST_TRANSFORMS += \
6243N/A '-e "s|\(^SunOS\).*|\1|" ' \
6243N/A '-e "s|^.* CC .*$$|XXX_REMOVE_XXX|g" ' \
6243N/A '-e "s|^.* CXX .*$$|XXX_REMOVE_XXX|g" ' \
6243N/A '-e "s|^.* CCLD .*$$|XXX_REMOVE_XXX|g" ' \
6134N/A '-e "s|^.* CXXLD .*$$|XXX_REMOVE_XXX|g" ' \
6243N/A '-e "s|^.*source=.*libtool=no.*$$|XXX_REMOVE_XXX|g" ' \
6243N/A '-e "s|^.*DEPDIR=.deps.*$$|XXX_REMOVE_XXX|g" ' \
6243N/A '-e "s|^config.status: .*$$|XXX_REMOVE_XXX|g" ' \
6134N/A '-e "s|^.*common.h:.*$$|XXX_REMOVE_XXX|g" ' \
6245N/A '-e "s|^.*test_strncpy_crlf.c:.*$$|XXX_REMOVE_XXX|g" ' \
6245N/A '-e "s|^.*In file included.*$$|XXX_REMOVE_XXX|g" ' \
6156N/A '-e "s|^.*psf_strlcpy_crlf (.*$$|XXX_REMOVE_XXX|g" ' \
6243N/A '-e "s|^.*\^.*$$|XXX_REMOVE_XXX|g" ' \
6243N/A '-e "s|^.*argument:.*$$|XXX_REMOVE_XXX|g" ' \
6243N/A '-e "s|^.*prototype:.*$$|XXX_REMOVE_XXX|g" ' \
6243N/A '-e "s|^.*warning:.*$$|XXX_REMOVE_XXX|g" ' \
6243N/A '-e "s|^make.*: Nothing to be.*$$|XXX_REMOVE_XXX|g" ' \
6243N/A '-e "s|^make.*: Leaving directory.*$$|XXX_REMOVE_XXX|g" ' \
6243N/A '-e "s|^make.*: Entering directory.*$$|XXX_REMOVE_XXX|g" ' \
6243N/A '-e "/^XXX_REMOVE_XXX$$/d" '
6243N/A
6243N/AREQUIRED_PACKAGES += codec/flac
6243N/AREQUIRED_PACKAGES += codec/ogg-vorbis
6243N/AREQUIRED_PACKAGES += database/sqlite-3
6134N/AREQUIRED_PACKAGES += system/library/math
6134N/A