Makefile revision 1273
99N/A#
99N/A# CDDL HEADER START
99N/A#
99N/A# The contents of this file are subject to the terms of the
99N/A# Common Development and Distribution License (the "License").
99N/A# You may not use this file except in compliance with the License.
99N/A#
99N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
99N/A# or http://www.opensolaris.org/os/licensing.
99N/A# See the License for the specific language governing permissions
99N/A# and limitations under the License.
99N/A#
99N/A# When distributing Covered Code, include this CDDL HEADER in each
99N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
99N/A# If applicable, add the following below this CDDL HEADER, with the
99N/A# fields enclosed by brackets "[]" replaced with your own identifying
99N/A# information: Portions Copyright [yyyy] [name of copyright owner]
99N/A#
99N/A# CDDL HEADER END
99N/A#
3996N/A
99N/A#
127N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
99N/A#
2086N/A
99N/Ainclude ../../make-rules/shared-macros.mk
99N/A
2086N/ACOMPONENT_NAME= lighttpd
99N/ACOMPONENT_VERSION= 1.4.23
99N/ACOMPONENT_PROJECT_URL= http://www.lighttpd.net/
844N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2086N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2086N/ACOMPONENT_ARCHIVE_HASH= \
2086N/A sha256:8555db22ed7d429160701555611d8cd5eff42fc7e6e3ad3b050279c9b2145469
1364N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE)
99N/ACOMPONENT_BUGDB= utility/lighttpd
3661N/A
3661N/ALIGHTTPD_INSTALLDIR=/usr/lighttpd/1.4
3996N/A
3996N/Ainclude ../../make-rules/prep.mk
3996N/Ainclude ../../make-rules/configure.mk
99N/Ainclude ../../make-rules/ips.mk
2086N/A
2086N/APATCH_LEVEL=0
2086N/A
2086N/A# libtool linking will fail unless we re-create configure.
2086N/ACOMPONENT_PREP_ACTION = ( cd $(@D) ; $(CONFIG_SHELL) autogen.sh )
2086N/A
2086N/A# lighttpd is logging using __FILE__ macro. Cloning will make this happen
2086N/A# using just source file names (without full absolute paths).
99N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
99N/A
99N/ACONFIGURE_PREFIX= /usr/lighttpd/1.4
99N/ACONFIGURE_MANDIR= $(CONFIGURE_PREFIX)/man
99N/A
2086N/ACONFIGURE_OPTIONS += --with-pic
99N/ACONFIGURE_OPTIONS += --with-lua
99N/ACONFIGURE_OPTIONS += --with-openssl
3996N/ACONFIGURE_OPTIONS += --with-pcre
3996N/ACONFIGURE_OPTIONS += --with-mysql=/usr/mysql/bin/mysql_config
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
# common targets
build: $(BUILD_32)
install: $(INSTALL_32)
test: $(TEST_32)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk