components/python/python-memcached/Makefile
author John Beck <John.Beck@Oracle.COM>
Sat, 17 Jan 2015 09:17:37 -0800
branchs11-update
changeset 3661 47545fb8aed4
parent 3166 a76983bc2aeb
child 3778 35735ffdda43
permissions -rw-r--r--
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3166
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     1
#
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     2
# CDDL HEADER START
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     3
#
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     7
#
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    10
# See the License for the specific language governing permissions
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    11
# and limitations under the License.
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    12
#
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    18
#
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    19
# CDDL HEADER END
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    20
#
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    21
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    22
#
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    23
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    24
#
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    25
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    26
include ../../../make-rules/shared-macros.mk
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    27
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    28
COMPONENT_NAME=		python-memcached
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    29
COMPONENT_VERSION=	1.53
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    30
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    31
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    32
COMPONENT_ARCHIVE_HASH=	\
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    33
    sha256:7ae92b948d9a53d8d522fed1551eeb191f25879e34d533a59e7736ffaf2a7c14
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    34
COMPONENT_ARCHIVE_URL=	https://github.com/linsomniac/$(COMPONENT_NAME)/archive/release-$(COMPONENT_VERSION).tar.gz
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    35
COMPONENT_PROJECT_URL=	https://github.com/linsomniac/python-memcached
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    36
COMPONENT_BUGDB=	python-mod/memcached
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    37
3661
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 3166
diff changeset
    38
TPNO=			17839
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 3166
diff changeset
    39
3166
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    40
include $(WS_TOP)/make-rules/prep.mk
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    41
include $(WS_TOP)/make-rules/setup.py.mk
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    42
include $(WS_TOP)/make-rules/ips.mk
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    43
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    44
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    45
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    46
COMPONENT_POST_UNPACK_ACTION = \
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    47
	$(MV) python-memcached-release-1.53 \
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    48
	    $(COMPONENT_NAME)-$(COMPONENT_VERSION)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    49
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    50
COMPONENT_TEST_ARGS=	test
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    51
COMPONENT_TEST_CMD=	$(MAKE)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    52
COMPONENT_TEST_DIR=	$(COMPONENT_SRC)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    53
# "make test" expects GNU Make as make(1)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    54
COMPONENT_TEST_ENV=	PATH=/usr/gnu/bin:/usr/bin
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    55
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    56
# common targets
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    57
build:		$(BUILD_NO_ARCH)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    58
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    59
install:	$(INSTALL_NO_ARCH)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    60
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    61
# tests require local, online svc:/application/database/memcached:default
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    62
test:		$(TEST_NO_ARCH)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    63
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    64
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    65
a76983bc2aeb PSARC 2014/163 OpenStack client for Heat (Orchestration Service)
david.comay@oracle.com
parents:
diff changeset
    66
include $(WS_TOP)/make-rules/depend.mk