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#
3996N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
119N/A#
119N/A
119N/Ainclude ../../make-rules/shared-macros.mk
119N/A
1273N/ACOMPONENT_NAME= fastcgi
119N/ACOMPONENT_VERSION= 2.4.0
618N/ACOMPONENT_PROJECT_URL= http://www.fastcgi.com/
1273N/ACOMPONENT_SRC_NAME= fcgi
1273N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
119N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:66fc45c6b36a21bf2fbbb68e90f780cc21a9da1fffbae75e76d2b4402d3f05b9
618N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)dist/$(COMPONENT_ARCHIVE)
1273N/ACOMPONENT_BUGDB= library/fcgi
119N/A
3661N/ATPNO= 8415
3661N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/configure.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
3996N/Ainclude $(WS_MAKE_RULES)/lint-libraries.mk
119N/A
119N/ACONFIGURE_OPTIONS += --disable-static
119N/ACONFIGURE_OPTIONS += --with-pic
119N/ACONFIGURE_OPTIONS += --includedir=$(CONFIGURE_INCLUDEDIR)/fastcgi
119N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
459N/ACONFIGURE_OPTIONS += CXXFLAGS="$(CFLAGS) $(studio_XREGS)"
119N/A
2027N/ACXX += $(studio_NORUNPATH)
2027N/A
2027N/ACOMPONENT_PREP_ACTION = (cd $(@D) ; touch NEWS AUTHORS ChangeLog ; autoreconf -if)
2027N/A
119N/A# common targets
119N/Abuild: $(BUILD_32_and_64)
119N/A
119N/Ainstall: $(INSTALL_32_and_64)
119N/A
181N/Atest: $(NO_TESTS)
119N/A
3996N/A
119N/A
3996N/AREQUIRED_PACKAGES += system/library
3996N/AREQUIRED_PACKAGES += system/library/c++-runtime