components/desktop/desktop-cache/Makefile
author Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
Wed, 27 Apr 2016 22:34:47 -0700
changeset 5889 d78a523a8925
child 5968 a64f1dcdc61b
permissions -rw-r--r--
23169122 Move desktop-cache package to Userland
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5889
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     1
#
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     3
#
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     7
#
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    12
#
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    18
#
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    20
#
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    21
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    22
#
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    23
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    24
#
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    25
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    26
BUILD_BITS= NO_ARCH
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    27
include ../../../make-rules/shared-macros.mk
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    28
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    29
COMPONENT_NAME=         desktop-cache
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_VERSION=      0.2.8
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    31
COMPONENT_SRC=          # all files under files/
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_BUGDB=	gnome/install
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    33
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    34
# nothing to download or build; just package
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    35
BUILD_STYLE= pkg
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    36
include $(WS_MAKE_RULES)/common.mk
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    37
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    38
# Make sure SMF manifests are valid
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    39
$(BUILD_DIR)/.validated-smf-manifests-$(MACH): $(BUILD_DIR)
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    40
	@for f in files/*.xml ; do \
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    41
	    (set -ex ; /usr/sbin/svccfg validate "$$f") ; \
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    42
	done
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    43
	$(TOUCH) $@
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    44
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    45
validate-smf:	$(BUILD_DIR)/.validated-smf-manifests-$(MACH)
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    46
build:		$(BUILD_DIR)/.validated-smf-manifests-$(MACH)
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    47
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    48
REQUIRED_PACKAGES += system/core-os