Makefile revision 6248
#
#
# 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
#
#
#
BUILD_BITS= 32
TPNO= 24589
PKG_OPTIONS += -I $(COMPONENT_DIR)
# We need to be able to return from void functions
# common configure options
# bye, bye SANE backends
# We build two variants: for the CUPS support
# and for the HPIJS only support
# use these options for the CUPS support
$(HPLIP_VARIANT)/.configured: CONFIGURE_OPTIONS += --with-hpppddir=$(USRSHAREDIR)/cups/model/SUNWhplip
# use these options for the HPIJS only support
COMPONENT_INSTALL_ARGS += -e
# Generate configuration scripts
$(RM) $(ROOTPPDCACHE)
# set version of python interpreter to calm the pkglint
done
done
$(TOUCH) $@
# Since it looks like you can't build HPLIP with both HPIJS and CUPS support
# and seperate the HPIJS and CUPS PPD data, we need to replicate the code and
# build it twice. Once for the HPIJS support used by LP and once for the rest
# of the support used for CUPS
#
configure: $(VARIANTS:%=%/.configured)
# empty test target
test: $(NO_TESTS)
# We need one Net-SNMP library on 12, the other on 11, so list both.