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