Makefile revision 5356
3158N/A#
3158N/A# CDDL HEADER START
3158N/A#
3158N/A# The contents of this file are subject to the terms of the
3158N/A# Common Development and Distribution License (the "License").
3158N/A# You may not use this file except in compliance with the License.
3158N/A#
3158N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3158N/A# or http://www.opensolaris.org/os/licensing.
3158N/A# See the License for the specific language governing permissions
3158N/A# and limitations under the License.
3158N/A#
3158N/A# When distributing Covered Code, include this CDDL HEADER in each
3158N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3158N/A# If applicable, add the following below this CDDL HEADER, with the
3158N/A# fields enclosed by brackets "[]" replaced with your own identifying
3158N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3158N/A#
3158N/A# CDDL HEADER END
3158N/A#
3158N/A
3158N/A#
3158N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
3158N/A#
3158N/A
3158N/Ainclude ../../make-rules/shared-macros.mk
3158N/A
3158N/ACOMPONENT_NAME= fastcgi
3158N/ACOMPONENT_VERSION= 2.4.0
3158N/ACOMPONENT_PROJECT_URL= http://www.fastcgi.com/
3158N/ACOMPONENT_SRC_NAME= fcgi
3158N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
3158N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
3158N/ACOMPONENT_ARCHIVE_HASH= \
3158N/A sha256:66fc45c6b36a21bf2fbbb68e90f780cc21a9da1fffbae75e76d2b4402d3f05b9
3158N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)dist/$(COMPONENT_ARCHIVE)
3158N/ACOMPONENT_BUGDB= library/fcgi
3158N/A
3158N/ATPNO= 8415
3158N/A
3158N/Ainclude $(WS_MAKE_RULES)/prep.mk
3158N/Ainclude $(WS_MAKE_RULES)/configure.mk
3158N/Ainclude $(WS_MAKE_RULES)/ips.mk
3158N/Ainclude $(WS_MAKE_RULES)/lint-libraries.mk
3158N/A
3158N/ACONFIGURE_OPTIONS += --bindir=/usr/bin
3158N/ACONFIGURE_OPTIONS += --disable-static
3158N/ACONFIGURE_OPTIONS += --with-pic
3158N/ACONFIGURE_OPTIONS += --includedir=$(CONFIGURE_INCLUDEDIR)/fastcgi
3158N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
3158N/ACONFIGURE_OPTIONS += CXXFLAGS="$(CFLAGS) $(studio_XREGS)"
3158N/A
3158N/ACXX += $(studio_NORUNPATH)
3158N/A
3158N/ACOMPONENT_PREP_ACTION = (cd $(@D) ; touch NEWS AUTHORS ChangeLog ; autoreconf -if)
3158N/A
3158N/A# common targets
3158N/Aconfigure: $(CONFIGURE_32_and_64)
3158N/A
3158N/Abuild: $(BUILD_32_and_64)
3158N/A
3158N/Ainstall: $(INSTALL_32_and_64)
3158N/A
3158N/Atest: $(NO_TESTS)
3158N/A
3158N/Asystem-test: $(NO_TESTS)
3158N/A
3158N/A
3158N/AREQUIRED_PACKAGES += system/library
3158N/AREQUIRED_PACKAGES += system/library/c++-runtime
3158N/A