Makefile revision 7292
b4a00883f358625923365ca1560c96edec172a52sf#
b4a00883f358625923365ca1560c96edec172a52sf# CDDL HEADER START
b4a00883f358625923365ca1560c96edec172a52sf#
b4a00883f358625923365ca1560c96edec172a52sf# The contents of this file are subject to the terms of the
b4a00883f358625923365ca1560c96edec172a52sf# Common Development and Distribution License (the "License").
b4a00883f358625923365ca1560c96edec172a52sf# You may not use this file except in compliance with the License.
b4a00883f358625923365ca1560c96edec172a52sf#
b4a00883f358625923365ca1560c96edec172a52sf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b4a00883f358625923365ca1560c96edec172a52sf# or http://www.opensolaris.org/os/licensing.
b4a00883f358625923365ca1560c96edec172a52sf# See the License for the specific language governing permissions
0662ed52e814f8f08ef0e09956413a792584eddffuankg# and limitations under the License.
b4a00883f358625923365ca1560c96edec172a52sf#
b4a00883f358625923365ca1560c96edec172a52sf# When distributing Covered Code, include this CDDL HEADER in each
b4a00883f358625923365ca1560c96edec172a52sf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b4a00883f358625923365ca1560c96edec172a52sf# If applicable, add the following below this CDDL HEADER, with the
b4a00883f358625923365ca1560c96edec172a52sf# fields enclosed by brackets "[]" replaced with your own identifying
b4a00883f358625923365ca1560c96edec172a52sf# information: Portions Copyright [yyyy] [name of copyright owner]
b4a00883f358625923365ca1560c96edec172a52sf#
b4a00883f358625923365ca1560c96edec172a52sf# CDDL HEADER END
b4a00883f358625923365ca1560c96edec172a52sf#
b4a00883f358625923365ca1560c96edec172a52sf
b4a00883f358625923365ca1560c96edec172a52sf#
b4a00883f358625923365ca1560c96edec172a52sf# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
b4a00883f358625923365ca1560c96edec172a52sf#
b4a00883f358625923365ca1560c96edec172a52sfBUILD_BITS= 64
b4a00883f358625923365ca1560c96edec172a52sfinclude ../../make-rules/shared-macros.mk
b4a00883f358625923365ca1560c96edec172a52sf
b4a00883f358625923365ca1560c96edec172a52sfCOMPONENT_NAME= pbzip2
b4a00883f358625923365ca1560c96edec172a52sfCOMPONENT_VERSION= 1.1.13
b4a00883f358625923365ca1560c96edec172a52sfCOMPONENT_PROJECT_URL= http://compression.ca/pbzip2/
b4a00883f358625923365ca1560c96edec172a52sfCOMPONENT_ARCHIVE_HASH= \
b4a00883f358625923365ca1560c96edec172a52sf sha256:8fd13eaaa266f7ee91f85c1ea97c86d9c9cc985969db9059cdebcb1e1b7bdbe6
b4a00883f358625923365ca1560c96edec172a52sfCOMPONENT_ARCHIVE_URL= https://launchpad.net/pbzip2/1.1/$(COMPONENT_VERSION)/+download/$(COMPONENT_ARCHIVE)
b4a00883f358625923365ca1560c96edec172a52sf
b4a00883f358625923365ca1560c96edec172a52sfTPNO= 27242
b4a00883f358625923365ca1560c96edec172a52sf
b4a00883f358625923365ca1560c96edec172a52sfBUILD_STYLE= justmake
b4a00883f358625923365ca1560c96edec172a52sfTEST_TARGET= $(NO_TESTS)
b4a00883f358625923365ca1560c96edec172a52sfinclude $(WS_MAKE_RULES)/common.mk
b4a00883f358625923365ca1560c96edec172a52sf
b4a00883f358625923365ca1560c96edec172a52sfCXX += -std=sun03
b4a00883f358625923365ca1560c96edec172a52sf
b4a00883f358625923365ca1560c96edec172a52sf# pbzip2 Solaris Sun Studio build uses a non-standard Makefile
b4a00883f358625923365ca1560c96edec172a52sfCOMPONENT_BUILD_ARGS += CC="$(CXX)"
b4a00883f358625923365ca1560c96edec172a52sfCOMPONENT_BUILD_ARGS += -f Makefile.solaris.sunstudio
b4a00883f358625923365ca1560c96edec172a52sfCOMPONENT_INSTALL_ARGS += -f Makefile.solaris.sunstudio
b4a00883f358625923365ca1560c96edec172a52sfCOMPONENT_INSTALL_ARGS += PREFIX=$(PROTOUSRDIR)
b4a00883f358625923365ca1560c96edec172a52sf
b4a00883f358625923365ca1560c96edec172a52sfREQUIRED_PACKAGES += compress/bzip2
b4a00883f358625923365ca1560c96edec172a52sfREQUIRED_PACKAGES += system/library/c++-runtime
b4a00883f358625923365ca1560c96edec172a52sfREQUIRED_PACKAGES += system/library/math
b4a00883f358625923365ca1560c96edec172a52sf