Makefile revision 7076
6739N/A#
6739N/A# CDDL HEADER START
6739N/A#
6739N/A# The contents of this file are subject to the terms of the
6739N/A# Common Development and Distribution License (the "License").
6739N/A# You may not use this file except in compliance with the License.
6739N/A#
6739N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6739N/A# or http://www.opensolaris.org/os/licensing.
6739N/A# See the License for the specific language governing permissions
6739N/A# and limitations under the License.
6739N/A#
6739N/A# When distributing Covered Code, include this CDDL HEADER in each
6739N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6739N/A# If applicable, add the following below this CDDL HEADER, with the
6739N/A# fields enclosed by brackets "[]" replaced with your own identifying
6739N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6739N/A#
6739N/A# CDDL HEADER END
6739N/A#
6739N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
6739N/A#
6739N/A
6739N/ABUILD_BITS= 32_and_64
6739N/ACOMPILER= gcc
6739N/Ainclude ../../../make-rules/shared-macros.mk
6739N/A
6739N/ACOMPONENT_NAME= libtheora
6739N/ACOMPONENT_VERSION= 1.1.1
6739N/ACOMPONENT_PROJECT_URL= http://downloads.xiph.org/releases/theora/
6739N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
6739N/ACOMPONENT_ARCHIVE_HASH= \
6739N/A sha256:b6ae1ee2fa3d42ac489287d3ec34c5885730b1296f0801ae577a35193d3affbc
6739N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/$(COMPONENT_ARCHIVE)
6739N/ACOMPONENT_BUGDB= gnome/multimedia
6739N/A
6739N/ATPNO= 9578
6739N/A
7076N/A# Depends on libogg which is on the do-not-publish list.
7076N/Ainclude $(WS_MAKE_RULES)/no-evaluation.mk
7076N/A
6739N/Ainclude $(WS_MAKE_RULES)/common.mk
6739N/A
6739N/A# Assumes GNU versions of utilities in PATH (e.g. tail).
6739N/ACOMPONENT_BUILD_ENV += PATH="$(GNUBIN):$(PATH)"
6739N/A
6739N/ACONFIGURE_OPTIONS += --disable-static
6739N/A
6739N/A# for the tests
6739N/Aunexport SHELLOPTS
6739N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
6739N/ACOMPONENT_TEST_ARGS = -k -i
6739N/ACOMPONENT_TEST_TRANSFORMS += \
6739N/A '-n ' \
6739N/A '-e "/TOTAL:/p" ' \
6739N/A '-e "/SKIP:/p" ' \
6739N/A '-e "/PASS:/p" ' \
6739N/A '-e "/FAIL:/p" ' \
6739N/A '-e "/ERROR:/p" '
6739N/A
6739N/A
6739N/A# Replace the following with REQUIRED_PACKAGES += codec/libogg when
6739N/A# the build server is updated
6739N/A# The dependency isn't installed, so add it manually since pkgdepend
6739N/A# can't resolve them yet: 15708323
6739N/ADEPENDED += $(WS_TOP)/components/desktop/libogg/build/manifest-$(MACH)-libogg.depend
6739N/AREQUIRED_PACKAGES += $(shell $(GSED) -n 's/REQUIRED_PACKAGES +=//p' ../libogg/Makefile)
6739N/A
6739N/AREQUIRED_PACKAGES += developer/documentation-tool/doxygen
6739N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime