Makefile revision 383
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong Wang# CDDL HEADER START
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong Wang# The contents of this file are subject to the terms of the
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong Wang# Common Development and Distribution License (the "License").
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong Wang# You may not use this file except in compliance with the License.
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong Wang# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong Wang# See the License for the specific language governing permissions
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong Wang# and limitations under the License.
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong Wang# When distributing Covered Code, include this CDDL HEADER in each
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong Wang# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong Wang# If applicable, add the following below this CDDL HEADER, with the
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong Wang# fields enclosed by brackets "[]" replaced with your own identifying
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong Wang# information: Portions Copyright [yyyy] [name of copyright owner]
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong Wang# CDDL HEADER END
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong Wang# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong Wang# The archive untars to directory without the '-2' suffix, so
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong Wang# COMPONENT_SUBVERSION had to be introduced
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong WangCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong WangCOMPONENT_ARCHIVE= $(COMPONENT_SRC)-$(COMPONENT_SUBVERSION).tar.gz
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong WangCOMPONENT_ARCHIVE_HASH= sha1:516bb273afb007fb08f15c2747862d819a94d391
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong WangCOMPONENT_ARCHIVE_URL= http://image_magick.veidrodis.com/image_magick/$(COMPONENT_ARCHIVE)
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong Wang# IPS_COMPONENT_VERSION is by default set to $(COMPONENT_VERSION) but in
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong Wang# this case we need to replace the '-' by '.'.
2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41Zhong WangIPS_COMPONENT_VERSION= $(COMPONENT_VERSION).$(COMPONENT_SUBVERSION)
# The archive contains pre-generated magick-config.h header, which is later on
test: $(NO_TESTS)