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