Ignore:
Timestamp:
Sep 20, 2008, 1:50:32 AM (17 years ago)
Author:
bird
Message:

footer.kmk: use the new kb-src-one when available.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/footer.kmk

    r1781 r1795  
    20372037define def_src_handler_c
    20382038local type := C
    2039  $(kb-src-one )
     2039 $(kb-src-one 2)
    20402040endef
    20412041
    20422042define def_src_handler_cxx
    20432043local type := CXX
    2044  $(kb-src-one )
     2044 $(kb-src-one 2)
    20452045endef
    20462046
    20472047define def_src_handler_objc
    20482048local type := OBJC
    2049  $(kb-src-one )
     2049 $(kb-src-one 2)
    20502050endef
    20512051
    20522052define def_src_handler_asm
    20532053local type := AS
    2054  $(kb-src-one )
     2054 $(kb-src-one 2)
    20552055endef
    20562056
    20572057define def_src_handler_rc
    20582058local type := RC
    2059  $(kb-src-one )
     2059 $(kb-src-one 2)
    20602060endef
    20612061
     
    23532353local dep := $(out)$(SUFF_DEP)
    23542354ifndef NO_LINK_CMDS_DEPS
    2355  _DEPFILES_INCLUDED += $(dep)
    2356  $(eval includedep $(dep))
     2355 ifndef ($(_KB_TEST),)
     2356  _DEPFILES += $(dep)
     2357 else
     2358  _DEPFILES_INCLUDED += $(dep)
     2359  $(eval includedep $(dep))
     2360 endif
    23572361endif
    23582362
     
    27462750local dep := $(outbase)$(SUFF_DEP)
    27472751ifndef NO_LINK_CMDS_DEPS
    2748  _DEPFILES_INCLUDED += $(dep)
    2749  $(eval includedep $(dep))
     2752 ifndef ($(_KB_TEST),)
     2753  _DEPFILES += $(dep)
     2754 else
     2755  _DEPFILES_INCLUDED += $(dep)
     2756  $(eval includedep $(dep))
     2757 endif
    27502758endif
    27512759
     
    35603568 $(info prof: $(int-sub $(_KBUILD_TS_FOOTER_END), $(_KBUILD_TS_HEADER_START)) - $(int-sub $(_KBUILD_TS_FOOTER_END), $(_KBUILD_TS_PREV)) - end of footer.kmk)
    35613569 $(info prof: footer.kmk: $(int-sub $(_KBUILD_TS_FOOTER_END), $(_KBUILD_TS_FOOTER_START)))
     3570 $(info stat: $(make-stats ))
    35623571 $(info prof: ALL=$(words $(_ALL_TARGETS)) BLDPROGS=$(words $(_ALL_BLDPROGS)) LIBRARIES=$(words $(_ALL_LIBRARIES)) IMPORT_LIBS=$(words $(IMPORT_LIBS)) DLLS=$(words $(DLLS)) PROGRAMS=$(words $(_ALL_PROGRAMS)) )
    35633572 $(info prof: SYSMODS=$(words $(_ALL_SYSMODS)) OTHERS=$(words $(_ALL_OTHERS)) INSTALLS=$(words $(_ALL_INSTALLS)) FETCHES=$(words $(_ALL_FETCHES)) PACKING=$(words $(_PACKING)) TESTING=$(words $(TESTING)) )
    35643573 $(info prof: DIRS=$(words $(_DIR_ALL)) TOOLS=$(words $(_TOOLS)) SDKS=$(words $(_SDKS)) USES=$(words $(_USES)) OUT_FILES=$(words $(_OUT_FILES)) OBJS=$(words $(_OBJS)) CLEAN_FILES=$(words $(CLEAN_FILES) $(OTHER_CLEAN)) )
    3565  $(info prof: DEPFILES_INCLUDED=$(words $(_DEPFILES_INCLUDED)) DEPFILES=$(words $(DEPFILES)) MAKEFILES=$(words $(MAKEFILE_LIST)) )
    3566  $(info stat: $(make-stats ))
     3574 $(info prof: DEPFILES_INCLUDED=$(words $(_DEPFILES_INCLUDED)) DEPFILES=$(words $(_DEPFILES)) MAKEFILES=$(words $(MAKEFILE_LIST)) )
    35673575 _KBUILD_TS_PREV := $(_KBUILD_TS_FOOTER_END)
    35683576endif
Note: See TracChangeset for help on using the changeset viewer.