Makefile revision 4337
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# CDDL HEADER START
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# The contents of this file are subject to the terms of the
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# Common Development and Distribution License (the "License").
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# You may not use this file except in compliance with the License.
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# or http://www.opensolaris.org/os/licensing.
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# See the License for the specific language governing permissions
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# and limitations under the License.
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# When distributing Covered Code, include this CDDL HEADER in each
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# If applicable, add the following below this CDDL HEADER, with the
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# fields enclosed by brackets "[]" replaced with your own identifying
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# information: Portions Copyright [yyyy] [name of copyright owner]
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# CDDL HEADER END
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankginclude ../../../make-rules/shared-macros.mk
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgCOMPONENT_NAME= foomatic-filters-ppds
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgCOMPONENT_VERSION= 20080818
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgCOMPONENT_ARCHIVE_HASH= \
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg sha256:906e1ea87ddb7cf0fd27f21c1b077f87644b402f1b7a66d4049a72b68e5eeb05
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgCOMPONENT_ARCHIVE_URL= $(EXTERNAL_ARCHIVE_MIRROR)/$(COMPONENT_ARCHIVE)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_PROJECT_URL= http://www.linuxfoundation.org/collaborate/workgroups/openprinting/database/foomatic/
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_BUGDB= utility/foomatic
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesTPNO= 6400
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholesinclude $(WS_MAKE_RULES)/prep.mk
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude $(WS_MAKE_RULES)/ips.mk
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCACHE_FILE=$(PROTOUSRLIBDIR)/lp/caches/SUNWfoomatic.cache
ce22ce4743d79a889dca64df4459c598e2c188c7fuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes$(SOURCE_DIR)/.built: $(SOURCE_DIR)/.prep $(COMPONENT_DIR)/nolicense $(COMPONENT_DIR)/supportedonly.sh
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(MKDIR) $(BUILD_DIR)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(SHELL) $(COMPONENT_DIR)/supportedonly.sh $(BUILD_DIR) \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(SOURCE_DIR)/share/ppd $(CACHE_FILE) $(COMPONENT_DIR)/nolicense
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(TOUCH) $@
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# move tree of .ppd-s to proto and gzip it
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes$(SOURCE_DIR)/.installed: $(SOURCE_DIR)/.built
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(MKDIR) $(PROTOUSRSHAREDIR)/ppd
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes /usr/bin/find $(SOURCE_DIR)/share/ppd -name "*.ppd" -exec gzip {} +
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(CLONEY) $(SOURCE_DIR)/share/ppd $(PROTOUSRSHAREDIR)/ppd/SUNWfoomatic
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(TOUCH) $@
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesASLR_MODE = $(ASLR_NOT_APPLICABLE)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# common targets
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesbuild: $(SOURCE_DIR)/.built
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinstall: $(SOURCE_DIR)/.installed
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholestest: $(NO_TESTS)
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholessystem-test: $(NO_TESTS)
f7d723f1ad88ed006c6caf4c2c6604b7c59dd172bnicholes
f300a833b20ab4dee4839f186ebb01a488c59752fuankgclean::
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(RM) -r $(BUILD_DIR)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes