Makefile revision 5841
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync#
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# CDDL HEADER START
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync#
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# The contents of this file are subject to the terms of the
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# Common Development and Distribution License (the "License").
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# You may not use this file except in compliance with the License.
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync#
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# or http://www.opensolaris.org/os/licensing.
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# See the License for the specific language governing permissions
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# and limitations under the License.
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync#
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# When distributing Covered Code, include this CDDL HEADER in each
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# If applicable, add the following below this CDDL HEADER, with the
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync#
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# CDDL HEADER END
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync#
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync#
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync#
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncBUILD_BITS= 64_and_32
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncinclude ../../make-rules/shared-macros.mk
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncCOMPONENT_NAME= fastcgi
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncCOMPONENT_VERSION= 2.4.0
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncCOMPONENT_PROJECT_URL= http://www.fastcgi.com/
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncCOMPONENT_SRC_NAME= fcgi
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncCOMPONENT_ARCHIVE_HASH= \
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync sha256:66fc45c6b36a21bf2fbbb68e90f780cc21a9da1fffbae75e76d2b4402d3f05b9
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)dist/$(COMPONENT_ARCHIVE)
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncCOMPONENT_BUGDB= library/fcgi
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncTPNO= 8415
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncTEST_TARGET= $(NO_TESTS)
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncinclude $(WS_MAKE_RULES)/common.mk
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# Tell libtool to pass this flag through using -Wc.
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# https://www.gnu.org/software/libtool/manual/html_node/Stripped-link-flags.html
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncLDFLAGS += -Wc,$(studio_NORUNPATH)
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# For now, install 32-bit and 64-bit binaries to the same location. This will
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# cause problems if we ever install 32-bit and 64-bit concurrently. This is
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# likely the safest option until we can either stop shipping 32-bit or until it
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# can be verified that the bindir path does not matter.
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncCONFIGURE_BINDIR.32= $(USRBINDIR)
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncCONFIGURE_OPTIONS += --disable-static
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncCONFIGURE_OPTIONS += --with-pic
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncCONFIGURE_OPTIONS += --includedir=$(CONFIGURE_INCLUDEDIR)/fastcgi
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncCOMPONENT_PREP_ACTION = (cd $(@D) ; touch NEWS AUTHORS ChangeLog ; autoreconf -if)
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncASLR_MODE = $(ASLR_ENABLE)
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncREQUIRED_PACKAGES += system/library/c++-runtime
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync