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

    r1312 r1350  
    282282                $(subst /,\\,$(objs)) \
    283283                $(subst /,\\,$(libs))
    284 ifdef KMK_USE_TEST
    285284        $(QUIET)$(TEST) -f $(out).manifest -- \
    286285                $(TOOL_VCC80AMD64_MT) -manifest $(subst /,\\,$(out)).manifest '-outputresource:$(subst /,\\,$(out));#2'
    287 else
    288         $(QUIET)if test -f $(out).manifest; then \
    289                 $(TOOL_VCC80AMD64_MT) -manifest $(subst /,\\,$(out)).manifest "-outputresource:$(subst /,\\,$(out));#2"; \
    290         fi
    291 endif
    292286ifeq ($(filter %.exp .def,$(othersrc)),)
    293 ifdef KMK_NEW_CP
    294287        $(QUIET)$(CP) --changed --ignore-non-existing $(outbase).exp $(outbase).lib $(PATH_LIB)/
    295 else
    296         $(QUIET)if test -f $(outbase).exp; then $(CP_EXT) $(outbase).exp $(PATH_LIB)/; fi
    297         $(QUIET)if test -f $(outbase).lib; then $(CP_EXT) $(outbase).lib $(PATH_LIB)/; fi
    298 endif
    299288endif
    300289$(eval _DIRS += $(PATH_LIB))
     
    330319                $(subst /,\\,$(objs)) \
    331320                $(subst /,\\,$(libs))
    332 ifdef KMK_USE_TEST
    333321        $(QUIET)$(TEST) -f $(out).manifest -- \
    334322                $(TOOL_VCC80AMD64_MT) -manifest $(subst /,\\,$(out)).manifest '-outputresource:$(subst /,\\,$(out));#2'
    335 else
    336         $(QUIET)if test -f $(out).manifest; then \
    337                 $(TOOL_VCC80AMD64_MT) -manifest $(subst /,\\,$(out)).manifest "-outputresource:$(subst /,\\,$(out));#2"; \
    338         fi
    339 endif
    340 endef
    341 
     323endef
     324
Note: See TracChangeset for help on using the changeset viewer.