Makefile revision 3661
5233N/A#
5233N/A# CDDL HEADER START
5233N/A#
5233N/A# The contents of this file are subject to the terms of the
5233N/A# Common Development and Distribution License (the "License").
5233N/A# You may not use this file except in compliance with the License.
5233N/A#
5233N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5233N/A# or http://www.opensolaris.org/os/licensing.
5233N/A# See the License for the specific language governing permissions
5233N/A# and limitations under the License.
5233N/A#
5233N/A# When distributing Covered Code, include this CDDL HEADER in each
5233N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5233N/A# If applicable, add the following below this CDDL HEADER, with the
5233N/A# fields enclosed by brackets "[]" replaced with your own identifying
5233N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5233N/A#
5233N/A# CDDL HEADER END
5233N/A#
5233N/A# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
5233N/A#
5233N/Ainclude ../../make-rules/shared-macros.mk
5233N/A
5233N/ACOMPONENT_NAME= gd2
5233N/ACOMPONENT_VERSION= 2.0.35
5233N/ACOMPONENT_SRC_NAME= gd
5233N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
5233N/ACOMPONENT_PROJECT_URL= http://www.libgd.org/
5233N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
5233N/A# this is the hash of the payload because it appears to be re-compressed
5233N/A# periodically causing it to have a new hash value.
5233N/ACOMPONENT_ARCHIVE_HASH= \
5233N/A sha256:44bd0819b64a2341fb800abbe99f23c7f6388327c71e1f5bd5ed7874a8cc0e49
5233N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)releases/$(COMPONENT_ARCHIVE)
5233N/ACOMPONENT_BUGDB= library/gd2
5233N/A
5233N/ATPNO= 8786
5233N/A
5233N/Ainclude ../../make-rules/prep.mk
5233N/Ainclude ../../make-rules/configure.mk
5233N/Ainclude ../../make-rules/ips.mk
5233N/Ainclude ../../make-rules/lint-libraries.mk
5233N/A
5233N/APKG_CONFIG_PATH_32 = /usr/lib/pkgconfig
5233N/APKG_CONFIG_PATH_64 = /usr/lib/$(MACH64)/pkgconfig
5233N/A
5233N/APATCH_LEVEL = 0
5233N/A
5233N/ACFLAGS += $(CPP_LARGEFILES)
5233N/ACPPFLAGS += $(CPP_LARGEFILES)
5233N/A
5233N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
5233N/ACONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)"
5233N/ACONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH_$(BITS))"
5233N/A
5233N/ACONFIGURE_OPTIONS += --includedir=$(CONFIGURE_INCLUDEDIR)/gd2
5233N/ACONFIGURE_OPTIONS += --disable-static
5233N/ACONFIGURE_OPTIONS += --disable-rpath
5233N/ACONFIGURE_OPTIONS += --with-x
5233N/ACONFIGURE_OPTIONS += --with-pic
5233N/A
5233N/ACOMPONENT_PREP_ACTION = (cd $(@D) ; autoreconf -if)
5233N/A
5233N/Abuild: $(BUILD_32_and_64)
5233N/A
5233N/Ainstall: $(INSTALL_32_and_64)
5233N/A
5233N/Atest: $(NO_TESTS)
5233N/A @echo "There is no test harness for libgd2."
5233N/A @echo "Test programs must be run manually and their output"
@echo "should be visually inspected."
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk