Makefile revision 3648
3158N/A#
3158N/A# CDDL HEADER START
3158N/A#
3158N/A# The contents of this file are subject to the terms of the
3158N/A# Common Development and Distribution License (the "License").
3158N/A# You may not use this file except in compliance with the License.
3158N/A#
3158N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3158N/A# or http://www.opensolaris.org/os/licensing.
3158N/A# See the License for the specific language governing permissions
3158N/A# and limitations under the License.
3158N/A#
3158N/A# When distributing Covered Code, include this CDDL HEADER in each
3158N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3158N/A# If applicable, add the following below this CDDL HEADER, with the
3158N/A# fields enclosed by brackets "[]" replaced with your own identifying
3158N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3158N/A#
3158N/A# CDDL HEADER END
3158N/A#
3648N/A# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
3158N/A#
3158N/Ainclude ../../make-rules/shared-macros.mk
3158N/A
3158N/ACOMPONENT_NAME= apache2
3158N/ACOMPONENT_VERSION= 2.4.10
3158N/ACOMPONENT_PROJECT_URL= http://httpd.apache.org/
3158N/ACOMPONENT_SRC_NAME= httpd
3158N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
3158N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
3158N/ACOMPONENT_ARCHIVE_HASH= \
3158N/A sha256:ab62f3283de03126fbd509866d8e4fdc9317235b6fca2734ae18827271f9c1fe
3158N/ACOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/httpd/$(COMPONENT_ARCHIVE)
3158N/ACOMPONENT_BUGDB= utility/apache
3158N/A
3158N/ATPNO= 18388
3158N/A
3158N/ACONFIGURE_DEFAULT_DIRS=no
3158N/A
3158N/Ainclude ../../make-rules/prep.mk
3158N/Ainclude ../../make-rules/configure.mk
3158N/Ainclude ../../make-rules/ips.mk
3158N/A
3158N/AASLR_MODE = $(ASLR_ENABLE)
3158N/A
3158N/APATCH_LEVEL=0
3158N/A
3648N/A# We will build two separate mod_ssl versions.
3648N/ACOMPONENT_POST_UNPACK_ACTION = (cd $(SOURCE_DIR)/modules; $(CP) -r ssl ssl-fips-140)
3648N/A
3158N/A# Some patches need configure script re-creation.
3158N/ACOMPONENT_PREP_ACTION +=($(CP) mod_auth_gss/mod_auth_gss.c $(@D)/modules/aaa);
3158N/ACOMPONENT_PREP_ACTION +=($(CP) mod_auth_gss/mod_auth_gss.html $(@D)/docs/manual/mod);
3158N/ACOMPONENT_PREP_ACTION +=(cd $(@D); autoreconf);
3158N/A
3158N/ACONFIGURE_PREFIX = /usr/apache2/2.4
3158N/A
3158N/ACONFIGURE_OPTIONS += --enable-layout=Solaris
3158N/ACONFIGURE_OPTIONS += --enable-mpms-shared=all
3158N/ACONFIGURE_OPTIONS += --enable-mods-shared=all
3158N/ACONFIGURE_OPTIONS += --enable-exception-hook
3158N/ACONFIGURE_OPTIONS += --enable-cgi
3158N/ACONFIGURE_OPTIONS += --enable-suexec
3158N/ACONFIGURE_OPTIONS += --with-suexec-caller=webservd
3158N/ACONFIGURE_OPTIONS += --with-apr=/usr/apr/1.5/bin/$(MACH64)/apr-1-config
3158N/ACONFIGURE_OPTIONS += --with-apr-util=/usr/apr-util/1.5/bin/$(MACH64)/apu-1-config
3158N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
3158N/ACONFIGURE_OPTIONS += LTFLAGS="--silent --tag=CC"
3158N/A
3158N/APATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
3158N/Aifeq ($(strip $(PARFAIT_BUILD)),yes)
3158N/APATH=$(PARFAIT_TOOLS):$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
3158N/Aendif
3158N/A
3158N/ACOMPONENT_POST_INSTALL_ACTION += ($(KSH93) Solaris/customization.sh $(PROTO_DIR))
3158N/A
3477N/Aconfigure: $(CONFIGURE_64)
3477N/A
3158N/Abuild: $(BUILD_64)
3158N/A
3158N/Ainstall: $(INSTALL_64)
3158N/A
3158N/Atest: $(NO_TESTS)
3158N/A
3158N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
3158N/A
3158N/Ainclude ../../make-rules/depend.mk