Makefile revision 3996
905N/A#
905N/A# CDDL HEADER START
905N/A#
905N/A# The contents of this file are subject to the terms of the
905N/A# Common Development and Distribution License (the "License").
905N/A# You may not use this file except in compliance with the License.
905N/A#
905N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
905N/A# or http://www.opensolaris.org/os/licensing.
905N/A# See the License for the specific language governing permissions
905N/A# and limitations under the License.
905N/A#
905N/A# When distributing Covered Code, include this CDDL HEADER in each
905N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
905N/A# If applicable, add the following below this CDDL HEADER, with the
905N/A# fields enclosed by brackets "[]" replaced with your own identifying
905N/A# information: Portions Copyright [yyyy] [name of copyright owner]
905N/A#
905N/A# CDDL HEADER END
905N/A#
905N/A
905N/A#
905N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
905N/A#
905N/A
905N/Ainclude ../../make-rules/shared-macros.mk
905N/A
905N/ACOMPONENT_NAME= lighttpd
905N/ACOMPONENT_VERSION= 1.4.35
905N/ACOMPONENT_PROJECT_URL= http://www.lighttpd.net/
905N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
905N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
905N/ACOMPONENT_ARCHIVE_HASH= \
905N/A sha256:62c23de053fd82e1bf64f204cb6c6e44ba3c16c01ff1e09da680d982802ef1cc
905N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE)
905N/ACOMPONENT_BUGDB= utility/lighttpd
905N/A
905N/ATPNO= 17006
905N/A
905N/ALIGHTTPD_INSTALLDIR=/usr/lighttpd/1.4
905N/A
905N/Ainclude $(WS_MAKE_RULES)/prep.mk
905N/Ainclude $(WS_MAKE_RULES)/configure.mk
905N/Ainclude $(WS_MAKE_RULES)/ips.mk
905N/A
905N/APATCH_LEVEL=0
905N/A
905N/A# We need to run autogen because we patch configure.ac file
905N/ACOMPONENT_PREP_ACTION = ( cd $(@D) ; $(CONFIG_SHELL) autogen.sh )
905N/A
905N/A# lighttpd is logging using __FILE__ macro. Cloning will make this happen
905N/A# using just source file names (without full absolute paths).
COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
CONFIGURE_PREFIX= /usr/lighttpd/1.4
CONFIGURE_MANDIR= $(CONFIGURE_PREFIX)/man
CONFIGURE_OPTIONS += --with-pic
CONFIGURE_OPTIONS += --with-lua
CONFIGURE_OPTIONS += --with-openssl
CONFIGURE_OPTIONS += --with-pcre
CONFIGURE_OPTIONS += --with-mysql=/usr/mysql/5.5/bin/$(MACH32)/mysql_config
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -R/usr/mysql/5.5/lib"
# Enable ASLR for this component
ASLR_MODE = $(ASLR_ENABLE)
# common targets
build: $(BUILD_32)
install: $(INSTALL_32)
test: $(TEST_32)
REQUIRED_PACKAGES += compress/bzip2
REQUIRED_PACKAGES += database/mysql-55/library
REQUIRED_PACKAGES += library/pcre
REQUIRED_PACKAGES += library/security/openssl
REQUIRED_PACKAGES += library/security/openssl/openssl-fips-140
REQUIRED_PACKAGES += library/zlib
REQUIRED_PACKAGES += runtime/lua
REQUIRED_PACKAGES += system/core-os
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/math
REQUIRED_PACKAGES += system/network
REQUIRED_PACKAGES += web/fastcgi/spawn-fcgi