Makefile revision 514
297be3708069ef31814d6d75c0d71a50a78feb03Mark Andrews# CDDL HEADER START
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# The contents of this file are subject to the terms of the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Common Development and Distribution License (the "License").
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# You may not use this file except in compliance with the License.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# See the License for the specific language governing permissions
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# and limitations under the License.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# When distributing Covered Code, include this CDDL HEADER in each
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# If applicable, add the following below this CDDL HEADER, with the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# fields enclosed by brackets "[]" replaced with your own identifying
507151045be68c671ffd4e2f37e17cdfa0376fc4Automatic Updater# information: Portions Copyright [yyyy] [name of copyright owner]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# CDDL HEADER END
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
71c66a876ecca77923638d3f94cc0783152b2f03Mark AndrewsCOMPONENT_ARCHIVE= $(COMPONENT_SRC)-source.tar.bz2
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCOMPONENT_ARCHIVE_HASH= sha1:68af37234645954e1bfad6a3608c67c03a9aef78
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCOMPONENT_ARCHIVE_URL= http://ftp.easysw.com/pub/cups/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# don't use LD_Z_IGNORE: causes linker problems
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCONFIGURE_OPTIONS += --localedir=$(USRSHARELOCALEDIR)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCONFIGURE_OPTIONS += --with-fontpath=/usr/openwin/lib
28b3569d6248168e6c00caab951521cc8141a49dAutomatic UpdaterCONFIGURE_OPTIONS += --with-domainsocket=/var/run/cups-socket
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCONFIGURE_OPTIONS += --with-smfmanifestdir=/lib/svc/manifest/application
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCONFIGURE_OPTIONS += --with-printcap=/etc/printers.conf
28b3569d6248168e6c00caab951521cc8141a49dAutomatic UpdaterCONFIGURE_OPTIONS += DSO64FLAGS="$(LDLIBS) -G"
28b3569d6248168e6c00caab951521cc8141a49dAutomatic UpdaterCONFIGURE_OPTIONS += "ac_cv_search_getifaddrs=no"
28b3569d6248168e6c00caab951521cc8141a49dAutomatic Updater$(BUILD_DIR)/%/.installed: ENV += DSTROOT="$(PROTO_DIR)"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein find $(@D) -name '*.in' | sed -e 's/.in$$//' | xargs $(RM) ; \
c6d486af36165da7eb970354981d145249e342e4Mark Andrews# install the default config file
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $(MV) $(PROTOUSRLIBDIR)/64 $(PROTOUSRLIBDIR)/$(MACH64)
9ef82979c49da3dd3647273b1cd6ed7d3352c003Automatic Updater# common targets