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