components/fastcgi/Makefile
changeset 5682 94c0ca64c022
parent 5358 fe333c2ff3dc
child 5717 0ce9ba275890
equal deleted inserted replaced
5681:b8fe51f35344 5682:94c0ca64c022
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 
    25 # Prefer 32-bit as default fastcgi target matters.
       
    26 BUILD_BITS= 32_and_64
    26 include ../../make-rules/shared-macros.mk
    27 include ../../make-rules/shared-macros.mk
    27 
    28 
    28 COMPONENT_NAME=		fastcgi
    29 COMPONENT_NAME=		fastcgi
    29 COMPONENT_VERSION=	2.4.0
    30 COMPONENT_VERSION=	2.4.0
    30 COMPONENT_PROJECT_URL=	http://www.fastcgi.com/
    31 COMPONENT_PROJECT_URL=	http://www.fastcgi.com/
    31 COMPONENT_SRC_NAME=	fcgi
    32 COMPONENT_SRC_NAME=	fcgi
    32 COMPONENT_SRC=		$(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
       
    33 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
       
    34 COMPONENT_ARCHIVE_HASH=	\
    33 COMPONENT_ARCHIVE_HASH=	\
    35     sha256:66fc45c6b36a21bf2fbbb68e90f780cc21a9da1fffbae75e76d2b4402d3f05b9
    34     sha256:66fc45c6b36a21bf2fbbb68e90f780cc21a9da1fffbae75e76d2b4402d3f05b9
    36 COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)dist/$(COMPONENT_ARCHIVE)
    35 COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)dist/$(COMPONENT_ARCHIVE)
    37 COMPONENT_BUGDB=	library/fcgi
    36 COMPONENT_BUGDB=	library/fcgi
    38 
    37 
    39 TPNO=			8415
    38 TPNO=			8415
    40 
    39 
    41 include $(WS_MAKE_RULES)/prep.mk
    40 TEST_TARGET= $(NO_TESTS)
    42 include $(WS_MAKE_RULES)/configure.mk
    41 include $(WS_MAKE_RULES)/common.mk
    43 include $(WS_MAKE_RULES)/ips.mk
       
    44 include $(WS_MAKE_RULES)/lint-libraries.mk
       
    45 
    42 
    46 CONFIGURE_OPTIONS += --bindir=/usr/bin
    43 CONFIGURE_OPTIONS += --bindir=$(USRBINDIR)
    47 CONFIGURE_OPTIONS += --disable-static
    44 CONFIGURE_OPTIONS += --disable-static
    48 CONFIGURE_OPTIONS += --with-pic
    45 CONFIGURE_OPTIONS += --with-pic
    49 CONFIGURE_OPTIONS += --includedir=$(CONFIGURE_INCLUDEDIR)/fastcgi
    46 CONFIGURE_OPTIONS += --includedir=$(CONFIGURE_INCLUDEDIR)/fastcgi
    50 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
       
    51 CONFIGURE_OPTIONS += CXXFLAGS="$(CFLAGS) $(studio_XREGS)"
       
    52 
       
    53 CXX += $(studio_NORUNPATH)
       
    54 
    47 
    55 COMPONENT_PREP_ACTION = (cd $(@D) ; touch NEWS AUTHORS ChangeLog ; autoreconf -if)
    48 COMPONENT_PREP_ACTION = (cd $(@D) ; touch NEWS AUTHORS ChangeLog ; autoreconf -if)
    56 
    49 
    57 # common targets
       
    58 configure:	$(CONFIGURE_32_and_64)
       
    59 
       
    60 build:     $(BUILD_32_and_64)
       
    61 
       
    62 install:        $(INSTALL_32_and_64)
       
    63 
       
    64 test:		$(NO_TESTS)
       
    65 
       
    66 system-test:    $(NO_TESTS)
       
    67 
       
    68 
       
    69 REQUIRED_PACKAGES += system/library
       
    70 REQUIRED_PACKAGES += system/library/c++-runtime
    50 REQUIRED_PACKAGES += system/library/c++-runtime