Makefile revision 220
11e9368a226272085c337e9e74b79808c16fbdbaTinderbox User# CDDL HEADER START
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# The contents of this file are subject to the terms of the
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater# 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
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# 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)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCOMPONENT_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)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserCONFIGURE_OPTIONS += --localedir=$(USRSHARELOCALEDIR)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserCONFIGURE_OPTIONS += --with-fontpath=/usr/openwin/lib
46472a450e043434d78fa18edc73bca8c47f3981Tinderbox UserCONFIGURE_OPTIONS += --with-logdir=/var/log/cups
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCONFIGURE_OPTIONS += --with-domainsocket=/var/run/cups-socket
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCONFIGURE_OPTIONS += --with-smfmanifestdir=/lib/svc/manifest/application
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCONFIGURE_OPTIONS += --with-printcap=/etc/printers.conf
46472a450e043434d78fa18edc73bca8c47f3981Tinderbox UserCONFIGURE_OPTIONS += DSO64FLAGS="$(LDLIBS) -G"
f9ce6280cec79deb16ff6d9807aa493ff23e10d9Tinderbox UserCONFIGURE_OPTIONS += "ac_cv_search_getifaddrs=no"
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User$(BUILD_DIR)/%/.installed: ENV += DSTROOT="$(PROTO_DIR)"
46472a450e043434d78fa18edc73bca8c47f3981Tinderbox User$(BUILD_DIR)/%/.installed: ENV += MAN1EXT="1cups"
46472a450e043434d78fa18edc73bca8c47f3981Tinderbox User$(BUILD_DIR)/%/.installed: ENV += MAN8EXT="1cups"
e285c11870c6263cd79b418e104c7eb3e2d96952Tinderbox User$(BUILD_DIR)/%/.installed: ENV += MAN8DIR="1cups"
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt find $(@D) -name '*.in' | sed -e 's/.in$$//' | xargs $(RM) ; \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# install the default config file
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt $(MV) $(PROTOUSRLIBDIR)/64 $(PROTOUSRLIBDIR)/$(MACH64)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# common targets