components/python/python26/Makefile
changeset 181 87e11e685b1f
parent 145 1e2390f5555e
child 206 a4474882bf60
equal deleted inserted replaced
180:4de0581be621 181:87e11e685b1f
    77 CONFIGURE_OPTIONS  +=		CXX="$(CCC)"
    77 CONFIGURE_OPTIONS  +=		CXX="$(CCC)"
    78 CONFIGURE_OPTIONS  +=		CXXFLAGS="$(CCFLAGS)"
    78 CONFIGURE_OPTIONS  +=		CXXFLAGS="$(CCFLAGS)"
    79 CONFIGURE_OPTIONS  +=		DFLAGS="-$(BITS)"
    79 CONFIGURE_OPTIONS  +=		DFLAGS="-$(BITS)"
    80 COMPONENT_BUILD_ENV  +=		DFLAGS="-$(BITS)"
    80 COMPONENT_BUILD_ENV  +=		DFLAGS="-$(BITS)"
    81 
    81 
       
    82 COMPONENT_TEST_TARGETS =	test
       
    83 
    82 # 64 bit shared objects need to go in a 64-bit directory
    84 # 64 bit shared objects need to go in a 64-bit directory
    83 COMPONENT_INSTALL_ARGS.64 += DESTSHARED=$(CONFIGURE_PREFIX)/lib/python2.6/lib-dynload
    85 COMPONENT_INSTALL_ARGS.64 += DESTSHARED=$(CONFIGURE_PREFIX)/lib/python2.6/lib-dynload
    84 
    86 
    85 # common targets
    87 # common targets
    86 build:		$(BUILD_32_and_64)
    88 build:		$(BUILD_32_and_64)
    87 
    89 
    88 $(INSTALL_32):	$(INSTALL_64)
    90 $(INSTALL_32):	$(INSTALL_64)
    89 
    91 
    90 install:	$(INSTALL_32_and_64)
    92 install:	$(INSTALL_32_and_64)
    91 
    93 
    92 test:	$(TEST_32_and_64)
    94 test:		$(TEST_32_and_64)
    93 
       
    94 $(BUILD_DIR)/%/.tested:	$(BUILD_DIR)/%/.built
       
    95 	(cd $(@D) ; gmake test || exit 0) 
       
    96 
    95 
    97 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
    96 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
    98 
    97 
    99 include $(WS_TOP)/make-rules/depend.mk
    98 include $(WS_TOP)/make-rules/depend.mk