Makefile revision 3996
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.
0N/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#
2362N/A# CDDL HEADER END
2362N/A#
2362N/A# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/Ainclude ../../make-rules/shared-macros.mk
5361N/A
5361N/ACOMPONENT_NAME= apache2
5361N/ACOMPONENT_VERSION= 2.4.12
5361N/ACOMPONENT_PROJECT_URL= http://httpd.apache.org/
5361N/ACOMPONENT_SRC_NAME= httpd
0N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
0N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
0N/ACOMPONENT_ARCHIVE_HASH= \
0N/A sha256:ee1e6901485feab7384371dbdd91c40fcb1b5e3f75583bb0d387b90d8c4176c8
5361N/ACOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/httpd/$(COMPONENT_ARCHIVE)
0N/ACOMPONENT_BUGDB= utility/apache
0N/A
0N/ATPNO= 21402
0N/A
0N/ACONFIGURE_DEFAULT_DIRS=no
0N/A
0N/Ainclude $(WS_MAKE_RULES)/prep.mk
0N/Ainclude $(WS_MAKE_RULES)/configure.mk
0N/Ainclude $(WS_MAKE_RULES)/ips.mk
0N/A
0N/AASLR_MODE = $(ASLR_ENABLE)
0N/A
0N/APATCH_LEVEL=0
0N/A
0N/A# We will build two separate mod_ssl versions.
0N/ACOMPONENT_POST_UNPACK_ACTION = (cd $(SOURCE_DIR)/modules; $(CP) -r ssl ssl-fips-140)
0N/A
0N/A# Some patches need configure script re-creation.
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/ACONFIGURE_PREFIX = /usr/apache2/2.4
0N/A
0N/ACONFIGURE_OPTIONS += --enable-layout=Solaris
0N/ACONFIGURE_OPTIONS += --enable-mpms-shared=all
0N/ACONFIGURE_OPTIONS += --enable-mods-shared=all
0N/ACONFIGURE_OPTIONS += --enable-exception-hook
0N/ACONFIGURE_OPTIONS += --enable-cgi
0N/ACONFIGURE_OPTIONS += --enable-suexec
0N/ACONFIGURE_OPTIONS += --with-suexec-caller=webservd
0N/ACONFIGURE_OPTIONS += --with-apr=/usr/apr/1.5/bin/$(MACH64)/apr-1-config
0N/ACONFIGURE_OPTIONS += --with-apr-util=/usr/apr-util/1.5/bin/$(MACH64)/apu-1-config
0N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
0N/ACONFIGURE_OPTIONS += LTFLAGS="--silent --tag=CC"
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/ACOMPONENT_POST_INSTALL_ACTION += ($(KSH93) Solaris/customization.sh $(PROTO_DIR))
0N/A
0N/Aconfigure: $(CONFIGURE_64)
0N/A
0N/Abuild: $(BUILD_64)
0N/A
0N/Ainstall: $(INSTALL_64)
0N/A
0N/Atest: $(NO_TESTS)
0N/A
0N/A
0N/AREQUIRED_PACKAGES += library/apr-15
0N/AREQUIRED_PACKAGES += library/apr-util-15
0N/AREQUIRED_PACKAGES += library/apr-util-15/apr-ldap
0N/AREQUIRED_PACKAGES += library/apr-util-15/dbd-mysql
0N/AREQUIRED_PACKAGES += library/apr-util-15/dbd-sqlite
0N/AREQUIRED_PACKAGES += library/libxml2
0N/AREQUIRED_PACKAGES += library/openldap
0N/AREQUIRED_PACKAGES += library/pcre
0N/AREQUIRED_PACKAGES += library/security/openssl
0N/AREQUIRED_PACKAGES += library/security/openssl/openssl-fips-140
0N/AREQUIRED_PACKAGES += library/zlib
0N/AREQUIRED_PACKAGES += runtime/lua
0N/AREQUIRED_PACKAGES += runtime/perl-512
0N/AREQUIRED_PACKAGES += shell/ksh93
0N/AREQUIRED_PACKAGES += system/core-os
0N/AREQUIRED_PACKAGES += system/library
0N/AREQUIRED_PACKAGES += system/library/math
0N/AREQUIRED_PACKAGES += system/library/security/gss
0N/AREQUIRED_PACKAGES += system/network
0N/A