Makefile revision 119
70N/A#
70N/A# CDDL HEADER START
70N/A#
70N/A# The contents of this file are subject to the terms of the
371N/A# Common Development and Distribution License (the "License").
70N/A# You may not use this file except in compliance with the License.
70N/A#
70N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
70N/A# or http://www.opensolaris.org/os/licensing.
70N/A# See the License for the specific language governing permissions
70N/A# and limitations under the License.
70N/A#
70N/A# When distributing Covered Code, include this CDDL HEADER in each
70N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
70N/A# If applicable, add the following below this CDDL HEADER, with the
70N/A# fields enclosed by brackets "[]" replaced with your own identifying
70N/A# information: Portions Copyright [yyyy] [name of copyright owner]
70N/A#
70N/A# CDDL HEADER END
70N/A#
70N/A
70N/A#
70N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
70N/A#
70N/A
70N/Ainclude ../../make-rules/shared-macros.mk
70N/A
70N/ACOMPONENT_NAME= fcgi
70N/ACOMPONENT_VERSION= 2.4.0
70N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
70N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
70N/ACOMPONENT_ARCHIVE_HASH= sha1:2329404159e8b8315e524b9eaf1de763202c6e6a
493N/ACOMPONENT_ARCHIVE_URL= http://www.fastcgi.com/dist/$(COMPONENT_ARCHIVE)
70N/A
70N/Ainclude ../../make-rules/prep.mk
70N/Ainclude ../../make-rules/configure.mk
493N/Ainclude ../../make-rules/ips.mk
70N/A
70N/ALIBNAME= fcgi
493N/ALINTOUT= lint.out
70N/A
70N/ACONFIGURE_OPTIONS += --disable-static
371N/ACONFIGURE_OPTIONS += --with-pic
70N/ACONFIGURE_OPTIONS += --includedir=$(CONFIGURE_INCLUDEDIR)/fastcgi
70N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
70N/ACONFIGURE_OPTIONS += CXXFLAGS="$(CFLAGS)"
70N/A
70N/APKG_PROTO_DIRS += $(COMPONENT_DIR)/$(COMPONENT_SRC)
70N/A
70N/ACOMPONENT_POST_BUILD_ACTION = \
493N/A (cd $(@D); $(LINT) -nsvx $(CC_BITS) -o $(LIBNAME) -I$(@D) \
70N/A -I$(COMPONENT_DIR)/$(COMPONENT_SRC)/include \
70N/A $(COMPONENT_DIR)/llib-lfcgi > $(LINTOUT) 2>&1)
493N/A
70N/ACOMPONENT_POST_INSTALL_ACTION = \
70N/A (cd $(@D); $(INSTALL) llib-lfcgi.ln \
70N/A $(PROTO_DIR)/$(CONFIGURE_LIBDIR.$(BITS)))
70N/A
192N/A# common targets
493N/Abuild: $(BUILD_32_and_64)
192N/A
70N/Ainstall: $(INSTALL_32_and_64)
test:
@echo "no tests available"
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk