components/libsndfile/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Thu, 04 Aug 2016 10:41:57 -0700
changeset 6552 402379bc1b60
parent 5682 94c0ca64c022
child 6604 cd700b33a402
permissions -rw-r--r--
24385703 Turn on ASLR by default, even for Userland "library" components
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
290
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     1
#
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     3
#
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     7
#
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    12
#
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    18
#
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    20
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4339
diff changeset
    21
290
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    22
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4339
diff changeset
    23
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4339
diff changeset
    24
#
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4339
diff changeset
    25
BUILD_BITS= 64_and_32
290
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    27
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		libsndfile
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    29
COMPONENT_VERSION=	1.0.23
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    30
COMPONENT_PROJECT_URL=	http://www.mega-nerd.com/libsndfile/
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 290
diff changeset
    31
COMPONENT_ARCHIVE_HASH=	\
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 290
diff changeset
    32
    sha256:54c9c375598538263395a691f9b30987a2faa3d8a166d27e6a09ba4700223d4d
290
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_URL=	http://www.mega-nerd.com/libsndfile/files/$(COMPONENT_ARCHIVE)
1058
34d7aaa03423 15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents: 800
diff changeset
    34
COMPONENT_BUGDB=	library/libsndfile
290
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    35
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1303
diff changeset
    36
TPNO=			8890
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1303
diff changeset
    37
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4339
diff changeset
    38
include $(WS_MAKE_RULES)/common.mk
290
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    39
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    40
# Needed for __func__ in cpp_test.cc
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    41
CXXFLAGS += $(studio_FEATURES_EXTENSIONS)
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    42
CFLAGS +=	$(studio_PIC)
4a5d715e84b4 7052146 migrate libsndfile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    43
3725
57a3df1e928a 20460414 GUILE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 2225
diff changeset
    44
# Master test results are the same for 32-bit and 64-bit, so override
57a3df1e928a 20460414 GUILE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 2225
diff changeset
    45
# here, rather than create multiple identical master files.
57a3df1e928a 20460414 GUILE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 2225
diff changeset
    46
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
57a3df1e928a 20460414 GUILE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 2225
diff changeset
    47
57a3df1e928a 20460414 GUILE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 2225
diff changeset
    48
# The additional libsndfile specific set of transforms to be applied to the
57a3df1e928a 20460414 GUILE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 2225
diff changeset
    49
# test results to try to normalize them.
57a3df1e928a 20460414 GUILE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 2225
diff changeset
    50
COMPONENT_TEST_TRANSFORMS += \
57a3df1e928a 20460414 GUILE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 2225
diff changeset
    51
	'-e "s|\(^SunOS\).*|\1|" '
57a3df1e928a 20460414 GUILE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 2225
diff changeset
    52
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3725
diff changeset
    53
REQUIRED_PACKAGES += codec/flac
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3725
diff changeset
    54
REQUIRED_PACKAGES += codec/ogg-vorbis
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3725
diff changeset
    55
REQUIRED_PACKAGES += database/sqlite-3
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3725
diff changeset
    56
REQUIRED_PACKAGES += system/library/math