Makefile revision 140
140N/A#
140N/A# CDDL HEADER START
140N/A#
140N/A# The contents of this file are subject to the terms of the
140N/A# Common Development and Distribution License (the "License").
140N/A# You may not use this file except in compliance with the License.
140N/A#
140N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
140N/A# or http://www.opensolaris.org/os/licensing.
140N/A# See the License for the specific language governing permissions
140N/A# and limitations under the License.
140N/A#
140N/A# When distributing Covered Code, include this CDDL HEADER in each
140N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
140N/A# If applicable, add the following below this CDDL HEADER, with the
140N/A# fields enclosed by brackets "[]" replaced with your own identifying
140N/A# information: Portions Copyright [yyyy] [name of copyright owner]
140N/A#
140N/A# CDDL HEADER END
140N/A#
140N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
140N/A#
140N/Ainclude ../../make-rules/shared-macros.mk
140N/A
140N/ACOMPONENT_NAME= gutenprint
140N/ACOMPONENT_VERSION= 5.2.4
140N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
140N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
140N/ACOMPONENT_ARCHIVE_HASH= sha1:ae680314650dd9a52df5fd11cd0282cc6f9662e6
140N/ACOMPONENT_ARCHIVE_URL= http://voxel.dl.sourceforge.net/project/gimp-print/gutenprint-5.2/5.2.4/$(COMPONENT_ARCHIVE)
140N/A
140N/Ainclude ../../make-rules/prep.mk
140N/Ainclude ../../make-rules/configure.mk
140N/Ainclude ../../make-rules/ips.mk
140N/A
140N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
140N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
140N/ACONFIGURE_OPTIONS += --enable-escputil
140N/ACONFIGURE_OPTIONS += --without-gimp2
140N/ACONFIGURE_OPTIONS += --enable-cups-1_2-enhancements
140N/ACONFIGURE_OPTIONS += --enable-shared
140N/ACONFIGURE_OPTIONS += --disable-static-genppd
140N/ACONFIGURE_OPTIONS += --enable-simplified-cups-ppds
140N/ACONFIGURE_OPTIONS += --without-foomatic
140N/ACONFIGURE_OPTIONS += --without-foomatic3
140N/ACONFIGURE_OPTIONS += --without-readline
140N/ACONFIGURE_OPTIONS += --disable-static
140N/A
140N/ACOMPONENT_BUILD_TARGETS = all
140N/A
140N/Abuild: $(BUILD_32)
140N/A
140N/Ainstall: $(INSTALL_32)
140N/A
140N/A# the tests mostly pass, but it can't find several drivers for ppd files
140N/Atest: build
140N/A @cd $(BUILD_DIR_32); $(MAKE) check
140N/A
140N/A
140N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
140N/A
140N/A
140N/Ainclude ../../make-rules/depend.mk