5936N/A#
5936N/A# CDDL HEADER START
5936N/A#
5936N/A# The contents of this file are subject to the terms of the
5936N/A# Common Development and Distribution License (the "License").
5936N/A# You may not use this file except in compliance with the License.
5936N/A#
5936N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5936N/A# or http://www.opensolaris.org/os/licensing.
5936N/A# See the License for the specific language governing permissions
5936N/A# and limitations under the License.
5936N/A#
5936N/A# When distributing Covered Code, include this CDDL HEADER in each
5936N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5936N/A# If applicable, add the following below this CDDL HEADER, with the
5936N/A# fields enclosed by brackets "[]" replaced with your own identifying
5936N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5936N/A#
5936N/A# CDDL HEADER END
5936N/A#
5936N/A
5936N/A#
5936N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
5936N/A#
5936N/A
5936N/ABUILD_BITS= 64_and_32
5936N/ACOMPILER= gcc
5936N/Ainclude ../../../make-rules/shared-macros.mk
5936N/A
5936N/ACOMPONENT_NAME= libwebp
5936N/ACOMPONENT_VERSION= 0.4.3
5936N/ACOMPONENT_PROJECT_URL= http://www.webmproject.org/
5936N/ACOMPONENT_ARCHIVE_HASH= \
5936N/A sha256:efbe0d58fda936f2ed99d0b837ed7087d064d6838931f282c4618d2a3f7390c4
5936N/ACOMPONENT_ARCHIVE_URL= http://downloads.webmproject.org/releases/webp/$(COMPONENT_ARCHIVE)
5936N/ACOMPONENT_BUGDB= library/libwebp
5936N/A
5936N/ATPNO= 25769
5936N/A
5936N/A# Required for 64-bit builds.
5936N/ALDFLAGS += $(CC_BITS)
5936N/A
5936N/ATEST_TARGET= $(NO_TESTS)
5936N/A
5936N/Ainclude $(WS_MAKE_RULES)/common.mk
5936N/A
5936N/A# needs libgif, so disabling for now
5936N/ACONFIGURE_OPTIONS += --disable-gif
5936N/ACONFIGURE_OPTIONS += --disable-static
5936N/ACONFIGURE_OPTIONS += --enable-gl
5936N/ACONFIGURE_OPTIONS += --enable-threading
5936N/ACONFIGURE_OPTIONS += --enable-png
5936N/ACONFIGURE_OPTIONS += --enable-jpeg
5936N/ACONFIGURE_OPTIONS += --enable-tiff
5936N/ACONFIGURE_OPTIONS += --enable-everything
5936N/ACONFIGURE_OPTIONS += --enable-shared
5936N/ACONFIGURE_OPTIONS += --with-pic
5936N/A
5936N/AREQUIRED_PACKAGES += image/library/libjpeg
5936N/AREQUIRED_PACKAGES += image/library/libpng
5936N/AREQUIRED_PACKAGES += image/library/libtiff
5936N/AREQUIRED_PACKAGES += service/opengl/ogl-select
5936N/AREQUIRED_PACKAGES += system/library/math
5936N/AREQUIRED_PACKAGES += x11/library/freeglut
5936N/AREQUIRED_PACKAGES += x11/library/mesa