Makefile revision 130
5cd4555ad444fd391002ae32450572054369fd42Rob Austein# CDDL HEADER START
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# The contents of this file are subject to the terms of the
c1a883f2e04d94e99c433b1f6cfd0c0338f4ed85Mark Andrews# Common Development and Distribution License (the "License").
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# You may not use this file except in compliance with the License.
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# or http://www.opensolaris.org/os/licensing.
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# See the License for the specific language governing permissions
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# and limitations under the License.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# CDDL HEADER END
c1a883f2e04d94e99c433b1f6cfd0c0338f4ed85Mark Andrews# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCOMPONENT_ARCHIVE_HASH= sha1:ad6b6ce72c83e513ef7c31b7f8a5c6f07a2e0143
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCOMPONENT_ARCHIVE_URL= http://www.libgd.org/releases/$(COMPONENT_ARCHIVE)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinPKG_CONFIG_PATH_64 = /usr/lib/$(MACH64)/pkgconfig
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH_$(BITS))"
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCONFIGURE_OPTIONS += --includedir=$(CONFIGURE_INCLUDEDIR)/gd2
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonCOMPONENT_PREP_ACTION = (cd $(@D) ; autoconf)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein (cd $(@D); $(LINT) -nsvx $(CC_BITS) -o $(LIBNAME) -I$(@D) \
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein $(COMPONENT_DIR)/llib-l$(LIBNAME) > $(LINTOUT) 2>&1)
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson $(PROTO_DIR)/$(CONFIGURE_LIBDIR.$(BITS)))
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinPROTOUSRSHAREDOCDIR = $(PROTOUSRSHAREDIR)/doc/gd2/html
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson @echo "There is no test harness for libgd2."
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein @echo "Test programs must be run manually and their output"
86b0285d7e65601645db4090d62ee6cb63abad6cAndreas Gustafsson @echo "should be visually inspected."