Makefile revision 618
a237e38e9161f0acd6451439d4a7dd597e66291dth#
a237e38e9161f0acd6451439d4a7dd597e66291dth# CDDL HEADER START
a237e38e9161f0acd6451439d4a7dd597e66291dth#
a237e38e9161f0acd6451439d4a7dd597e66291dth# The contents of this file are subject to the terms of the
a237e38e9161f0acd6451439d4a7dd597e66291dth# Common Development and Distribution License (the "License").
a237e38e9161f0acd6451439d4a7dd597e66291dth# You may not use this file except in compliance with the License.
a237e38e9161f0acd6451439d4a7dd597e66291dth#
a237e38e9161f0acd6451439d4a7dd597e66291dth# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a237e38e9161f0acd6451439d4a7dd597e66291dth# or http://www.opensolaris.org/os/licensing.
a237e38e9161f0acd6451439d4a7dd597e66291dth# See the License for the specific language governing permissions
a237e38e9161f0acd6451439d4a7dd597e66291dth# and limitations under the License.
a237e38e9161f0acd6451439d4a7dd597e66291dth#
a237e38e9161f0acd6451439d4a7dd597e66291dth# When distributing Covered Code, include this CDDL HEADER in each
a237e38e9161f0acd6451439d4a7dd597e66291dth# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a237e38e9161f0acd6451439d4a7dd597e66291dth# If applicable, add the following below this CDDL HEADER, with the
a237e38e9161f0acd6451439d4a7dd597e66291dth# fields enclosed by brackets "[]" replaced with your own identifying
a237e38e9161f0acd6451439d4a7dd597e66291dth# information: Portions Copyright [yyyy] [name of copyright owner]
a237e38e9161f0acd6451439d4a7dd597e66291dth#
a237e38e9161f0acd6451439d4a7dd597e66291dth# CDDL HEADER END
a237e38e9161f0acd6451439d4a7dd597e66291dth#
a237e38e9161f0acd6451439d4a7dd597e66291dth
a237e38e9161f0acd6451439d4a7dd597e66291dth#
a237e38e9161f0acd6451439d4a7dd597e66291dth# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
a237e38e9161f0acd6451439d4a7dd597e66291dth#
a237e38e9161f0acd6451439d4a7dd597e66291dth
a237e38e9161f0acd6451439d4a7dd597e66291dthinclude ../../make-rules/shared-macros.mk
a237e38e9161f0acd6451439d4a7dd597e66291dth
a237e38e9161f0acd6451439d4a7dd597e66291dthCOMPONENT_NAME= fcgi
a237e38e9161f0acd6451439d4a7dd597e66291dthCOMPONENT_VERSION= 2.4.0
a237e38e9161f0acd6451439d4a7dd597e66291dthCOMPONENT_PROJECT_URL= http://www.fastcgi.com/
a237e38e9161f0acd6451439d4a7dd597e66291dthCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
a237e38e9161f0acd6451439d4a7dd597e66291dthCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
COMPONENT_ARCHIVE_HASH= sha1:2329404159e8b8315e524b9eaf1de763202c6e6a
COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)dist/$(COMPONENT_ARCHIVE)
include ../../make-rules/prep.mk
include ../../make-rules/configure.mk
include ../../make-rules/ips.mk
include ../../make-rules/lint-libraries.mk
CONFIGURE_OPTIONS += --disable-static
CONFIGURE_OPTIONS += --with-pic
CONFIGURE_OPTIONS += --includedir=$(CONFIGURE_INCLUDEDIR)/fastcgi
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
CONFIGURE_OPTIONS += CXXFLAGS="$(CFLAGS) $(studio_XREGS)"
# common targets
build: $(BUILD_32_and_64)
install: $(INSTALL_32_and_64)
test: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk