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/VCC80X86.kmk

    r1312 r1350  
    243243                $(subst /,\\,$(objs)) \
    244244                $(subst /,\\,$(libs))
    245 ifdef KMK_USE_TEST
    246245        $(QUIET)$(TEST) -f $(out).manifest -- \
    247246                $(TOOL_VCC80X86_MT) -manifest $(subst /,\\,$(out)).manifest -outputresource:$(subst /,\\,$(out))
    248 else
    249         $(QUIET)if test -f $(out).manifest; then \
    250                 $(TOOL_VCC80X86_MT) -manifest $(subst /,\\,$(out)).manifest -outputresource:$(subst /,\\,$(out)); \
    251         fi
    252 endif
    253247endef
    254248
     
    284278                $(subst /,\\,$(objs)) \
    285279                $(subst /,\\,$(libs))
    286 ifdef KMK_USE_TEST
    287280        $(QUIET)$(TEST) -f $(out).manifest -- \
    288281                $(TOOL_VCC80X86_MT) -manifest $(subst /,\\,$(out)).manifest '-outputresource:$(subst /,\\,$(out));#2'
    289 else
    290         $(QUIET)if test -f $(out).manifest; then \
    291                 $(TOOL_VCC80X86_MT) -manifest $(subst /,\\,$(out)).manifest "-outputresource:$(subst /,\\,$(out));#2"; \
    292         fi
    293 endif
    294282ifeq ($(filter %.exp .def,$(othersrc)),)
    295 ifdef KMK_NEW_CP
    296283        $(QUIET)$(CP) --changed --ignore-non-existing $(outbase).exp $(outbase).lib $(PATH_LIB)/
    297 else
    298         $(QUIET)if test -f $(outbase).exp; then $(CP_EXT) $(outbase).exp $(PATH_LIB)/; fi
    299         $(QUIET)if test -f $(outbase).lib; then $(CP_EXT) $(outbase).lib $(PATH_LIB)/; fi
    300 endif
    301284endif
    302285$(eval _DIRS += $(PATH_LIB))
     
    332315                $(subst /,\\,$(objs)) \
    333316                $(subst /,\\,$(libs))
    334 ifdef KMK_USE_TEST
    335317        $(QUIET)$(TEST) -f $(out).manifest -- \
    336318                $(TOOL_VCC80X86_MT) -manifest $(subst /,\\,$(out)).manifest '-outputresource:$(subst /,\\,$(out));#2'
    337 else
    338         $(QUIET)if test -f $(out).manifest; then \
    339                 $(TOOL_VCC80X86_MT) -manifest $(subst /,\\,$(out)).manifest "-outputresource:$(subst /,\\,$(out));#2"; \
    340         fi
    341 endif
    342 endef
    343 
     319endef
     320
Note: See TracChangeset for help on using the changeset viewer.