components/desktop/libvorbis/Makefile
author Jay Cotton <Jay.Cotton@Oracle.COM>
Tue, 06 Sep 2016 18:35:00 -0700
changeset 6740 b9a930b724d2
child 7077 85015b85a5e9
permissions -rw-r--r--
23245483 Move libvorbis 1.3.3 to Userland PSARC/2010/143 GNOME 2.30 PSARC/2016/514 ogg-vorbis package split
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6740
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
     1
#
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
     3
#
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
     7
#
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    12
#
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    18
#
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    20
#
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    21
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    22
#
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    23
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    24
BUILD_BITS= 		32_and_64
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    25
COMPILER=		gcc
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    26
include ../../../make-rules/shared-macros.mk
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    27
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    28
COMPONENT_NAME=		libvorbis
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    29
COMPONENT_VERSION=	1.3.3
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_PROJECT_URL=	http://downloads.xiph.org/releases/vorbis/
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_HASH= \
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    32
	sha256:6d747efe7ac4ad249bf711527882cef79fb61d9194c45b5ca5498aa60f290762
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)/$(COMPONENT_ARCHIVE)
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_BUGDB=	gnome/multimedia
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    35
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    36
TPNO=			9575
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    37
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    38
# gmake check works and all test pass but because of hard-coded paths
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    39
# check with results-all.master fails
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    40
TEST_TARGET = $(SKIP_TEST)
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    41
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    42
include $(WS_MAKE_RULES)/common.mk
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    43
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    44
CONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)"
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    45
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    46
# Replace the following with REQUIRED_PACKAGES += codec/libogg when 
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    47
# the build server is updated
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    48
# The dependency isn't installed, so add it manually since pkgdepend
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    49
# can't resolve them yet: 15708323
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    50
DEPENDED += $(WS_TOP)/components/desktop/libogg/build/manifest-$(MACH)-libogg.depend
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    51
REQUIRED_PACKAGES += $(shell $(GSED) -n 's/REQUIRED_PACKAGES +=//p' ../libogg/Makefile)
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    52
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    53
REQUIRED_PACKAGES += developer/documentation-tool/doxygen
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    54
REQUIRED_PACKAGES += system/library/math