Makefile revision 911
c8821d124c532e0a65752b378f924d4259499fd3Mark Andrews#
c8821d124c532e0a65752b378f924d4259499fd3Mark Andrews# CDDL HEADER START
c8821d124c532e0a65752b378f924d4259499fd3Mark Andrews#
c8821d124c532e0a65752b378f924d4259499fd3Mark Andrews# The contents of this file are subject to the terms of the
c8821d124c532e0a65752b378f924d4259499fd3Mark Andrews# Common Development and Distribution License (the "License").
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman# You may not use this file except in compliance with the License.
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman#
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman# or http://www.opensolaris.org/os/licensing.
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman# See the License for the specific language governing permissions
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman# and limitations under the License.
9b17fd447c684a84b2f5fbfb04ad6e890ae2078cMukund Sivaraman#
9b17fd447c684a84b2f5fbfb04ad6e890ae2078cMukund Sivaraman# When distributing Covered Code, include this CDDL HEADER in each
9b17fd447c684a84b2f5fbfb04ad6e890ae2078cMukund Sivaraman# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9b17fd447c684a84b2f5fbfb04ad6e890ae2078cMukund Sivaraman# If applicable, add the following below this CDDL HEADER, with the
9b17fd447c684a84b2f5fbfb04ad6e890ae2078cMukund Sivaraman# fields enclosed by brackets "[]" replaced with your own identifying
e13d04fda918c0c14c2247475bb99e0760d9a6a4Evan Hunt# information: Portions Copyright [yyyy] [name of copyright owner]
e13d04fda918c0c14c2247475bb99e0760d9a6a4Evan Hunt#
b51391848127d0303bd385a555c76aef57d1b4ebEvan Hunt# CDDL HEADER END
b51391848127d0303bd385a555c76aef57d1b4ebEvan Hunt#
b51391848127d0303bd385a555c76aef57d1b4ebEvan Hunt# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
bfd4b9e11aa9e8c2b43022a6b7a896b26bd5d7a0Witold Krecicki#
bfd4b9e11aa9e8c2b43022a6b7a896b26bd5d7a0Witold Krecickiinclude ../../make-rules/shared-macros.mk
bfd4b9e11aa9e8c2b43022a6b7a896b26bd5d7a0Witold Krecicki
29868ebbe3c7bc06f833e329ea190dc442331bf1Mark AndrewsCOMPONENT_NAME= gutenprint
29868ebbe3c7bc06f833e329ea190dc442331bf1Mark AndrewsCOMPONENT_VERSION= 5.2.4
29868ebbe3c7bc06f833e329ea190dc442331bf1Mark AndrewsCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2f450fcd295795fb1771432e098af3d6e52c8a0bMark AndrewsCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
2f450fcd295795fb1771432e098af3d6e52c8a0bMark AndrewsCOMPONENT_ARCHIVE_HASH= sha1:ae680314650dd9a52df5fd11cd0282cc6f9662e6
2f450fcd295795fb1771432e098af3d6e52c8a0bMark AndrewsCOMPONENT_ARCHIVE_URL= http://voxel.dl.sourceforge.net/project/gimp-print/gutenprint-5.2/5.2.4/$(COMPONENT_ARCHIVE)
e939674d53a127ddeeaf4b41fd72933f0b493308Mark Andrews
e939674d53a127ddeeaf4b41fd72933f0b493308Mark Andrewsinclude ../../make-rules/prep.mk
e939674d53a127ddeeaf4b41fd72933f0b493308Mark Andrewsinclude ../../make-rules/configure.mk
e939674d53a127ddeeaf4b41fd72933f0b493308Mark Andrewsinclude ../../make-rules/ips.mk
6b8519147a5c24b4a5942042e83fd539d0d445ccEvan Hunt
6b8519147a5c24b4a5942042e83fd539d0d445ccEvan HuntCONFIGURE_ENV += CFLAGS="$(CFLAGS)"
6b8519147a5c24b4a5942042e83fd539d0d445ccEvan HuntCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
09f82f50798e170b172e6ba358ed123536243839Evan HuntCONFIGURE_OPTIONS += --enable-escputil
09f82f50798e170b172e6ba358ed123536243839Evan HuntCONFIGURE_OPTIONS += --without-gimp2
09f82f50798e170b172e6ba358ed123536243839Evan HuntCONFIGURE_OPTIONS += --enable-cups-1_2-enhancements
8475bed9de77920f884f1ae296f581efbd1e42f8Mark AndrewsCONFIGURE_OPTIONS += --enable-shared
861aa4e9039e6f354545177c4c2323b485549602Mark AndrewsCONFIGURE_OPTIONS += --disable-static-genppd
8475bed9de77920f884f1ae296f581efbd1e42f8Mark AndrewsCONFIGURE_OPTIONS += --enable-simplified-cups-ppds
821ff5e8fa1df2e09fea157ee3e298eef6cf4ec9Evan HuntCONFIGURE_OPTIONS += --without-foomatic
821ff5e8fa1df2e09fea157ee3e298eef6cf4ec9Evan HuntCONFIGURE_OPTIONS += --without-foomatic3
821ff5e8fa1df2e09fea157ee3e298eef6cf4ec9Evan HuntCONFIGURE_OPTIONS += --without-readline
821ff5e8fa1df2e09fea157ee3e298eef6cf4ec9Evan HuntCONFIGURE_OPTIONS += --disable-static
f06b6a9b14509a3b473f52dd797bc490f6f6511dMark Andrews
f06b6a9b14509a3b473f52dd797bc490f6f6511dMark AndrewsCOMPONENT_BUILD_TARGETS = all
f06b6a9b14509a3b473f52dd797bc490f6f6511dMark Andrews
aa9b64060fb6e946a920e957805f564d149e88e0Evan Huntbuild: $(BUILD_32)
aa9b64060fb6e946a920e957805f564d149e88e0Evan Hunt
aa9b64060fb6e946a920e957805f564d149e88e0Evan Huntinstall: $(INSTALL_32)
412f873b9fafa0f8161a1203e7731d9d67052e49Mark Andrews
412f873b9fafa0f8161a1203e7731d9d67052e49Mark Andrews# the tests mostly pass, but it can't find several drivers for ppd files
72ac929f2bfe186ab4fe2d9425685d6ef419f200Mark Andrewstest: $(TEST_32)
72ac929f2bfe186ab4fe2d9425685d6ef419f200Mark Andrews
72ac929f2bfe186ab4fe2d9425685d6ef419f200Mark AndrewsBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
a70fc47e9dc165175e77f091076559748858a488Mark Andrews
a70fc47e9dc165175e77f091076559748858a488Mark Andrews
0526268c2b2806ceb67032e0bfee708b6e70e004Mark Andrewsinclude ../../make-rules/depend.mk
0526268c2b2806ceb67032e0bfee708b6e70e004Mark Andrews