components/desktop/libpng/Makefile
author Niveditha Rau <Niveditha.Rau@Oracle.COM>
Mon, 28 Mar 2016 11:56:48 -0700
changeset 5663 971bf404a5c9
parent 5623 76c8f872fb8f
child 5691 dbd727b03c07
permissions -rw-r--r--
22503897 problem in LIBRARY/LIBPNG 22563690 problem in LIBRARY/LIBPNG 22600751 problem in LIBRARY/LIBPNG 22633305 problem in LIBRARY/LIBPNG 23003367 update libpng to 1.4.19
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5622
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     1
#
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     3
#
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     7
#
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    12
#
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    18
#
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    20
#
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    21
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    22
#
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    23
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    24
#
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    25
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    26
COMPILER =		gcc
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    27
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    28
include ../../../make-rules/shared-macros.mk
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    29
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_NAME=		libpng
5663
971bf404a5c9 22503897 problem in LIBRARY/LIBPNG
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 5623
diff changeset
    31
COMPONENT_VERSION=	1.4.19
5622
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_PROJECT_URL=	http://www.libpng.org/
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    35
COMPONENT_ARCHIVE_HASH=	\
5663
971bf404a5c9 22503897 problem in LIBRARY/LIBPNG
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 5623
diff changeset
    36
	sha256:b73b7f0aec1f4d89fb6a587d4174dede493af8a3c04bb6eb87b0d10a8623bd7f
971bf404a5c9 22503897 problem in LIBRARY/LIBPNG
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 5623
diff changeset
    37
COMPONENT_ARCHIVE_URL=	https://sourceforge.net/projects/libpng/files/libpng14/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
5622
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    38
COMPONENT_BUGDB=	library/libpng
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    39
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    40
COMPONENT_VERSION_1 =   1.2.49
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    41
COMPONENT_SRC_1 =       $(COMPONENT_NAME)-$(COMPONENT_VERSION_1)
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    42
COMPONENT_ARCHIVE_1 =   $(COMPONENT_SRC_1).tar.gz
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    43
COMPONENT_ARCHIVE_HASH_1 = \
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    44
    sha256:f906778030f5dc7930844b9d67ddf4f2809f7407784c4eba7e8d6e0db9f61671
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    45
COMPONENT_ARCHIVE_URL_1= https://sourceforge.net/projects/libpng/files/libpng12/older-releases/1.2.49/$(COMPONENT_ARCHIVE_1)
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    46
SOURCE_DIR_1 =          $(COMPONENT_DIR)/$(COMPONENT_SRC_1)
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    47
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    48
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    49
COMPONENT_VERSION_2 =   1.0.59
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    50
COMPONENT_SRC_2 =       $(COMPONENT_NAME)-$(COMPONENT_VERSION_2)
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    51
COMPONENT_ARCHIVE_2 =   $(COMPONENT_SRC_2).tar.gz
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    52
COMPONENT_ARCHIVE_HASH_2 = \
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    53
    sha256:33e0d3ac3b7c48450acd298e198d243e0d5400e2436d6eec67f2a283cd82e7c4
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    54
COMPONENT_ARCHIVE_URL_2= https://sourceforge.net/projects/libpng/files/libpng10/older-releases/1.0.59/$(COMPONENT_ARCHIVE_2)
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    55
SOURCE_DIR_2 =          $(COMPONENT_DIR)/$(COMPONENT_SRC_2)
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    56
5663
971bf404a5c9 22503897 problem in LIBRARY/LIBPNG
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 5623
diff changeset
    57
TPNO=		27311
5622
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    58
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    59
include $(WS_MAKE_RULES)/prep.mk
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    60
include $(WS_MAKE_RULES)/configure.mk
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    61
include $(WS_MAKE_RULES)/ips.mk
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    62
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    63
LDFLAGS +=	$(CC_BITS)
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    64
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    65
CONFIGURE_OPTIONS +=	--with-esd-prefix=$(PROTOUSRDIR)
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    66
CONFIGURE_OPTIONS +=	LDFLAGS=$(LDFLAGS)
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    67
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    68
# ------------------------ libpng10 ----------------------------
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    69
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    70
# Macros to configure, build, and install the libpng10 files.
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    71
BUILD_PNG10_DIR_32 = $(COMPONENT_DIR)/build/$(COMPONENT_VERSION_2)-$(MACH32)
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    72
BUILD_PNG10_DIR_64 = $(COMPONENT_DIR)/build/$(COMPONENT_VERSION_2)-$(MACH64)
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    73
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    74
$(BUILD_PNG10_DIR_32)/.configured: CONFIGURE_SCRIPT = $(SOURCE_DIR_2)/configure
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    75
$(BUILD_PNG10_DIR_64)/.configured: CONFIGURE_SCRIPT = $(SOURCE_DIR_2)/configure
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    76
$(BUILD_PNG10_DIR_32)/.configured: BITS=32
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    77
$(BUILD_PNG10_DIR_64)/.configured: BITS=64
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    78
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    79
BUILD_32 += $(BUILD_PNG10_DIR_32)/.built
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    80
BUILD_64 += $(BUILD_PNG10_DIR_64)/.built
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    81
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    82
INSTALL_32 += $(BUILD_PNG10_DIR_32)/.installed
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    83
INSTALL_64 += $(BUILD_PNG10_DIR_64)/.installed
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    84
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    85
$(BUILD_DIR_32)/.installed:     $(BUILD_PNG10_DIR_32)/.installed
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    86
$(BUILD_DIR_64)/.installed:     $(BUILD_PNG10_DIR_64)/.installed
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    87
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    88
# ------------------------ libpng12 ----------------------------
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    89
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    90
# Macros to configure, build, and install the libpng12 files.
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    91
BUILD_PNG12_DIR_32 = $(COMPONENT_DIR)/build/$(COMPONENT_VERSION_1)-$(MACH32)
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    92
BUILD_PNG12_DIR_64 = $(COMPONENT_DIR)/build/$(COMPONENT_VERSION_1)-$(MACH64)
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    93
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    94
$(BUILD_PNG12_DIR_32)/.configured: CONFIGURE_SCRIPT = $(SOURCE_DIR_1)/configure
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    95
$(BUILD_PNG12_DIR_64)/.configured: CONFIGURE_SCRIPT = $(SOURCE_DIR_1)/configure
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    96
$(BUILD_PNG12_DIR_32)/.configured: BITS=32
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    97
$(BUILD_PNG12_DIR_64)/.configured: BITS=64
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    98
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    99
BUILD_32 += $(BUILD_PNG12_DIR_32)/.built
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   100
BUILD_64 += $(BUILD_PNG12_DIR_64)/.built
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   101
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   102
INSTALL_32 += $(BUILD_PNG12_DIR_32)/.installed
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   103
INSTALL_64 += $(BUILD_PNG12_DIR_64)/.installed
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   104
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   105
$(BUILD_DIR_32)/.installed:     $(BUILD_PNG12_DIR_32)/.installed
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   106
$(BUILD_DIR_64)/.installed:     $(BUILD_PNG12_DIR_64)/.installed
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   107
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   108
# -----------------------------------------------------------------
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   109
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   110
CLEAN_PATHS +=	$(SOURCE_DIR_1)
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   111
CLEAN_PATHS +=	$(SOURCE_DIR_2)
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   112
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   113
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   114
COMPONENT_TEST_ARGS = -k -i
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   115
COMPONENT_TEST_TRANSFORMS += \
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   116
        '-n ' \
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   117
        '-e "/Pass /p" ' \
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   118
        '-e "/TOTAL:/p" ' \
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   119
        '-e "/Filter/p" ' \
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   120
        '-e "/PASS/p" ' \
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   121
        '-e "/ERROR:/p" '
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   122
5663
971bf404a5c9 22503897 problem in LIBRARY/LIBPNG
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 5623
diff changeset
   123
# for pngtest to run
971bf404a5c9 22503897 problem in LIBRARY/LIBPNG
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 5623
diff changeset
   124
COMPONENT_TEST_ENV +=   libtool_install_magic='%%%MAGIC variable%%%'
971bf404a5c9 22503897 problem in LIBRARY/LIBPNG
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 5623
diff changeset
   125
COMPONENT_TEST_ENV +=   libtool_execute_magic='%%%MAGIC variable%%%'
5622
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   126
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   127
ASLR_MODE =	$(ASLR_ENABLE)
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   128
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   129
configure:	$(CONFIGURE_32_and_64)
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   130
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   131
build:          $(BUILD_32_and_64)
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   132
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   133
install:        $(INSTALL_32_and_64)
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   134
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   135
test:           $(TEST_32_and_64)
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   136
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   137
system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   138
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   139
REQUIRED_PACKAGES += library/zlib
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   140
REQUIRED_PACKAGES += shell/ksh93
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   141
REQUIRED_PACKAGES += system/library
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   142
REQUIRED_PACKAGES += system/library/math