Ignore:
Timestamp:
Dec 3, 2007, 2:03:09 AM (18 years ago)
Author:
bird
Message:

Use the new $(CP) options and the new $(TEST) builtin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/tools/VCC80.kmk

    r1312 r1350  
    264264                $(subst /,\\,$(objs)) \
    265265                $(subst /,\\,$(libs))
    266 ifdef KMK_USE_TEST
    267266        $(QUIET)$(TEST) -f $(out).manifest -- \
    268267                $(TOOL_VCC80_MT) -manifest $(subst /,\\,$(out)).manifest -outputresource:$(subst /,\\,$(out))
    269 else
    270         $(QUIET)if test -f $(out).manifest; then \
    271                 $(TOOL_VCC80_MT) -manifest $(subst /,\\,$(out)).manifest -outputresource:$(subst /,\\,$(out)); \
    272         fi
    273 endif
    274268endef
    275269
     
    305299                $(subst /,\\,$(objs)) \
    306300                $(subst /,\\,$(libs))
    307 ifdef KMK_USE_TEST
    308301        $(QUIET)$(TEST) -f $(out).manifest -- \
    309302                $(TOOL_VCC80_MT) -manifest $(subst /,\\,$(out)).manifest '-outputresource:$(subst /,\\,$(out));#2'
    310 else
    311         $(QUIET)if test -f $(out).manifest; then \
    312                 $(TOOL_VCC80_MT) -manifest $(subst /,\\,$(out)).manifest "-outputresource:$(subst /,\\,$(out));#2"; \
    313         fi
    314 endif
    315303ifeq ($(filter %.exp .def,$(othersrc)),)
    316 ifdef KMK_NEW_CP
    317304        $(QUIET)$(CP) --changed --ignore-non-existing $(outbase).exp $(outbase).lib $(PATH_LIB)/
    318 else
    319         $(QUIET)if test -f $(outbase).exp; then $(CP_EXT) $(outbase).exp $(PATH_LIB)/; fi
    320         $(QUIET)if test -f $(outbase).lib; then $(CP_EXT) $(outbase).lib $(PATH_LIB)/; fi
    321 endif
    322305endif
    323306$(eval _DIRS += $(PATH_LIB))
     
    353336                $(subst /,\\,$(objs)) \
    354337                $(subst /,\\,$(libs))
    355 ifdef KMK_USE_TEST
    356338        $(QUIET)$(TEST) -f $(out).manifest -- \
    357339                $(TOOL_VCC80_MT) -manifest $(subst /,\\,$(out)).manifest '-outputresource:$(subst /,\\,$(out));#2'
    358 else
    359         $(QUIET)if test -f $(out).manifest; then \
    360                 $(TOOL_VCC80_MT) -manifest $(subst /,\\,$(out)).manifest "-outputresource:$(subst /,\\,$(out));#2"; \
    361         fi
    362 endif
    363 endef
    364 
     340endef
     341
Note: See TracChangeset for help on using the changeset viewer.