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