Makefile revision 2899
90N/A#
90N/A# CDDL HEADER START
90N/A#
90N/A# The contents of this file are subject to the terms of the
90N/A# Common Development and Distribution License (the "License").
90N/A# You may not use this file except in compliance with the License.
90N/A#
90N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90N/A# or http://www.opensolaris.org/os/licensing.
90N/A# See the License for the specific language governing permissions
90N/A# and limitations under the License.
90N/A#
90N/A# When distributing Covered Code, include this CDDL HEADER in each
90N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
90N/A# If applicable, add the following below this CDDL HEADER, with the
90N/A# fields enclosed by brackets "[]" replaced with your own identifying
90N/A# information: Portions Copyright [yyyy] [name of copyright owner]
90N/A#
90N/A# CDDL HEADER END
90N/A#
3996N/A# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
90N/A#
90N/Ainclude ../../make-rules/shared-macros.mk
90N/A
90N/ACOMPONENT_NAME= pixz
4486N/ACOMPONENT_VERSION= 1.0
618N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
90N/ACOMPONENT_PROJECT_URL= http://github.com/vasi/pixz/
90N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
4486N/A sha256:912c60de88f7eca2e1c6fe13eec5371f723018dca933796c47cd50bf6a349fc9
618N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)archive/$(COMPONENT_ARCHIVE)
1273N/ACOMPONENT_BUGDB= utility/pixz
90N/A
4486N/ATPNO= 11623
4486N/A
4486N/Ainclude ../../make-rules/prep.mk
4486N/Ainclude ../../make-rules/justmake.mk
3661N/Ainclude ../../make-rules/ips.mk
3996N/A
3996N/APKG_PROTO_DIRS += $(BUILD_DIR_64)
3996N/APKG_PROTO_DIRS += $(COMPONENT_DIR)/files
90N/A
2324N/A# Userland default includes -mt which links with libthread which we don't need.
2324N/Astudio_MT =
2852N/A
2852N/A# pixz's Makefile hard-codes some gcc-only flags in MYCFLAGS and MYLDFLAGS,
422N/A# then appends CFLAGS & LDFLAGS to each. Here we include their preset values
2322N/A# minus the gcc-only parts, so we can build with Studio.
2322N/ACOMPONENT_BUILD_ARGS += CC="$(CC)"
2322N/ACOMPONENT_BUILD_ARGS += MYCFLAGS='$(patsubst %,-I%/include,$(LIBPREFIX)) $(OPT)'
2322N/ACOMPONENT_BUILD_ARGS += MYLDFLAGS='$(patsubst %,-L%/lib,$(LIBPREFIX)) $(OPT)'
90N/ACOMPONENT_BUILD_ARGS += CFLAGS="$(CFLAGS)"
90N/ACOMPONENT_BUILD_ARGS += LDFLAGS="$(CC_BITS)"
90N/A
90N/AASLR_MODE = $(ASLR_ENABLE)
90N/A
2324N/A# common targets
2324N/Abuild: $(BUILD_64)
90N/A
2324N/Ainstall: $(BUILD_64)
90N/A
2324N/Atest: $(NO_TESTS)
90N/A
1222N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
1222N/A
1222N/Ainclude ../../make-rules/depend.mk
2324N/A