components/libconfuse/Makefile
changeset 3639 f8449ec64ef3
parent 2225 f064d3d3190d
child 3659 2110c4baed8f
equal deleted inserted replaced
3638:35261042a92e 3639:f8449ec64ef3
    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, 2014, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2011, 2015, 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=		libconfuse
    25 COMPONENT_NAME=		libconfuse
    26 COMPONENT_VERSION=	2.6
    26 COMPONENT_VERSION=	2.6
    42 CONFIGURE_OPTIONS +=	--disable-static
    42 CONFIGURE_OPTIONS +=	--disable-static
    43 CONFIGURE_OPTIONS +=	--enable-shared
    43 CONFIGURE_OPTIONS +=	--enable-shared
    44 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
    44 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
    45 
    45 
    46 # This is really only needed to get the test target to pass.
    46 # This is really only needed to get the test target to pass.
    47 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D)) 
    47 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
       
    48 
       
    49 # Master test results are the same for all versions of Python, so override
       
    50 # here, rather than create multiple identical master files.
       
    51 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
       
    52 
       
    53 # The additional libconfuse specific set of transforms to be applied to the
       
    54 # test results to try to normalize them.
       
    55 # The cc and libtool lines need to be deleted because x86 and SPARC have
       
    56 # different line arguments.
       
    57 COMPONENT_TEST_TRANSFORMS += \
       
    58 	'-e "/^\/ws\/on12-tools\/SUNWspro\/solarisstudio12.3\/bin\/cc/d" ' \
       
    59 	'-e "/^\/bin\/bash ..\/libtool/d" '
    48 
    60 
    49 ASLR_MODE = $(ASLR_ENABLE)
    61 ASLR_MODE = $(ASLR_ENABLE)
    50 
    62 
    51 # common targets
    63 # common targets
    52 configure:	$(CONFIGURE_32_and_64)
    64 configure:	$(CONFIGURE_32_and_64)
    53 
    65 
    54 build:		$(BUILD_32_and_64)
    66 build:		$(BUILD_32_and_64)
    55 
    67 
    56 install:	$(INSTALL_32_and_64)
    68 install:	$(INSTALL_32_and_64)
    57 
    69 
    58 test:	$(TEST_32_and_64)
    70 test:		$(TEST_32_and_64)
    59 
    71 
    60 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
    72 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
    61 
    73 
    62 include ../../make-rules/depend.mk
    74 include ../../make-rules/depend.mk