components/tcl/tcl/Makefile
changeset 181 87e11e685b1f
parent 175 5195b4ea17ad
child 225 2f3e03a69313
equal deleted inserted replaced
180:4de0581be621 181:87e11e685b1f
    55 CONFIGURE_OPTIONS	+= --enable-shared
    55 CONFIGURE_OPTIONS	+= --enable-shared
    56 CONFIGURE_OPTIONS	+= --enable-man-symlinks
    56 CONFIGURE_OPTIONS	+= --enable-man-symlinks
    57 CONFIGURE_OPTIONS	+= --enable-threads
    57 CONFIGURE_OPTIONS	+= --enable-threads
    58 CONFIGURE_OPTIONS.64	+= --enable-64bit
    58 CONFIGURE_OPTIONS.64	+= --enable-64bit
    59 
    59 
       
    60 COMPONENT_TEST_TARGETS = test
       
    61 
    60 # common targets
    62 # common targets
    61 build:		$(BUILD_32_and_64)
    63 build:		$(BUILD_32_and_64)
    62 
    64 
    63 install:	$(INSTALL_32_and_64) 
    65 install:	$(INSTALL_32_and_64) 
    64 		sed -f $(COMPONENT_DIR)/files/tclsed $(PROTOUSRLIBDIR)/tclConfig.sh > \
    66 		sed -f $(COMPONENT_DIR)/files/tclsed $(PROTOUSRLIBDIR)/tclConfig.sh > \
    65 			$(PROTOUSRLIBDIR)/tclConfig.sh.new
    67 			$(PROTOUSRLIBDIR)/tclConfig.sh.new
    66 		$(MV) $(PROTOUSRLIBDIR)/tclConfig.sh.new $(PROTOUSRLIBDIR)/tclConfig.sh
    68 		$(MV) $(PROTOUSRLIBDIR)/tclConfig.sh.new $(PROTOUSRLIBDIR)/tclConfig.sh
    67 		$(CHMOD) 555 $(PROTOUSRLIBDIR)/tclConfig.sh
    69 		$(CHMOD) 555 $(PROTOUSRLIBDIR)/tclConfig.sh
    68 
    70 
    69 test: 		build
    71 test: 		$(TEST_32_and_64)
    70 		@cd $(BUILD_DIR_32); $(MAKE) test
       
    71 		@cd $(BUILD_DIR_64); $(MAKE) test
       
    72 
       
    73 
    72 
    74 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
    73 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
    75 
    74 
    76 include ../../../make-rules/depend.mk
    75 include ../../../make-rules/depend.mk