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