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