Makefile revision 5777
9eb499828dd875d229531b50d05f016b8a1f1dd9vboxsync# CDDL HEADER START
9eb499828dd875d229531b50d05f016b8a1f1dd9vboxsync# The contents of this file are subject to the terms of the
9eb499828dd875d229531b50d05f016b8a1f1dd9vboxsync# Common Development and Distribution License (the "License").
9eb499828dd875d229531b50d05f016b8a1f1dd9vboxsync# You may not use this file except in compliance with the License.
9eb499828dd875d229531b50d05f016b8a1f1dd9vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9eb499828dd875d229531b50d05f016b8a1f1dd9vboxsync# See the License for the specific language governing permissions
9eb499828dd875d229531b50d05f016b8a1f1dd9vboxsync# and limitations under the License.
9eb499828dd875d229531b50d05f016b8a1f1dd9vboxsync# When distributing Covered Code, include this CDDL HEADER in each
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# If applicable, add the following below this CDDL HEADER, with the
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# CDDL HEADER END
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync sha256:0450d6d8e6e8af225d2a3319c848737d76473a6c7579cf97c52086d0371c0efe
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsyncCOMPONENT_ARCHIVE_URL= http://ftp.easysw.com/pub/cups/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
8eb4989e815c8f374b965265ccf184d6ce17d9e8vboxsync# Ensure CC-based linking does not embed runpaths.
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# don't use LD_Z_IGNORE: causes linker problems
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# cups has an unusual hybrid-build system to support 32-bit and 64-bit
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# libraries in a single build; avoid confusing it by stripping $(CC_BITS) from
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# all related flag variables.
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsyncCONFIGURE_CPPFLAGS.stripped := $(patsubst -m32,,$(CONFIGURE_CPPFLAGS))
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# Ensure dynamic shared objects are linked using same LDFLAGS as executables.
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsyncCONFIGURE_OPTIONS += --localedir=$(USRSHARELOCALEDIR)
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsyncCONFIGURE_OPTIONS += --with-fontpath=$(USRSHAREFONTSDIR)
27efd9329f6a90f7cacf840031e5305f98975960vboxsyncCONFIGURE_OPTIONS += --with-logdir=$(VARDIR)/log/cups
27efd9329f6a90f7cacf840031e5305f98975960vboxsyncCONFIGURE_OPTIONS += --with-domainsocket=$(VARDIR)/run/cups-socket
27efd9329f6a90f7cacf840031e5305f98975960vboxsyncCONFIGURE_OPTIONS += --with-smfmanifestdir=$(LIBDIR)/svc/manifest/application
da6747c2419b9cea8b5e2c576a30a5de999a8ab3vboxsyncCONFIGURE_OPTIONS += --with-printcap=$(ETCDIR)/printers.conf
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync$(BUILD_DIR)/%/.installed: ENV += DSTROOT="$(PROTO_DIR)"
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync find $(@D) -name '*.in' | sed -e 's/.in$$//' | xargs $(RM) ; \
ad34209dccf31d54e2277d732a90ce6ea4374362vboxsync# install the default config file