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