components/desktop/libwebp/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Thu, 23 Feb 2017 13:46:52 -0800
changeset 7687 1093e2a9adbd
parent 6552 402379bc1b60
permissions -rw-r--r--
25590368 Userland components should include "upstream" release tracking information
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5938
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     1
#
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     3
#
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     7
#
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    12
#
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    18
#
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    20
#
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    21
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    22
#
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 6552
diff changeset
    23
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
5938
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    24
#
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    25
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    26
BUILD_BITS= 64_and_32
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    27
COMPILER= gcc
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    28
include ../../../make-rules/shared-macros.mk
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    29
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_NAME=		libwebp
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    31
COMPONENT_VERSION=	0.4.3
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_PROJECT_URL=	http://www.webmproject.org/
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_HASH= \
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    34
	sha256:efbe0d58fda936f2ed99d0b837ed7087d064d6838931f282c4618d2a3f7390c4
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    35
COMPONENT_ARCHIVE_URL=	http://downloads.webmproject.org/releases/webp/$(COMPONENT_ARCHIVE)
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    36
COMPONENT_BUGDB=	library/libwebp
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 6552
diff changeset
    37
COMPONENT_ANITYA_ID=	1761
5938
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    38
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    39
TPNO=			25769
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    40
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    41
# Required for 64-bit builds.
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    42
LDFLAGS += $(CC_BITS)
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    43
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    44
TEST_TARGET= $(NO_TESTS)
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    45
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    46
include $(WS_MAKE_RULES)/common.mk
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    47
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    48
# needs libgif, so disabling for now
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    49
CONFIGURE_OPTIONS += --disable-gif
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    50
CONFIGURE_OPTIONS += --disable-static
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    51
CONFIGURE_OPTIONS += --enable-gl
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    52
CONFIGURE_OPTIONS += --enable-threading
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    53
CONFIGURE_OPTIONS += --enable-png
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    54
CONFIGURE_OPTIONS += --enable-jpeg
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    55
CONFIGURE_OPTIONS += --enable-tiff
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    56
CONFIGURE_OPTIONS += --enable-everything
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    57
CONFIGURE_OPTIONS += --enable-shared
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    58
CONFIGURE_OPTIONS += --with-pic
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    59
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    60
REQUIRED_PACKAGES += image/library/libjpeg
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    61
REQUIRED_PACKAGES += image/library/libpng
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    62
REQUIRED_PACKAGES += image/library/libtiff
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    63
REQUIRED_PACKAGES += service/opengl/ogl-select
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    64
REQUIRED_PACKAGES += system/library/math
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    65
REQUIRED_PACKAGES += x11/library/freeglut
71aca4f1b60a 23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    66
REQUIRED_PACKAGES += x11/library/mesa