Makefile revision 791
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync# CDDL HEADER START
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync# The contents of this file are subject to the terms of the
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync# Common Development and Distribution License (the "License").
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync# You may not use this file except in compliance with the License.
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync# See the License for the specific language governing permissions
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync# and limitations under the License.
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync# When distributing Covered Code, include this CDDL HEADER in each
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync# If applicable, add the following below this CDDL HEADER, with the
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync# CDDL HEADER END
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsyncCOMPONENT_PROJECT_URL= http://hplipopensource.com/hplip-web/
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsyncCOMPONENT_ARCHIVE_HASH= sha1:5e145eafefbc5122bbe98345f2984fc0a55e5787
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsyncCOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/hplip/files/hplip/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync# We need to be able to return from void functions
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsyncCXX += $(studio_FEATURES_EXTENSIONS) $(studio_NORUNPATH) $(studio_LIBRARY_NONE)
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsyncROOTPPDCACHE = $(PROTO_DIR)/usr/lib/lp/caches/SUNWhpijs.cache
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync# configure(1) options to use
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsyncCONFIGURE_OPTIONS += --localedir=$(CONFIGURE_LOCALEDIR)
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync# We build two variants: for the CUPS/SANE support
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync# and for the HPIJS only support
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync# use these options for the CUPS/SANE support
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync$(HPLIP_VARIANT)/.built: CONFIGURE_OPTIONS += --with-hpppddir=/usr/share/cups/model/SUNWhplip
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync$(HPLIP_VARIANT)/.built: CONFIGURE_OPTIONS += --enable-fax-build
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync$(HPLIP_VARIANT)/.built: CONFIGURE_OPTIONS += --disable-udev-acl-rules
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync$(HPLIP_VARIANT)/.built: CONFIGURE_OPTIONS += --enable-hpcups-install
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync$(HPLIP_VARIANT)/.built: CONFIGURE_OPTIONS += --disable-new-hpcups
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync$(HPLIP_VARIANT)/.built: CONFIGURE_OPTIONS += --enable-cups-drv-install
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync# use these options for the HPIJS only support
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync$(HPIJS_VARIANT)/.built: CONFIGURE_OPTIONS += --enable-foomatic-ppd-install
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync$(HPIJS_VARIANT)/.built: CONFIGURE_OPTIONS += --with-hpppddir=/usr/share/ppd/SUNWhpijs/HP
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync$(HPIJS_VARIANT)/.built: CONFIGURE_OPTIONS += --disable-cups-drv-install
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync$(HPIJS_VARIANT)/.built: CONFIGURE_OPTIONS += --disable-hpcups-install
8eef848e08a61236c40d1d8b48c4df49b157aac1vboxsync$(HPIJS_VARIANT)/.built: CONFIGURE_OPTIONS += --disable-doc-build
COMPONENT_INSTALL_ARGS += -e
test: $(NO_TESTS)