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