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