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