Makefile revision 181
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# CDDL HEADER START
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# The contents of this file are subject to the terms of the
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# Common Development and Distribution License (the "License").
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# You may not use this file except in compliance with the License.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# or http://www.opensolaris.org/os/licensing.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# See the License for the specific language governing permissions
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# and limitations under the License.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# When distributing Covered Code, include this CDDL HEADER in each
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# If applicable, add the following below this CDDL HEADER, with the
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# fields enclosed by brackets "[]" replaced with your own identifying
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# information: Portions Copyright [yyyy] [name of copyright owner]
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# CDDL HEADER END
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
e04145d08b77ade206d51c2367bebfc06f3e87f8eschrockinclude ../../make-rules/shared-macros.mk
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahlCOMPONENT_NAME= gutenprint
73427c57f824c3ec3b396181b163f37d50c5b3b1ahlCOMPONENT_VERSION= 5.2.4
73427c57f824c3ec3b396181b163f37d50c5b3b1ahlCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
9512fe850e98fdd448c638ca63fdd92a8a510255ahlCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomeeCOMPONENT_ARCHIVE_HASH= sha1:ae680314650dd9a52df5fd11cd0282cc6f9662e6
9512fe850e98fdd448c638ca63fdd92a8a510255ahlCOMPONENT_ARCHIVE_URL= http://voxel.dl.sourceforge.net/project/gimp-print/gutenprint-5.2/5.2.4/$(COMPONENT_ARCHIVE)
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
73427c57f824c3ec3b396181b163f37d50c5b3b1ahlinclude ../../make-rules/prep.mk
73427c57f824c3ec3b396181b163f37d50c5b3b1ahlinclude ../../make-rules/configure.mk
9512fe850e98fdd448c638ca63fdd92a8a510255ahlinclude ../../make-rules/ips.mk
73427c57f824c3ec3b396181b163f37d50c5b3b1ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahlCONFIGURE_ENV += CFLAGS="$(CFLAGS)"
73427c57f824c3ec3b396181b163f37d50c5b3b1ahlCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
73427c57f824c3ec3b396181b163f37d50c5b3b1ahlCONFIGURE_OPTIONS += --enable-escputil
e04145d08b77ade206d51c2367bebfc06f3e87f8eschrockCONFIGURE_OPTIONS += --without-gimp2
b8fac8e162eda7e98db13dfa3e439e43f90f41d9jhaslamCONFIGURE_OPTIONS += --enable-cups-1_2-enhancements
b8fac8e162eda7e98db13dfa3e439e43f90f41d9jhaslamCONFIGURE_OPTIONS += --enable-shared
73427c57f824c3ec3b396181b163f37d50c5b3b1ahlCONFIGURE_OPTIONS += --disable-static-genppd
9512fe850e98fdd448c638ca63fdd92a8a510255ahlCONFIGURE_OPTIONS += --enable-simplified-cups-ppds
9512fe850e98fdd448c638ca63fdd92a8a510255ahlCONFIGURE_OPTIONS += --without-foomatic
73427c57f824c3ec3b396181b163f37d50c5b3b1ahlCONFIGURE_OPTIONS += --without-foomatic3
73427c57f824c3ec3b396181b163f37d50c5b3b1ahlCONFIGURE_OPTIONS += --without-readline
9512fe850e98fdd448c638ca63fdd92a8a510255ahlCONFIGURE_OPTIONS += --disable-static
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
73427c57f824c3ec3b396181b163f37d50c5b3b1ahlCOMPONENT_BUILD_TARGETS = all
73427c57f824c3ec3b396181b163f37d50c5b3b1ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahlbuild: $(BUILD_32)
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
73427c57f824c3ec3b396181b163f37d50c5b3b1ahlinstall: $(INSTALL_32)
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# the tests mostly pass, but it can't find several drivers for ppd files
73427c57f824c3ec3b396181b163f37d50c5b3b1ahltest: $(TEST_32)
73427c57f824c3ec3b396181b163f37d50c5b3b1ahl
73427c57f824c3ec3b396181b163f37d50c5b3b1ahlBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
73427c57f824c3ec3b396181b163f37d50c5b3b1ahlinclude ../../make-rules/depend.mk
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee