author | Niveditha Rau <Niveditha.Rau@Oracle.COM> |
Fri, 06 May 2016 13:33:53 -0700 | |
changeset 5938 | 71aca4f1b60a |
child 6552 | 402379bc1b60 |
permissions | -rw-r--r-- |
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 |
# |
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
23 |
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
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 |
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
37 |
|
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
38 |
TPNO= 25769 |
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
39 |
|
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
40 |
# Required for 64-bit builds. |
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
41 |
LDFLAGS += $(CC_BITS) |
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
42 |
|
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
43 |
ASLR_MODE = $(ASLR_ENABLE) |
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
44 |
|
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
45 |
TEST_TARGET= $(NO_TESTS) |
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
46 |
|
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
47 |
include $(WS_MAKE_RULES)/common.mk |
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
48 |
|
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
49 |
# needs libgif, so disabling for now |
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
50 |
CONFIGURE_OPTIONS += --disable-gif |
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
51 |
CONFIGURE_OPTIONS += --disable-static |
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
52 |
CONFIGURE_OPTIONS += --enable-gl |
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
53 |
CONFIGURE_OPTIONS += --enable-threading |
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
54 |
CONFIGURE_OPTIONS += --enable-png |
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
55 |
CONFIGURE_OPTIONS += --enable-jpeg |
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
56 |
CONFIGURE_OPTIONS += --enable-tiff |
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
57 |
CONFIGURE_OPTIONS += --enable-everything |
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
58 |
CONFIGURE_OPTIONS += --enable-shared |
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
59 |
CONFIGURE_OPTIONS += --with-pic |
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
60 |
|
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
61 |
REQUIRED_PACKAGES += image/library/libjpeg |
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
62 |
REQUIRED_PACKAGES += image/library/libpng |
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
63 |
REQUIRED_PACKAGES += image/library/libtiff |
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
64 |
REQUIRED_PACKAGES += service/opengl/ogl-select |
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
65 |
REQUIRED_PACKAGES += system/library/math |
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
66 |
REQUIRED_PACKAGES += x11/library/freeglut |
71aca4f1b60a
23215078 Deliver libwebp into Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
67 |
REQUIRED_PACKAGES += x11/library/mesa |