Makefile revision 3957
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill#
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill# CDDL HEADER START
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill#
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill# The contents of this file are subject to the terms of the
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill# Common Development and Distribution License (the "License").
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill# You may not use this file except in compliance with the License.
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill#
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill# or http://www.opensolaris.org/os/licensing.
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill# See the License for the specific language governing permissions
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill# and limitations under the License.
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill#
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill# When distributing Covered Code, include this CDDL HEADER in each
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill# If applicable, add the following below this CDDL HEADER, with the
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill# fields enclosed by brackets "[]" replaced with your own identifying
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill# information: Portions Copyright [yyyy] [name of copyright owner]
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill#
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill# CDDL HEADER END
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill#
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill#
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrillinclude ../../make-rules/shared-macros.mk
28e4da25922bdfc5cba7ab29f47de911bbd78009Matthew Ahrens
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan CantrillCOMPONENT_NAME= pigz
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan CantrillCOMPONENT_VERSION= 2.2.5
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan CantrillCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan CantrillCOMPONENT_PROJECT_URL= http://zlib.net/pigz/
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan CantrillCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan CantrillCOMPONENT_ARCHIVE_HASH= \
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill sha256:e37498cbf3a475d7ebe2519751188c29564bf8dd27ba68bd3c7fe1ac08792759
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan CantrillCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE)
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan CantrillCOMPONENT_BUGDB= utility/pigz
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan CantrillCOMPONENT_TEST_TARGETS= test
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan CantrillTPNO= 11152
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrillinclude $(WS_MAKE_RULES)/prep.mk
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrillinclude $(WS_MAKE_RULES)/justmake.mk
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrillinclude $(WS_MAKE_RULES)/ips.mk
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan CantrillPKG_PROTO_DIRS += $(BUILD_DIR_64)
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrillstudio_C99MODE= $(studio_C99_ENABLE)
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan CantrillCC += $(CC_BITS)
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan CantrillCOMPONENT_BUILD_ARGS += CC="$(CC)"
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan CantrillCOMPONENT_BUILD_ARGS += CFLAGS="$(CFLAGS) -DHAVE_PTHREAD_SETNAME_NP"
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan CantrillASLR_MODE = $(ASLR_ENABLE)
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill# common targets
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrillbuild: $(BUILD_64)
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrillinstall: $(BUILD_64)
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrilltest: $(TEST_64)
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan CantrillREQUIRED_PACKAGES += library/zlib
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan CantrillREQUIRED_PACKAGES += system/library
c9a6ea2e938727c95af7108c5e00eee4c890c7aeBryan Cantrill