Makefile revision 2899
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews#
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# CDDL HEADER START
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews#
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# The contents of this file are subject to the terms of the
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# Common Development and Distribution License (the "License").
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# You may not use this file except in compliance with the License.
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews#
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# or http://www.opensolaris.org/os/licensing.
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# See the License for the specific language governing permissions
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# and limitations under the License.
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews#
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# If applicable, add the following below this CDDL HEADER, with the
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews#
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# CDDL HEADER END
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews#
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews#
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews#
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrewsinclude ../../make-rules/shared-macros.mk
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews
4bb70681e055760f6ba342055dc945f6b73361dfMark AndrewsCOMPONENT_NAME= fastcgi
4bb70681e055760f6ba342055dc945f6b73361dfMark AndrewsCOMPONENT_VERSION= 2.4.0
4bb70681e055760f6ba342055dc945f6b73361dfMark AndrewsCOMPONENT_PROJECT_URL= http://www.fastcgi.com/
4bb70681e055760f6ba342055dc945f6b73361dfMark AndrewsCOMPONENT_SRC_NAME= fcgi
4bb70681e055760f6ba342055dc945f6b73361dfMark AndrewsCOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
4bb70681e055760f6ba342055dc945f6b73361dfMark AndrewsCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
4bb70681e055760f6ba342055dc945f6b73361dfMark AndrewsCOMPONENT_ARCHIVE_HASH= \
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews sha256:66fc45c6b36a21bf2fbbb68e90f780cc21a9da1fffbae75e76d2b4402d3f05b9
4bb70681e055760f6ba342055dc945f6b73361dfMark AndrewsCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)dist/$(COMPONENT_ARCHIVE)
4bb70681e055760f6ba342055dc945f6b73361dfMark AndrewsCOMPONENT_BUGDB= library/fcgi
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews
4bb70681e055760f6ba342055dc945f6b73361dfMark AndrewsTPNO= 8415
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrewsinclude ../../make-rules/prep.mk
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrewsinclude ../../make-rules/configure.mk
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrewsinclude ../../make-rules/ips.mk
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrewsinclude ../../make-rules/lint-libraries.mk
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews
4bb70681e055760f6ba342055dc945f6b73361dfMark AndrewsCONFIGURE_OPTIONS += --disable-static
4bb70681e055760f6ba342055dc945f6b73361dfMark AndrewsCONFIGURE_OPTIONS += --with-pic
4bb70681e055760f6ba342055dc945f6b73361dfMark AndrewsCONFIGURE_OPTIONS += --includedir=$(CONFIGURE_INCLUDEDIR)/fastcgi
4bb70681e055760f6ba342055dc945f6b73361dfMark AndrewsCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
4bb70681e055760f6ba342055dc945f6b73361dfMark AndrewsCONFIGURE_OPTIONS += CXXFLAGS="$(CFLAGS) $(studio_XREGS)"
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews
4bb70681e055760f6ba342055dc945f6b73361dfMark AndrewsCXX += $(studio_NORUNPATH)
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews
4bb70681e055760f6ba342055dc945f6b73361dfMark AndrewsCOMPONENT_PREP_ACTION = (cd $(@D) ; touch NEWS AUTHORS ChangeLog ; autoreconf -if)
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews# common targets
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrewsbuild: $(BUILD_32_and_64)
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrewsinstall: $(INSTALL_32_and_64)
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrewstest: $(NO_TESTS)
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews
4bb70681e055760f6ba342055dc945f6b73361dfMark AndrewsBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrewsinclude ../../make-rules/depend.mk
4bb70681e055760f6ba342055dc945f6b73361dfMark Andrews