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