Makefile revision 3817
390N/A#
390N/A# CDDL HEADER START
390N/A#
390N/A# The contents of this file are subject to the terms of the
390N/A# Common Development and Distribution License (the "License").
390N/A# You may not use this file except in compliance with the License.
390N/A#
390N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
390N/A# or http://www.opensolaris.org/os/licensing.
390N/A# See the License for the specific language governing permissions
390N/A# and limitations under the License.
390N/A#
390N/A# When distributing Covered Code, include this CDDL HEADER in each
390N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
390N/A# If applicable, add the following below this CDDL HEADER, with the
390N/A# fields enclosed by brackets "[]" replaced with your own identifying
390N/A# information: Portions Copyright [yyyy] [name of copyright owner]
390N/A#
390N/A# CDDL HEADER END
390N/A#
390N/A
390N/A#
5575N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
390N/A#
390N/A
390N/Ainclude ../../make-rules/shared-macros.mk
390N/A
390N/ACOMPONENT_NAME= lighttpd
1413N/ACOMPONENT_VERSION= 1.4.35
390N/ACOMPONENT_PROJECT_URL= http://www.lighttpd.net/
390N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
618N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
1413N/A sha256:62c23de053fd82e1bf64f204cb6c6e44ba3c16c01ff1e09da680d982802ef1cc
1413N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE)
1363N/ACOMPONENT_BUGDB= utility/lighttpd
4035N/A
1413N/ATPNO= 17006
3817N/A
3817N/ALIGHTTPD_INSTALLDIR=/usr/lighttpd/1.4
3817N/A
390N/Ainclude $(WS_MAKE_RULES)/prep.mk
1938N/Ainclude $(WS_MAKE_RULES)/configure.mk
1447N/Ainclude $(WS_MAKE_RULES)/ips.mk
390N/A
390N/APATCH_LEVEL=0
390N/A
5795N/A# We need to run autogen because we patch configure.ac file
5795N/ACOMPONENT_PREP_ACTION = ( cd $(@D) ; $(CONFIG_SHELL) autogen.sh )
5575N/A
1413N/A# lighttpd is logging using __FILE__ macro. Cloning will make this happen
3743N/A# using just source file names (without full absolute paths).
5575N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
5575N/A
5575N/ACONFIGURE_PREFIX= /usr/lighttpd/1.4
5575N/ACONFIGURE_MANDIR= $(CONFIGURE_PREFIX)/man
5575N/A
5575N/A# Force lighttpd binaries and private modules to standard path
5575N/ACONFIGURE_SBINDIR.64 = $(CONFIGURE_PREFIX)/sbin
5575N/ACONFIGURE_LIBDIR.64 = $(CONFIGURE_PREFIX)/lib
5575N/A
5575N/ACONFIGURE_OPTIONS += --with-pic
390N/ACONFIGURE_OPTIONS += --with-lua
5795N/ACONFIGURE_OPTIONS += --with-openssl
390N/ACONFIGURE_OPTIONS += --with-pcre
5795N/ACONFIGURE_OPTIONS += --with-ldap
390N/ACONFIGURE_OPTIONS += --with-mysql=/usr/mysql/5.5/bin/mysql_config
5795N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -I/usr/include/openldap -lldap_r-2.4"
390N/ACONFIGURE_OPTIONS += PCRECONFIG="/usr/bin/$(MACH64)/pcre-config"
4337N/A
4337N/A# Enable ASLR for this component
390N/AASLR_MODE = $(ASLR_ENABLE)
3817N/A
3817N/A# common targets
configure: $(CONFIGURE_64)
build: $(BUILD_64)
install: $(INSTALL_64)
test: $(TEST_64)
REQUIRED_PACKAGES += compress/bzip2
REQUIRED_PACKAGES += database/mysql-55
REQUIRED_PACKAGES += database/mysql-55/library
REQUIRED_PACKAGES += library/openldap
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/network
REQUIRED_PACKAGES += web/fastcgi/spawn-fcgi