Makefile revision 5680
853N/A#
853N/A# CDDL HEADER START
853N/A#
853N/A# The contents of this file are subject to the terms of the
853N/A# Common Development and Distribution License (the "License").
853N/A# You may not use this file except in compliance with the License.
853N/A#
853N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
853N/A# or http://www.opensolaris.org/os/licensing.
853N/A# See the License for the specific language governing permissions
853N/A# and limitations under the License.
853N/A#
853N/A# When distributing Covered Code, include this CDDL HEADER in each
853N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
853N/A# If applicable, add the following below this CDDL HEADER, with the
853N/A# fields enclosed by brackets "[]" replaced with your own identifying
853N/A# information: Portions Copyright [yyyy] [name of copyright owner]
853N/A#
853N/A# CDDL HEADER END
853N/A#
853N/A
853N/A#
5680N/A# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
853N/A#
5680N/ABUILD_BITS= 64
853N/Ainclude ../../../make-rules/shared-macros.mk
853N/A
853N/ACOMPONENT_NAME= mod_wsgi
3351N/ACOMPONENT_VERSION= 4.3.0
3351N/ACOMPONENT_ARCHIVE_HASH= sha256:89dfcc8564bb8781f36370c80c6fbeef9ec0723dec273231f4f760760d8e813d
3351N/ACOMPONENT_ARCHIVE_URL= https://pypi.python.org/packages/source/m/mod_wsgi/$(COMPONENT_ARCHIVE)
853N/ACOMPONENT_PROJECT_URL= http://code.google.com/p/modwsgi/
853N/A
3351N/ATPNO= 19269
2899N/A
5123N/A# Don't use default CPPFLAGS; it causes Apache's custom CPP to fail.
5123N/ACONFIGURE_CPPFLAGS=
5680N/AVARIANTS_64 = $(BUILD_DIR)/apache24-python27 $(BUILD_DIR)/apache24-python34
3351N/Ainclude ../modules.mk
3351N/A
5680N/A# Fix 64-bit linking via compiler.
5680N/ALDFLAGS += $(CC_BITS)
3351N/A
5680N/A$(BUILD_DIR)/apache24-%/$(MACH64)/.configured: APXS=$(APACHE_24_USR_PREFIX)/bin/apxs BITS=64
5680N/A$(BUILD_DIR)/apache24-%/$(MACH64)/.built: BITS=64
5680N/A$(BUILD_DIR)/apache24-%/$(MACH64)/.tested: BITS=64
3351N/A
3351N/A$(BUILD_DIR)/apache2%-python27/$(MACH64)/.configured: PYTHON=$(PYTHON.2.7.64)
3351N/A$(BUILD_DIR)/apache2%-python34/$(MACH64)/.configured: PYTHON=$(PYTHON.3.4.64)
853N/A
853N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
853N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
853N/A
3351N/ACONFIGURE_OPTIONS += --with-python=$(PYTHON)
4337N/A
3817N/AREQUIRED_PACKAGES += runtime/python-27
3817N/AREQUIRED_PACKAGES += runtime/python-34
3817N/AREQUIRED_PACKAGES += system/library/math