Makefile revision 135
c343be283b7152554bac0c02493a4e1759c163f7Kay Sievers# CDDL HEADER START
c343be283b7152554bac0c02493a4e1759c163f7Kay Sievers# The contents of this file are subject to the terms of the
b3ae710c251d0ce5cf2cef63208e325497b5e323Zbigniew Jędrzejewski-Szmek# Common Development and Distribution License (the "License").
b3ae710c251d0ce5cf2cef63208e325497b5e323Zbigniew Jędrzejewski-Szmek# You may not use this file except in compliance with the License.
f957632b960a0a42999b38ded7089fa602b41745Kay Sievers# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f957632b960a0a42999b38ded7089fa602b41745Kay Sievers# See the License for the specific language governing permissions
a40593a0d0d740efa387e35411e1e456a6c5aba7Lennart Poettering# and limitations under the License.
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering# When distributing Covered Code, include this CDDL HEADER in each
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
466784c8710e5cb0e0b86a16506d992d7ec5b619Kay Sievers# If applicable, add the following below this CDDL HEADER, with the
55d32caf94d8df547ca763be52b0c35bb6388606Lennart Poettering# fields enclosed by brackets "[]" replaced with your own identifying
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering# information: Portions Copyright [yyyy] [name of copyright owner]
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering# CDDL HEADER END
81429136905a6204875174b60a179333b7f3c9e4Kay Sievers# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
ce4a52a500965ae6c2f95787f5346112ed56bbaeLennart PoetteringCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
ce4a52a500965ae6c2f95787f5346112ed56bbaeLennart PoetteringCOMPONENT_PROJECT_URL= http://www.libgd.org/
ce4a52a500965ae6c2f95787f5346112ed56bbaeLennart PoetteringCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2834ffe78d7fd8be118429aa1449ac72641638c2Lennart Poettering# this is the hash of the payload because it appears to be re-compressed
2834ffe78d7fd8be118429aa1449ac72641638c2Lennart Poettering# periodically causing it to have a new hash value.
2834ffe78d7fd8be118429aa1449ac72641638c2Lennart PoetteringCOMPONENT_ARCHIVE_HASH= sha1:eaa077067945956930f6d9258e130f1e043d9b39
2834ffe78d7fd8be118429aa1449ac72641638c2Lennart PoetteringCOMPONENT_ARCHIVE_URL= http://www.libgd.org/releases/$(COMPONENT_ARCHIVE)
3c779fa59d1825d7db2a9516669d34ded7916913Lennart PoetteringPKG_CONFIG_PATH_64 = /usr/lib/$(MACH64)/pkgconfig
8891f695c71bd4c266d827c9aaedbbbbaf79d3ebLennart PoetteringCONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH_$(BITS))"
8891f695c71bd4c266d827c9aaedbbbbaf79d3ebLennart PoetteringCONFIGURE_OPTIONS += --includedir=$(CONFIGURE_INCLUDEDIR)/gd2
7348b3adb324614132cf376f478e883bd7de28f1Lennart PoetteringCOMPONENT_PREP_ACTION = (cd $(@D) ; autoconf)
f55b9bdfae46e3683c74c30f1d063642a41368a5Lennart Poettering (cd $(@D); $(LINT) -nsvx $(CC_BITS) -o $(LIBNAME) -I$(@D) \
e107ed185ef08945102834234a05ec51bb438685Lennart Poettering $(COMPONENT_DIR)/llib-l$(LIBNAME) > $(LINTOUT) 2>&1)
e107ed185ef08945102834234a05ec51bb438685Lennart Poettering $(PROTO_DIR)/$(CONFIGURE_LIBDIR.$(BITS)))
e30fa16e27cbd48f960113a1d72d9a15c3b2d67bLennart PoetteringPROTOUSRSHAREDOCDIR = $(PROTOUSRSHAREDIR)/doc/gd2/html
b107b705cc97d3033e37c44229deb37b5aa31df5Lennart Poetteringinclude ../../make-rules/shared-targets.mk
769918ecd30c0f7ee6e87b9aa6226d956bd2f530Lennart Poettering @echo "There is no test harness for libgd2."
769918ecd30c0f7ee6e87b9aa6226d956bd2f530Lennart Poettering @echo "Test programs must be run manually and their output"
6a3f892a23db71544d0439355f96c44350dafa8fLennart Poettering @echo "should be visually inspected."