components/coreutils/Makefile
branchs11u3-sru
changeset 5249 8a7aa7f8367e
parent 3996 20c0f21bbe1e
equal deleted inserted replaced
5246:bb1d032b7f7e 5249:8a7aa7f8367e
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 include ../../make-rules/shared-macros.mk
    23 include ../../make-rules/shared-macros.mk
    24 
    24 
    25 COMPONENT_NAME=		coreutils
    25 COMPONENT_NAME=		coreutils
    26 COMPONENT_VERSION=	8.16
    26 COMPONENT_VERSION=	8.16
    43 CONFIGURE_OPTIONS	+=	--libdir=/usr/lib
    43 CONFIGURE_OPTIONS	+=	--libdir=/usr/lib
    44 CONFIGURE_OPTIONS	+=	--infodir=$(CONFIGURE_INFODIR)
    44 CONFIGURE_OPTIONS	+=	--infodir=$(CONFIGURE_INFODIR)
    45 CONFIGURE_OPTIONS	+=	CPPFLAGS=-I/usr/include/gmp
    45 CONFIGURE_OPTIONS	+=	CPPFLAGS=-I/usr/include/gmp
    46 CONFIGURE_OPTIONS	+=	CFLAGS="$(CFLAGS)"
    46 CONFIGURE_OPTIONS	+=	CFLAGS="$(CFLAGS)"
    47 
    47 
       
    48 # Recreate configure and src/Makefile to pick up stat birthtime changes.
       
    49 COMPONENT_PREP_ACTION = (cd $(@D) ; autoreconf -f && automake)
       
    50 
    48 # Enable ASLR for this component
    51 # Enable ASLR for this component
    49 ASLR_MODE = $(ASLR_ENABLE)
    52 ASLR_MODE = $(ASLR_ENABLE)
    50 
    53 
    51 # common targets
    54 # common targets
    52 build:		$(BUILD_32_and_64)
    55 build:		$(BUILD_32_and_64)
    64 # Get the binaries to test from the component proto area.
    67 # Get the binaries to test from the component proto area.
    65 COMPONENT_TEST_ENV +=   PATH=$(PROTOUSRSBINDIR):/usr/bin
    68 COMPONENT_TEST_ENV +=   PATH=$(PROTOUSRSBINDIR):/usr/bin
    66 
    69 
    67 # There are two known test failures:
    70 # There are two known test failures:
    68 # misc/stdbuf             - see CR #15941179
    71 # misc/stdbuf             - see CR #15941179
    69 # misc/timeout-parameters - see CR #17425658
    72 # misc/timeout-parameters - see CR #22485908
    70 test:		install $(TEST_64)
    73 test:		install $(TEST_64)
    71 
    74 
    72 
    75 
    73 REQUIRED_PACKAGES += library/gmp
    76 REQUIRED_PACKAGES += library/gmp
    74 REQUIRED_PACKAGES += system/library
    77 REQUIRED_PACKAGES += system/library