components/getopt/Makefile
changeset 2145 bdf83a99948d
parent 1948 2d1537e7942d
child 3817 30b42c38bbc4
equal deleted inserted replaced
2144:96440b7aa33e 2145:bdf83a99948d
    54 
    54 
    55 # Stupid source tarball distribution contains two .o files.
    55 # Stupid source tarball distribution contains two .o files.
    56 COMPONENT_POST_UNPACK_ACTION= \
    56 COMPONENT_POST_UNPACK_ACTION= \
    57 	$(RM) $(COMPONENT_SRC)/gnu/*.o
    57 	$(RM) $(COMPONENT_SRC)/gnu/*.o
    58 
    58 
       
    59 # The getopt source directory contains bash and tcsh getopt example scripts.
       
    60 TEST_ARGS = -a par1 'another arg' --c-long 'wow\!*\?' -cmore -b " very long "
       
    61 COMPONENT_TEST_ENV +=		PATH=$(BUILD_DIR_$(BITS)):$(PATH)
       
    62 COMPONENT_TEST_DIR =		$(SOURCE_DIR)
       
    63 COMPONENT_TEST_CMD =		getopt-parse.bash $(TEST_ARGS); \
       
    64 				$(ENV) $(COMPONENT_TEST_ENV) \
       
    65 				getopt-parse.tcsh $(TEST_ARGS)
       
    66 COMPONENT_TEST_TARGETS =
       
    67 
    59 ASLR_MODE = $(ASLR_ENABLE)
    68 ASLR_MODE = $(ASLR_ENABLE)
    60 
    69 
    61 # common targets
    70 # common targets
    62 build:		$(BUILD_64)
    71 build:		$(BUILD_64)
    63 
    72 
    64 install:	$(INSTALL_64)
    73 install:	$(INSTALL_64)
    65 
    74 
    66 test:		$(NO_TESTS)
    75 test:		$(TEST_64)
    67 
    76 
    68 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
    77 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
    69 
    78 
    70 include ../../make-rules/depend.mk
    79 include ../../make-rules/depend.mk