Makefile revision 5680
5645e0c82a55b05abb975bd91b9566823dc5efb0Evan Hunt#
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews# CDDL HEADER START
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews#
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews# The contents of this file are subject to the terms of the
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews# Common Development and Distribution License (the "License").
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews# You may not use this file except in compliance with the License.
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews#
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews# or http://www.opensolaris.org/os/licensing.
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews# See the License for the specific language governing permissions
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews# and limitations under the License.
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews#
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7b4b6f361b2fb2291c2019b377a9c0c8e80cfd6bMark Andrews# If applicable, add the following below this CDDL HEADER, with the
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon Schryver#
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon Schryver# CDDL HEADER END
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon Schryver#
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon Schryver
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon Schryver#
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews#
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon SchryverBUILD_BITS= 64
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon Schryverinclude ../../make-rules/shared-macros.mk
475b1ed9cced1f92ce34bc2e59b3065dae48f366Mark Andrews
87708bde16713bc02ff2598f4a82f98c699a2f2dMark AndrewsCOMPONENT_NAME= pbzip2
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon SchryverCOMPONENT_VERSION= 1.1.13
475b1ed9cced1f92ce34bc2e59b3065dae48f366Mark AndrewsCOMPONENT_PROJECT_URL= http://compression.ca/pbzip2/
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon SchryverCOMPONENT_ARCHIVE_HASH= \
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon Schryver sha256:8fd13eaaa266f7ee91f85c1ea97c86d9c9cc985969db9059cdebcb1e1b7bdbe6
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon SchryverCOMPONENT_ARCHIVE_URL= https://launchpad.net/pbzip2/1.1/$(COMPONENT_VERSION)/+download/$(COMPONENT_ARCHIVE)
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon Schryver
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon SchryverTPNO= 27242
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon Schryver
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon SchryverBUILD_STYLE= justmake
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon SchryverTEST_TARGET= $(NO_TESTS)
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon Schryverinclude $(WS_MAKE_RULES)/common.mk
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon Schryver
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon Schryver# pbzip2 Solaris Sun Studio build uses a non-standard Makefile
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon SchryverCOMPONENT_BUILD_ARGS += CC="$(CXX)"
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon SchryverCOMPONENT_BUILD_ARGS += -f Makefile.solaris.sunstudio
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon SchryverCOMPONENT_INSTALL_ARGS += -f Makefile.solaris.sunstudio
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon SchryverCOMPONENT_INSTALL_ARGS += PREFIX=$(PROTOUSRDIR)
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon Schryver
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon SchryverREQUIRED_PACKAGES += compress/bzip2
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon SchryverREQUIRED_PACKAGES += system/library/c++-runtime
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon SchryverREQUIRED_PACKAGES += system/library/math
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon Schryver