Makefile revision 2880
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# CDDL HEADER START
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# The contents of this file are subject to the terms of the
eaca9bbd5f5d1e4e554da4c7108e8a03c8c33481eschrock# Common Development and Distribution License (the "License").
eaca9bbd5f5d1e4e554da4c7108e8a03c8c33481eschrock# You may not use this file except in compliance with the License.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fa9e4066f08beec538e775443c5be79dd423fcabahrens# or http://www.opensolaris.org/os/licensing.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# See the License for the specific language governing permissions
fa9e4066f08beec538e775443c5be79dd423fcabahrens# and limitations under the License.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# When distributing Covered Code, include this CDDL HEADER in each
fa9e4066f08beec538e775443c5be79dd423fcabahrens# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# If applicable, add the following below this CDDL HEADER, with the
fa9e4066f08beec538e775443c5be79dd423fcabahrens# fields enclosed by brackets "[]" replaced with your own identifying
fa9e4066f08beec538e775443c5be79dd423fcabahrens# information: Portions Copyright [yyyy] [name of copyright owner]
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# CDDL HEADER END
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens
eaca9bbd5f5d1e4e554da4c7108e8a03c8c33481eschrock#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensinclude ../../../make-rules/shared-macros.mk
fa9e4066f08beec538e775443c5be79dd423fcabahrens
0e42dee69ed771bf604dd1789fca9d77b5bbe302artemCOMPONENT_NAME= python-memcached
0e42dee69ed771bf604dd1789fca9d77b5bbe302artemCOMPONENT_VERSION= 1.53
0e42dee69ed771bf604dd1789fca9d77b5bbe302artemCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
fa9e4066f08beec538e775443c5be79dd423fcabahrensCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
fa9e4066f08beec538e775443c5be79dd423fcabahrensCOMPONENT_ARCHIVE_HASH= \
fa9e4066f08beec538e775443c5be79dd423fcabahrens sha256:7ae92b948d9a53d8d522fed1551eeb191f25879e34d533a59e7736ffaf2a7c14
fa9e4066f08beec538e775443c5be79dd423fcabahrensCOMPONENT_ARCHIVE_URL= https://github.com/linsomniac/$(COMPONENT_NAME)/archive/release-$(COMPONENT_VERSION).tar.gz
fa9e4066f08beec538e775443c5be79dd423fcabahrensCOMPONENT_PROJECT_URL= https://github.com/linsomniac/python-memcached
fa9e4066f08beec538e775443c5be79dd423fcabahrensCOMPONENT_BUGDB= python-mod/memcached
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensinclude $(WS_TOP)/make-rules/prep.mk
0e42dee69ed771bf604dd1789fca9d77b5bbe302arteminclude $(WS_TOP)/make-rules/setup.py.mk
fa9e4066f08beec538e775443c5be79dd423fcabahrensinclude $(WS_TOP)/make-rules/ips.mk
0e42dee69ed771bf604dd1789fca9d77b5bbe302artem
fa9e4066f08beec538e775443c5be79dd423fcabahrensASLR_MODE = $(ASLR_NOT_APPLICABLE)
fa9e4066f08beec538e775443c5be79dd423fcabahrens
0e42dee69ed771bf604dd1789fca9d77b5bbe302artemCOMPONENT_POST_UNPACK_ACTION = \
0e42dee69ed771bf604dd1789fca9d77b5bbe302artem $(MV) python-memcached-release-1.53 \
0e42dee69ed771bf604dd1789fca9d77b5bbe302artem $(COMPONENT_NAME)-$(COMPONENT_VERSION)
0e42dee69ed771bf604dd1789fca9d77b5bbe302artem
0e42dee69ed771bf604dd1789fca9d77b5bbe302artemCOMPONENT_TEST_ARGS= test
0e42dee69ed771bf604dd1789fca9d77b5bbe302artemCOMPONENT_TEST_CMD= $(MAKE)
0e42dee69ed771bf604dd1789fca9d77b5bbe302artemCOMPONENT_TEST_DIR= $(COMPONENT_SRC)
0e42dee69ed771bf604dd1789fca9d77b5bbe302artem# "make test" expects GNU Make as make(1)
0e42dee69ed771bf604dd1789fca9d77b5bbe302artemCOMPONENT_TEST_ENV= PATH=/usr/gnu/bin:/usr/bin
0e42dee69ed771bf604dd1789fca9d77b5bbe302artem
0e42dee69ed771bf604dd1789fca9d77b5bbe302artem# common targets
0e42dee69ed771bf604dd1789fca9d77b5bbe302artembuild: $(BUILD_NO_ARCH)
fa9e4066f08beec538e775443c5be79dd423fcabahrens
0e42dee69ed771bf604dd1789fca9d77b5bbe302arteminstall: $(INSTALL_NO_ARCH)
0e42dee69ed771bf604dd1789fca9d77b5bbe302artem
0e42dee69ed771bf604dd1789fca9d77b5bbe302artem# tests require local, online svc:/application/database/memcached:default
0e42dee69ed771bf604dd1789fca9d77b5bbe302artemtest: $(TEST_NO_ARCH)
0e42dee69ed771bf604dd1789fca9d77b5bbe302artem
0e42dee69ed771bf604dd1789fca9d77b5bbe302artemBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
0e42dee69ed771bf604dd1789fca9d77b5bbe302artem
0e42dee69ed771bf604dd1789fca9d77b5bbe302arteminclude $(WS_TOP)/make-rules/depend.mk
0e42dee69ed771bf604dd1789fca9d77b5bbe302artem