Makefile revision 3970
0N/A#
2362N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2362N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
0N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/Ainclude ../../make-rules/shared-macros.mk
0N/A
0N/ACOMPONENT_NAME= apache2
0N/ACOMPONENT_VERSION= 2.2.29
0N/ACOMPONENT_PROJECT_URL= http://httpd.apache.org/
0N/ACOMPONENT_SRC_NAME= httpd
0N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
0N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
0N/ACOMPONENT_ARCHIVE_HASH= \
4378N/A sha256:cec2878884b758b0d159a1385b2667a2ae0ca21b0bc7bcc8a9a41b5cfa5452ff
4378N/ACOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/httpd/$(COMPONENT_ARCHIVE)
4378N/ACOMPONENT_BUGDB= utility/apache
4378N/ATPNO_APACHE= 20284
4378N/ATPNO_MOD_SED= 8897
4378N/A
4378N/ACONFIGURE_DEFAULT_DIRS=no
4378N/A
4378N/Ainclude ../../make-rules/prep.mk
0N/Ainclude ../../make-rules/configure.mk
0N/Ainclude ../../make-rules/ips.mk
0N/A
0N/AASLR_MODE = $(ASLR_ENABLE)
0N/A
0N/APATCH_LEVEL=0
0N/A
0N/A# Some patches need configure script re-creation.
0N/ACOMPONENT_PREP_ACTION +=($(CP) mod_sed/* $(@D)/modules/filters);
0N/ACOMPONENT_PREP_ACTION +=($(CP) mod_auth_gss/mod_auth_gss.c $(@D)/modules/aaa);
0N/ACOMPONENT_PREP_ACTION +=($(CP) mod_auth_gss/mod_auth_gss.html $(@D)/docs/manual/mod);
0N/ACOMPONENT_PREP_ACTION +=(cd $(@D); autoreconf);
0N/A
0N/AVARIANT_PREFORK = $(BUILD_DIR)/prefork
0N/AVARIANT_WORKER = $(BUILD_DIR)/worker
0N/A
0N/AVARIANTS = $(VARIANT_WORKER) $(VARIANT_PREFORK)
0N/A
0N/ABUILD_32 = $(VARIANTS:%=%/$(MACH32)/.built)
0N/ABUILD_64 = $(VARIANTS:%=%/$(MACH64)/.built)
0N/A
0N/AINSTALL_32 = $(VARIANTS:%=%/$(MACH32)/.installed)
0N/AINSTALL_64 = $(VARIANTS:%=%/$(MACH64)/.installed)
0N/A
0N/A$(VARIANT_PREFORK)/$(MACH64)/.configured: BITS=64
0N/A$(VARIANT_WORKER)/$(MACH64)/.configured: BITS=64
0N/A
0N/A$(VARIANT_PREFORK)/%/.configured: CONFIGURE_OPTIONS += --with-mpm=prefork
0N/A$(VARIANT_WORKER)/%/.configured: CONFIGURE_OPTIONS += --with-mpm=worker
0N/A
0N/A# pipefail wouldn't allow APR-util version check
0N/ACONFIGURE_ENV += SHELLOPTS=
0N/A
0N/ACONFIGURE_PREFIX = /usr/apache2/2.2
0N/A
0N/ACONFIGURE_OPTIONS += --enable-mods-shared=all
0N/ACONFIGURE_OPTIONS += --enable-so
0N/ACONFIGURE_OPTIONS += --enable-suexec
0N/ACONFIGURE_OPTIONS += --with-suexec-caller=webservd
0N/ACONFIGURE_OPTIONS += --enable-proxy
0N/ACONFIGURE_OPTIONS += --enable-proxy-connect
0N/ACONFIGURE_OPTIONS += --enable-proxy-ftp
0N/ACONFIGURE_OPTIONS += --enable-proxy-http
0N/ACONFIGURE_OPTIONS += --enable-proxy-ajp
0N/ACONFIGURE_OPTIONS += --enable-proxy-balancer
0N/ACONFIGURE_OPTIONS += --enable-cache
0N/ACONFIGURE_OPTIONS += --enable-file-cache
0N/ACONFIGURE_OPTIONS += --enable-disk-cache
0N/ACONFIGURE_OPTIONS += --enable-mem-cache
0N/ACONFIGURE_OPTIONS += --enable-deflate
0N/ACONFIGURE_OPTIONS += --enable-cgid
0N/ACONFIGURE_OPTIONS += --enable-cgi
0N/ACONFIGURE_OPTIONS += --enable-authnz-ldap
0N/ACONFIGURE_OPTIONS += --enable-ldap
0N/ACONFIGURE_OPTIONS += --enable-ssl
0N/ACONFIGURE_OPTIONS += --enable-exception-hook
0N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -DSSL_EXPERIMENTAL -DSSL_ENGINE"
0N/ACONFIGURE_OPTIONS += LTFLAGS="--silent --tag=CC"
0N/ACONFIGURE_OPTIONS.32 += --enable-layout=Solaris-Apache2
0N/ACONFIGURE_OPTIONS.64 += --enable-layout=Solaris-Apache2-$(MACH64)
0N/ACONFIGURE_OPTIONS.32 += --with-apr=/usr/apr/1.5/bin/apr-1-config
0N/ACONFIGURE_OPTIONS.64 += --with-apr=/usr/apr/1.5/bin/$(MACH64)/apr-1-config
0N/ACONFIGURE_OPTIONS.32 += --with-apr-util=/usr/apr-util/1.5/bin/apu-1-config
0N/ACONFIGURE_OPTIONS.64 += --with-apr-util=/usr/apr-util/1.5/bin/$(MACH64)/apu-1-config
0N/ACONFIGURE_OPTIONS.32 += --with-pcre=/usr/bin/pcre-config
0N/ACONFIGURE_OPTIONS.64 += --with-pcre=/usr/bin/$(MACH64)/pcre-config
0N/A
0N/APATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
0N/Aifeq ($(strip $(PARFAIT_BUILD)),yes)
0N/APATH=$(PARFAIT_TOOLS):$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
0N/Aendif
0N/A
0N/Aconfigure: $(CONFIGURE_32_and_64)
0N/A
0N/Abuild: $(BUILD_32_and_64)
0N/A
0N/AAP_CONFIG_LAYOUT_H=include/ap_config_layout.h
0N/A
0N/Ainstall: $(INSTALL_32_and_64)
0N/A # Some files installed in proto area need to be fixed.
0N/A $(KSH93) Solaris/customization.sh $(PROTO_DIR) $(MACH64)
0N/A # Common header files for 32 and 64 bit variants are needed.
0N/A /usr/bin/diff -D __$(MACH64) \
0N/A $(VARIANT_PREFORK)/$(MACH32)/$(AP_CONFIG_LAYOUT_H) \
0N/A $(VARIANT_PREFORK)/$(MACH64)/$(AP_CONFIG_LAYOUT_H) \
0N/A > $(PROTO_DIR)$(CONFIGURE_PREFIX)/$(AP_CONFIG_LAYOUT_H) ; true
0N/A
0N/Atest: $(NO_TESTS)
0N/A
0N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
0N/A
0N/Ainclude ../../make-rules/depend.mk
0N/A