Makefile revision 1258
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# CDDL HEADER START
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# The contents of this file are subject to the terms of the
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Common Development and Distribution License (the "License").
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# You may not use this file except in compliance with the License.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# or http://www.opensolaris.org/os/licensing.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# See the License for the specific language governing permissions
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# and limitations under the License.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# When distributing Covered Code, include this CDDL HEADER in each
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence# If applicable, add the following below this CDDL HEADER, with the
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# fields enclosed by brackets "[]" replaced with your own identifying
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# information: Portions Copyright [yyyy] [name of copyright owner]
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence#
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence# CDDL HEADER END
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence#
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtoninclude ../../make-rules/shared-macros.mk
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
6ec499054450c5e0fd69d78961deef46985ba363Brian WellingtonCOMPONENT_NAME= libsndfile
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCOMPONENT_VERSION= 1.0.23
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
6ec499054450c5e0fd69d78961deef46985ba363Brian WellingtonCOMPONENT_PROJECT_URL= http://www.mega-nerd.com/libsndfile/
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCOMPONENT_ARCHIVE_HASH= \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington sha256:54c9c375598538263395a691f9b30987a2faa3d8a166d27e6a09ba4700223d4d
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCOMPONENT_ARCHIVE_URL= http://www.mega-nerd.com/libsndfile/files/$(COMPONENT_ARCHIVE)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCOMPONENT_BUGDB= library/libsndfile
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtoninclude ../../make-rules/prep.mk
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellingtoninclude ../../make-rules/configure.mk
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrenceinclude ../../make-rules/ips.mk
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Needed for __func__ in cpp_test.cc
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian WellingtonCXXFLAGS += $(studio_FEATURES_EXTENSIONS)
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid LawrenceCFLAGS += $(studio_PIC)
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCONFIGURE_ENV += CFLAGS="$(CFLAGS)"
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian WellingtonCONFIGURE_ENV += CXXFLAGS="$(CXXFLAGS)"
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence# common targets
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonbuild: $(BUILD_32_and_64)
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrenceinstall: $(INSTALL_32_and_64)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtontest: $(TEST_32_and_64)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtoninclude ../../make-rules/depend.mk
90c099e88e9f16bfee9edee3ac1a51fc98843772Brian Wellington