Makefile revision 6469
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# CDDL HEADER START
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# The contents of this file are subject to the terms of the
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# Common Development and Distribution License (the "License").
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# You may not use this file except in compliance with the License.
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# See the License for the specific language governing permissions
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# and limitations under the License.
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# When distributing Covered Code, include this CDDL HEADER in each
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# If applicable, add the following below this CDDL HEADER, with the
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# fields enclosed by brackets "[]" replaced with your own identifying
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# information: Portions Copyright [yyyy] [name of copyright owner]
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# CDDL HEADER END
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfCOMPONENT_ARCHIVE_HASH= sha256:d310903048f3600f93422e5a8c39ddd682511e0849cd9abc5e943f9a10bdd49d
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfCOMPONENT_ARCHIVE_URL= http://prdownloads.sourceforge.net/hplip/$(COMPONENT_ARCHIVE)
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfCOMPONENT_PROJECT_URL= http://hplipopensource.com/hplip-web/index.html
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# We need to be able to return from void functions
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfCONFIGURE_OPTIONS += --with-hpppddir=$(USRSHAREDIR)/cups/model/hplip
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfCONFIGURE_OPTIONS += am_cv_python_pythondir="$(PYTHON_VENDOR_PACKAGES)"
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfCONFIGURE_OPTIONS += am_cv_python_pyexecdir="$(PYTHON_VENDOR_PACKAGES)"
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# bye, bye SANE backends
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# Generate configuration scripts
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfPYTHON_SCRIPTS += $(PROTO_DIR)/usr/lib/cups/filter/pstotiff
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf ' $$1 ~ /^file.*path/ && $$2 ~ /.*\.py$$/ {print "$(PROTO_DIR)/"$$2;} ' \
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# build .pyc's
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf $(PYTHON.$(PYTHON_VERSION)) -m compileall $(PROTO_DIR)/usr/share/hplip/
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# empty test target
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# libusb-1 is needed on S12; libusb is needed on S11, so list both.