modules.mk revision 5170
1494N/A#
1494N/A# CDDL HEADER START
1494N/A#
1494N/A# The contents of this file are subject to the terms of the
1494N/A# Common Development and Distribution License (the "License").
1494N/A# You may not use this file except in compliance with the License.
1494N/A#
1494N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1494N/A# or http://www.opensolaris.org/os/licensing.
1494N/A# See the License for the specific language governing permissions
1494N/A# and limitations under the License.
1494N/A#
1494N/A# When distributing Covered Code, include this CDDL HEADER in each
1494N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1494N/A# If applicable, add the following below this CDDL HEADER, with the
1494N/A# fields enclosed by brackets "[]" replaced with your own identifying
1494N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1494N/A#
1494N/A# CDDL HEADER END
1494N/A#
1494N/A# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
1494N/A#
1494N/A
1494N/AMODULES_CONFIGURE = $(CONFIGURE_64)
1494N/AMODULES_BUILD = $(BUILD_64)
1494N/AMODULES_INSTALL = $(INSTALL_64)
1494N/AMODULES_TEST = $(TEST_64)
1494N/A
1494N/AAPACHE_24_USR_PREFIX=/usr/apache2/2.4
1494N/A
1494N/AVARIANT_APACHE_24 = $(BUILD_DIR)/apache24
1494N/A
1494N/AVARIANTS_64 = $(VARIANT_APACHE_22) $(VARIANT_APACHE_24)
1494N/A
1494N/ABUILD_64 = $(VARIANTS_64:%=%/$(MACH64)/.built)
1494N/A
INSTALL_64 = $(VARIANTS_64:%=%/$(MACH64)/.installed)
TEST_64 = $(VARIANTS_64:%=%/$(MACH64)/.tested)
$(VARIANT_APACHE_24)/$(MACH64)/.configured: BITS=64
$(VARIANT_APACHE_24)/$(MACH64)/.built: BITS=64
$(VARIANT_APACHE_24)/$(MACH64)/.tested: BITS=64
$(VARIANT_APACHE_24)/%/.configured: APACHE_USR_PREFIX=$(APACHE_24_USR_PREFIX)
$(VARIANT_APACHE_24)/%/.built: APACHE_USR_PREFIX=$(APACHE_24_USR_PREFIX)
$(VARIANT_APACHE_24)/%/.installed: APACHE_USR_PREFIX=$(APACHE_24_USR_PREFIX)
$(BUILD_DIR)/apache24/$(MACH64)/.configured: APXS=$(APACHE_USR_PREFIX)/bin/apxs
$(BUILD_DIR)/apache24/$(MACH64)/.built: APXS=$(APACHE_USR_PREFIX)/bin/apxs
DEFAULT_COMPILER?=yes
ifeq ($(strip $(DEFAULT_COMPILER)),no)
CC=
CXX=
endif
PATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
ifeq ($(strip $(PARFAIT_BUILD)),yes)
PATH=$(PARFAIT_TOOLS):$(SPRO_VROOT)/bin:/usr/bin
endif
REQUIRED_PACKAGES += web/server/apache-24