Makefile revision 2297
147N/A#
147N/A# CDDL HEADER START
147N/A#
147N/A# The contents of this file are subject to the terms of the
147N/A# Common Development and Distribution License (the "License").
147N/A# You may not use this file except in compliance with the License.
147N/A#
147N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
147N/A# or http://www.opensolaris.org/os/licensing.
147N/A# See the License for the specific language governing permissions
147N/A# and limitations under the License.
147N/A#
147N/A# When distributing Covered Code, include this CDDL HEADER in each
147N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
147N/A# If applicable, add the following below this CDDL HEADER, with the
147N/A# fields enclosed by brackets "[]" replaced with your own identifying
147N/A# information: Portions Copyright [yyyy] [name of copyright owner]
147N/A#
147N/A# CDDL HEADER END
147N/A#
147N/A# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
147N/A#
147N/Ainclude ../../../make-rules/shared-macros.mk
147N/A
147N/ACOMPONENT_NAME= Cheetah
147N/ACOMPONENT_VERSION= 2.4.4
147N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
147N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
147N/ACOMPONENT_ARCHIVE_HASH= \
147N/A sha256:be308229f0c1e5e5af4f27d7ee06d90bb19e6af3059794e5fd536a6f29a9b550
147N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
147N/ACOMPONENT_PROJECT_URL= http://www.cheetahtemplate.org/
147N/ACOMPONENT_BUGDB= python-mod/cheetah
147N/A
147N/Ainclude $(WS_TOP)/make-rules/prep.mk
147N/Ainclude $(WS_TOP)/make-rules/setup.py.mk
147N/Ainclude $(WS_TOP)/make-rules/ips.mk
147N/A
147N/A# Needed to get around a broken /usr/lib/python2.7/config/Makefile
147N/A# See CR #16837431.
147N/ALD=$(CC)
147N/ALDSHARED=$(CC) -G
147N/APYTHON_ENV += CC="$(CC)"
147N/APYTHON_ENV += LDSHARED="$(LDSHARED)"
147N/APYTHON_ENV += LD="$(LD)"
147N/APYTHON_ENV += CFLAGS="$(CFLAGS)"
147N/ACOMPONENT_INSTALL_ENV += $(PYTHON_ENV)
147N/A
147N/ACOMPONENT_POST_INSTALL_ACTION = \
147N/A (cd $(PROTO_DIR)/usr/bin ; \
147N/A $(MV) -f cheetah cheetah-$(PYTHON_VERSION) ; \
147N/A $(MV) -f cheetah-analyze cheetah-analyze-$(PYTHON_VERSION) ; \
147N/A $(MV) -f cheetah-compile cheetah-compile-$(PYTHON_VERSION))
147N/A
147N/ACOMPONENT_TEST_ARGS= cheetah/Tests/Test.py
147N/ACOMPONENT_TEST_DIR= $(SOURCE_DIR)
147N/ACOMPONENT_TEST_ENV= PATH=$(PROTO_DIR)/usr/bin
147N/ACOMPONENT_TEST_ENV += PYTHONPATH=$(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES.32)
147N/ACOMPONENT_TEST_ENV += PYTHON_VERSION=$(PYTHON_VERSION)
147N/A
147N/A# common targets
147N/Abuild: $(BUILD_32_and_64)
147N/A
147N/Ainstall: $(INSTALL_32_and_64)
147N/A
147N/Atest: $(TEST_32_and_64)
147N/A
147N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
147N/A
147N/Ainclude $(WS_TOP)/make-rules/depend.mk
147N/A