290N/A#
290N/A# CDDL HEADER START
290N/A#
290N/A# The contents of this file are subject to the terms of the
290N/A# Common Development and Distribution License (the "License").
290N/A# You may not use this file except in compliance with the License.
290N/A#
290N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
290N/A# or http://www.opensolaris.org/os/licensing.
290N/A# See the License for the specific language governing permissions
290N/A# and limitations under the License.
290N/A#
290N/A# When distributing Covered Code, include this CDDL HEADER in each
290N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
290N/A# If applicable, add the following below this CDDL HEADER, with the
290N/A# fields enclosed by brackets "[]" replaced with your own identifying
290N/A# information: Portions Copyright [yyyy] [name of copyright owner]
290N/A#
290N/A# CDDL HEADER END
290N/A#
3996N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
290N/A#
290N/Ainclude ../../make-rules/shared-macros.mk
290N/A
290N/ACOMPONENT_NAME= libsndfile
290N/ACOMPONENT_VERSION= 1.0.23
290N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
290N/ACOMPONENT_PROJECT_URL= http://www.mega-nerd.com/libsndfile/
290N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:54c9c375598538263395a691f9b30987a2faa3d8a166d27e6a09ba4700223d4d
290N/ACOMPONENT_ARCHIVE_URL= http://www.mega-nerd.com/libsndfile/files/$(COMPONENT_ARCHIVE)
1273N/ACOMPONENT_BUGDB= library/libsndfile
290N/A
3661N/ATPNO= 8890
3661N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/configure.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
290N/A
290N/A# Needed for __func__ in cpp_test.cc
290N/ACXXFLAGS += $(studio_FEATURES_EXTENSIONS)
290N/ACFLAGS += $(studio_PIC)
290N/A
290N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
290N/ACONFIGURE_ENV += CXXFLAGS="$(CXXFLAGS)"
290N/A
290N/A# common targets
290N/Abuild: $(BUILD_32_and_64)
290N/A
290N/Ainstall: $(INSTALL_32_and_64)
290N/A
290N/Atest: $(TEST_32_and_64)
290N/A
290N/A
3996N/AREQUIRED_PACKAGES += codec/flac
3996N/AREQUIRED_PACKAGES += codec/ogg-vorbis
3996N/AREQUIRED_PACKAGES += database/sqlite-3
3996N/AREQUIRED_PACKAGES += system/library
3996N/AREQUIRED_PACKAGES += system/library/math