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