Makefile revision 3725
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza#
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# CDDL HEADER START
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza#
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# The contents of this file are subject to the terms of the
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# Common Development and Distribution License (the "License").
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# You may not use this file except in compliance with the License.
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza#
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# or http://www.opensolaris.org/os/licensing.
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# See the License for the specific language governing permissions
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# and limitations under the License.
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza#
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# When distributing Covered Code, include this CDDL HEADER in each
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# If applicable, add the following below this CDDL HEADER, with the
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# fields enclosed by brackets "[]" replaced with your own identifying
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# information: Portions Copyright [yyyy] [name of copyright owner]
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza#
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# CDDL HEADER END
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza#
4f14b0f29aa144cc03efdde5508ae126ae197acfWyllys Ingersoll# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
13cfc9727689eaa4573ca1edb5dd32f9adc5e18cYuri Pankov#
deef35fd18fdfb1c42002a4793ebb2c181b08680Eric Schrockinclude ../../make-rules/shared-macros.mk
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaCOMPONENT_NAME= libsndfile
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaCOMPONENT_VERSION= 1.0.23
5d4606d7857958f486a2dc8cb37c99a0b72335d6Garrett D'AmoreCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
4890a7493fa5781f7cd15fa207cbcb58cc418882Will FiveashCOMPONENT_PROJECT_URL= http://www.mega-nerd.com/libsndfile/
4890a7493fa5781f7cd15fa207cbcb58cc418882Will FiveashCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
deef35fd18fdfb1c42002a4793ebb2c181b08680Eric SchrockCOMPONENT_ARCHIVE_HASH= \
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash sha256:54c9c375598538263395a691f9b30987a2faa3d8a166d27e6a09ba4700223d4d
4890a7493fa5781f7cd15fa207cbcb58cc418882Will FiveashCOMPONENT_ARCHIVE_URL= http://www.mega-nerd.com/libsndfile/files/$(COMPONENT_ARCHIVE)
4890a7493fa5781f7cd15fa207cbcb58cc418882Will FiveashCOMPONENT_BUGDB= library/libsndfile
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash
4890a7493fa5781f7cd15fa207cbcb58cc418882Will FiveashTPNO= 8890
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveashinclude ../../make-rules/prep.mk
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveashinclude ../../make-rules/configure.mk
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveashinclude ../../make-rules/ips.mk
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash# Needed for __func__ in cpp_test.cc
4890a7493fa5781f7cd15fa207cbcb58cc418882Will FiveashCXXFLAGS += $(studio_FEATURES_EXTENSIONS)
4890a7493fa5781f7cd15fa207cbcb58cc418882Will FiveashCFLAGS += $(studio_PIC)
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash
4890a7493fa5781f7cd15fa207cbcb58cc418882Will FiveashCONFIGURE_ENV += CFLAGS="$(CFLAGS)"
4890a7493fa5781f7cd15fa207cbcb58cc418882Will FiveashCONFIGURE_ENV += CXXFLAGS="$(CXXFLAGS)"
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash# Master test results are the same for 32-bit and 64-bit, so override
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash# here, rather than create multiple identical master files.
4890a7493fa5781f7cd15fa207cbcb58cc418882Will FiveashCOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash# The additional libsndfile specific set of transforms to be applied to the
430b4c467020edf2445feb0c21db01c88b86243aGordon Ross# test results to try to normalize them.
13cfc9727689eaa4573ca1edb5dd32f9adc5e18cYuri PankovCOMPONENT_TEST_TRANSFORMS += \
13cfc9727689eaa4573ca1edb5dd32f9adc5e18cYuri Pankov '-e "s|\(^SunOS\).*|\1|" '
b9071c34cb3102be3bbda85c57015ea13193aa6bGordon Ross
b9071c34cb3102be3bbda85c57015ea13193aa6bGordon RossASLR_MODE = $(ASLR_ENABLE)
b9071c34cb3102be3bbda85c57015ea13193aa6bGordon Ross
b9071c34cb3102be3bbda85c57015ea13193aa6bGordon Ross# common targets
b9071c34cb3102be3bbda85c57015ea13193aa6bGordon Rossconfigure: $(CONFIGURE_32_and_64)
b9071c34cb3102be3bbda85c57015ea13193aa6bGordon Ross
b9071c34cb3102be3bbda85c57015ea13193aa6bGordon Rossbuild: $(BUILD_32_and_64)
b9071c34cb3102be3bbda85c57015ea13193aa6bGordon Ross
b9071c34cb3102be3bbda85c57015ea13193aa6bGordon Rossinstall: $(INSTALL_32_and_64)
b9071c34cb3102be3bbda85c57015ea13193aa6bGordon Ross
b9071c34cb3102be3bbda85c57015ea13193aa6bGordon Rosstest: $(TEST_32_and_64)
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash
4890a7493fa5781f7cd15fa207cbcb58cc418882Will FiveashBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveashinclude ../../make-rules/depend.mk
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash