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