#
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#
PKG_OPTIONS += -I $(COMPONENT_DIR)
# We need to be able to return from void functions
# bye, bye SANE backends
COMPONENT_INSTALL_ARGS += -e
# Generate configuration scripts
PYTHON_SCRIPTS += \
' $$1 ~ /^file.*path/ && $$2 ~ /.*\.py$$/ {print "$(PROTO_DIR)/"$$2;} ' \
# build .pyc's
# empty test target
test: $(NO_TESTS)
# libusb-1 is needed on S12; libusb is needed on S11, so list both.