119N/A#
119N/A# CDDL HEADER START
119N/A#
119N/A# The contents of this file are subject to the terms of the
119N/A# Common Development and Distribution License (the "License").
119N/A# You may not use this file except in compliance with the License.
119N/A#
119N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
119N/A# or http://www.opensolaris.org/os/licensing.
119N/A# See the License for the specific language governing permissions
119N/A# and limitations under the License.
119N/A#
119N/A# When distributing Covered Code, include this CDDL HEADER in each
119N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
119N/A# If applicable, add the following below this CDDL HEADER, with the
119N/A# fields enclosed by brackets "[]" replaced with your own identifying
119N/A# information: Portions Copyright [yyyy] [name of copyright owner]
119N/A#
119N/A# CDDL HEADER END
119N/A#
119N/A
119N/A#
5356N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
119N/A#
5841N/ABUILD_BITS= 64_and_32
119N/Ainclude ../../make-rules/shared-macros.mk
119N/A
1244N/ACOMPONENT_NAME= fastcgi
119N/ACOMPONENT_VERSION= 2.4.0
618N/ACOMPONENT_PROJECT_URL= http://www.fastcgi.com/
1244N/ACOMPONENT_SRC_NAME= fcgi
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:66fc45c6b36a21bf2fbbb68e90f780cc21a9da1fffbae75e76d2b4402d3f05b9
618N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)dist/$(COMPONENT_ARCHIVE)
1258N/ACOMPONENT_BUGDB= library/fcgi
119N/A
2899N/ATPNO= 8415
2899N/A
5680N/ATEST_TARGET= $(NO_TESTS)
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
119N/A
5715N/A# Tell libtool to pass this flag through using -Wc.
5715N/A# https://www.gnu.org/software/libtool/manual/html_node/Stripped-link-flags.html
5715N/ALDFLAGS += -Wc,$(studio_NORUNPATH)
5715N/A
7292N/ACXX += -std=sun03
7292N/A
5841N/A# For now, install 32-bit and 64-bit binaries to the same location. This will
5841N/A# cause problems if we ever install 32-bit and 64-bit concurrently. This is
5841N/A# likely the safest option until we can either stop shipping 32-bit or until it
5841N/A# can be verified that the bindir path does not matter.
5841N/ACONFIGURE_BINDIR.32= $(USRBINDIR)
119N/ACONFIGURE_OPTIONS += --disable-static
119N/ACONFIGURE_OPTIONS += --with-pic
119N/ACONFIGURE_OPTIONS += --includedir=$(CONFIGURE_INCLUDEDIR)/fastcgi
1940N/A
1940N/ACOMPONENT_PREP_ACTION = (cd $(@D) ; touch NEWS AUTHORS ChangeLog ; autoreconf -if)
1940N/A
3817N/AREQUIRED_PACKAGES += system/library/c++-runtime