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