3351N/A#
3351N/A# CDDL HEADER START
3351N/A#
3351N/A# The contents of this file are subject to the terms of the
3351N/A# Common Development and Distribution License (the "License").
3351N/A# You may not use this file except in compliance with the License.
3351N/A#
3351N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3351N/A# or http://www.opensolaris.org/os/licensing.
3351N/A# See the License for the specific language governing permissions
3351N/A# and limitations under the License.
3351N/A#
3351N/A# When distributing Covered Code, include this CDDL HEADER in each
3351N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3351N/A# If applicable, add the following below this CDDL HEADER, with the
3351N/A# fields enclosed by brackets "[]" replaced with your own identifying
3351N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3351N/A#
3351N/A# CDDL HEADER END
3351N/A#
3817N/A# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
3351N/A#
5680N/ACOMPONENT_BUGDB ?= utility/apache
3351N/A
5680N/ACOMMON_TARGETS=no
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
5680N/A
5680N/AMODULES_CONFIGURE ?= $(CONFIGURE_64)
5680N/AMODULES_BUILD ?= $(BUILD_64)
5680N/AMODULES_INSTALL ?= $(INSTALL_64)
5680N/AMODULES_TEST ?= $(NO_TESTS)
5680N/AMODULES_SYSTEM_TEST ?= $(NO_TESTS)
5170N/A
3351N/AAPACHE_24_USR_PREFIX=/usr/apache2/2.4
3351N/A
3351N/AVARIANT_APACHE_24 = $(BUILD_DIR)/apache24
3351N/A
5680N/AVARIANTS_64 ?= $(VARIANT_APACHE_24)
3351N/A
3351N/ABUILD_64 = $(VARIANTS_64:%=%/$(MACH64)/.built)
3351N/A
3351N/AINSTALL_64 = $(VARIANTS_64:%=%/$(MACH64)/.installed)
3351N/A
3351N/ATEST_64 = $(VARIANTS_64:%=%/$(MACH64)/.tested)
3351N/A
3351N/A$(VARIANT_APACHE_24)/$(MACH64)/.configured: BITS=64
3351N/A
3351N/A$(VARIANT_APACHE_24)/$(MACH64)/.built: BITS=64
3351N/A
3351N/A$(VARIANT_APACHE_24)/$(MACH64)/.tested: BITS=64
3351N/A
3351N/A$(VARIANT_APACHE_24)/%/.configured: APACHE_USR_PREFIX=$(APACHE_24_USR_PREFIX)
3351N/A
3351N/A$(VARIANT_APACHE_24)/%/.built: APACHE_USR_PREFIX=$(APACHE_24_USR_PREFIX)
3351N/A
3351N/A$(VARIANT_APACHE_24)/%/.installed: APACHE_USR_PREFIX=$(APACHE_24_USR_PREFIX)
3351N/A
3351N/A$(BUILD_DIR)/apache24/$(MACH64)/.configured: APXS=$(APACHE_USR_PREFIX)/bin/apxs
3351N/A
3351N/A$(BUILD_DIR)/apache24/$(MACH64)/.built: APXS=$(APACHE_USR_PREFIX)/bin/apxs
3351N/A
5680N/AASLR_MODE= $(ASLR_NOT_APPLICABLE)
5680N/A
5680N/ADEFAULT_COMPILER ?= yes
5680N/A
5680N/Aifeq ($(strip $(BUILD_STYLE)),configure)
5680N/ACONFIGURE_OPTIONS += --with-apxs=$(APXS)
5680N/Aendif
5680N/A
5680N/A# Attempt to define shared module targets.
5680N/Aifeq ($(strip $(MODULES_CONFIGURE)),configure)
5680N/Aconfigure: $(MODULES_CONFIGURE)
5680N/Aendif
5680N/A
5680N/Aifneq ($(strip $(MODULES_BUILD)),)
5680N/Abuild: $(MODULES_BUILD)
5680N/Aendif
5680N/A
5680N/Aifneq ($(strip $(MODULES_INSTALL)),)
5680N/Ainstall: $(MODULES_INSTALL)
5680N/Aendif
5680N/A
5680N/Aifneq ($(strip $(MODULES_TEST)),)
5680N/Atest: $(MODULES_TEST)
5680N/Aendif
5680N/A
5680N/Aifneq ($(strip $(MODULES_SYSTEM_TEST)),)
5680N/Asystem-test: $(MODULES_SYSTEM_TEST)
5680N/Aendif
3351N/A
3351N/Aifeq ($(strip $(DEFAULT_COMPILER)),no)
3351N/ACC=
3351N/ACXX=
3351N/Aendif
3351N/A
3351N/Aifeq ($(strip $(PARFAIT_BUILD)),yes)
5680N/APATH=$(PARFAIT_TOOLS):$(SPRO_VROOT)/bin:$(USRBINDIR)
5680N/Aelse
5680N/APATH=$(SPRO_VROOT)/bin:$(USRBINDIR):$(GNUBIN)
3351N/Aendif
3817N/A
3817N/AREQUIRED_PACKAGES += web/server/apache-24