1581N/A#
1581N/A# CDDL HEADER START
1581N/A#
1581N/A# The contents of this file are subject to the terms of the
1581N/A# Common Development and Distribution License (the "License").
1581N/A# You may not use this file except in compliance with the License.
1581N/A#
1581N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1581N/A# or http://www.opensolaris.org/os/licensing.
1581N/A# See the License for the specific language governing permissions
1581N/A# and limitations under the License.
1581N/A#
1581N/A# When distributing Covered Code, include this CDDL HEADER in each
1581N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1581N/A# If applicable, add the following below this CDDL HEADER, with the
1581N/A# fields enclosed by brackets "[]" replaced with your own identifying
1581N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1581N/A#
1581N/A# CDDL HEADER END
1581N/A#
1581N/A
1581N/A#
3996N/A# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
1581N/A#
1581N/A
1581N/Ainclude ../../make-rules/shared-macros.mk
1581N/A
1581N/ACOMPONENT_NAME= pbzip2
1581N/ACOMPONENT_VERSION= 1.1.6
1581N/ACOMPONENT_PROJECT_URL= http://compression.ca/pbzip2/
1581N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1581N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
1581N/ACOMPONENT_ARCHIVE_HASH= \
1581N/A sha256:86bd6d58e5a6c13cf8c709620ebfe186fca423c2724225bb30431fa7a453aee2
1581N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE)
1581N/ACOMPONENT_BUGDB= utility/pbzip2
1581N/A
3661N/ATPNO= 11059
3661N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/justmake.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
1581N/A
1581N/A# pbzip2 Solaris Sun Studio build uses a non-standard Makefile
1581N/ACOMPONENT_BUILD_ARGS += CC="$(CXX)"
1581N/ACOMPONENT_BUILD_ARGS += -f Makefile.solaris.sunstudio
1581N/ACOMPONENT_INSTALL_ARGS += -f Makefile.solaris.sunstudio
1581N/ACOMPONENT_INSTALL_ARGS += PREFIX=$(PROTOUSRDIR)
1581N/A
1581N/A# common targets
1581N/Abuild: $(BUILD_64)
1581N/A
1581N/Ainstall: $(INSTALL_64)
1581N/A
1581N/Atest: $(NO_TESTS)
1581N/A
3996N/AREQUIRED_PACKAGES += compress/bzip2
3996N/AREQUIRED_PACKAGES += system/library
3996N/AREQUIRED_PACKAGES += system/library/c++-runtime
3996N/AREQUIRED_PACKAGES += system/library/math