Makefile revision 3817
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#
3725N/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)
1258N/ACOMPONENT_BUGDB= library/libsndfile
290N/A
2899N/ATPNO= 8890
2899N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/configure.mk
3817N/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
3725N/A# Master test results are the same for 32-bit and 64-bit, so override
3725N/A# here, rather than create multiple identical master files.
3725N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
3725N/A
3725N/A# The additional libsndfile specific set of transforms to be applied to the
3725N/A# test results to try to normalize them.
3725N/ACOMPONENT_TEST_TRANSFORMS += \
3725N/A '-e "s|\(^SunOS\).*|\1|" '
3725N/A
1699N/AASLR_MODE = $(ASLR_ENABLE)
1699N/A
290N/A# common targets
3477N/Aconfigure: $(CONFIGURE_32_and_64)
3477N/A
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
3817N/AREQUIRED_PACKAGES += codec/flac
3817N/AREQUIRED_PACKAGES += codec/ogg-vorbis
3817N/AREQUIRED_PACKAGES += database/sqlite-3
3817N/AREQUIRED_PACKAGES += system/library
3817N/AREQUIRED_PACKAGES += system/library/math