components/aalib/Makefile
changeset 3583 9837d78b0c73
parent 2225 f064d3d3190d
child 3817 30b42c38bbc4
equal deleted inserted replaced
3582:12b8b4df2138 3583:9837d78b0c73
    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=		aalib
    28 COMPONENT_NAME=		aalib
    60 CONFIGURE_OPTIONS	+= $(CONFIGURE_OPTIONS.$(BITS))
    60 CONFIGURE_OPTIONS	+= $(CONFIGURE_OPTIONS.$(BITS))
    61 
    61 
    62 CONFIGURE_ENV += CC="$(CC)"
    62 CONFIGURE_ENV += CC="$(CC)"
    63 CONFIGURE_ENV += CFLAGS="$(CFLAGS)"
    63 CONFIGURE_ENV += CFLAGS="$(CFLAGS)"
    64 
    64 
       
    65 COMPONENT_TEST_DIR =	$(@D)/src
       
    66 COMPONENT_TEST_CMD =	perl -E 'say "\n" x 40' | ./aatest
       
    67 COMPONENT_TEST_ARGS =	-kbddriver stdin -driver stdout
       
    68 COMPONENT_TEST_TARGETS =
       
    69 
       
    70 # Master test results are the same for both 32-bit and 64-bit, so override
       
    71 # here, rather than create multiple identical master files.
       
    72 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
       
    73 
    65 ASLR_MODE = $(ASLR_ENABLE)
    74 ASLR_MODE = $(ASLR_ENABLE)
    66 
    75 
    67 # common targets
    76 # common targets
    68 configure:	$(CONFIGURE_32_and_64)
    77 configure:	$(CONFIGURE_32_and_64)
    69 
    78 
    70 build:		$(BUILD_32_and_64)
    79 build:		$(BUILD_32_and_64)
    71 
    80 
    72 install:	$(INSTALL_32_and_64)
    81 install:	$(INSTALL_32_and_64)
    73 
    82 
    74 # actually there is a test we put in the demos,
    83 test:		$(TEST_32_and_64)
    75 # but it's 32-bit only and not a target
       
    76 test:		$(NO_TESTS)
       
    77 
    84 
    78 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
    85 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
    79 
    86 
    80 include ../../make-rules/depend.mk
    87 include ../../make-rules/depend.mk