components/slang/Makefile
changeset 3800 0c839d3b92f0
parent 2225 f064d3d3190d
child 3817 30b42c38bbc4
equal deleted inserted replaced
3799:c3e697abd23b 3800:0c839d3b92f0
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 
    25 
    26 include ../../make-rules/shared-macros.mk
    26 include ../../make-rules/shared-macros.mk
    27 
    27 
    28 COMPONENT_NAME=		slang
    28 COMPONENT_NAME=		slang
    46 
    46 
    47 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
    47 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
    48 CONFIGURE_OPTIONS  +=		LDFLAGS="$(CFLAGS)"
    48 CONFIGURE_OPTIONS  +=		LDFLAGS="$(CFLAGS)"
    49 CONFIGURE_OPTIONS  +=		--sysconfdir=$(ETCDIR)/slsh
    49 CONFIGURE_OPTIONS  +=		--sysconfdir=$(ETCDIR)/slsh
    50 
    50 
       
    51 # Master test results are the same for 32-bit and 64-bit, so override
       
    52 # here, rather than create multiple identical master files.
       
    53 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
       
    54 
       
    55 # The additional slang specific set of transforms to be applied to the
       
    56 # test results to try to normalize them.
       
    57 COMPONENT_TEST_TRANSFORMS += \
       
    58 	'-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
       
    59 	'-e "/^XXX_CC_XXX$$/d" '
       
    60 
    51 ASLR_MODE = $(ASLR_ENABLE)
    61 ASLR_MODE = $(ASLR_ENABLE)
    52 
    62 
    53 # common targets
       
    54 configure:	$(CONFIGURE_32_and_64)
    63 configure:	$(CONFIGURE_32_and_64)
    55 
    64 
    56 build:		$(BUILD_32_and_64)
    65 build:		$(BUILD_32_and_64)
    57 
    66 
    58 install:	$(INSTALL_32_and_64)
    67 install:	$(INSTALL_32_and_64)