Makefile revision 3935
72N/A# The contents of this file are subject to the terms of the 72N/A# Common Development and Distribution License (the "License"). 72N/A# You may not use this file except in compliance with the License. 72N/A# See the License for the specific language governing permissions 72N/A# and limitations under the License. 72N/A# When distributing Covered Code, include this CDDL HEADER in each 72N/A# If applicable, add the following below this CDDL HEADER, with the 72N/A# fields enclosed by brackets "[]" replaced with your own identifying 72N/A# information: Portions Copyright [yyyy] [name of copyright owner] 72N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. 72N/A# Enable ASLR for this component 72N/A# We need to be able to return from void functions 72N/A# version aligned with 12.0 154N/A# common configure options # We build two variants: for the CUPS/SANE support # and for the HPIJS only support # use these options for the CUPS/SANE support # use these options for the HPIJS only support # Generate configuration scripts # set version of python interpreter to calm the pkglint while IFS=
read -r -d $
$'\0' file;
do \
/
usr/
bin/
sed -e
'1,1s&^#!.*python[:blank:]\{0,\}$$&#!$(PYTHON.$(PYTHON_VERSION))&' \
while IFS=
read -r -d $
$'\0' file;
do \
# 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 and SANE.