VirtualBox

Changeset 904 in kBuild


Ignore:
Timestamp:
May 23, 2007 5:31:56 AM (18 years ago)
Author:
bird
Message:

Recognize the CLEAN attribute. header.kmk

Location:
trunk/kBuild
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/footer.kmk

    r897 r904  
    13221322
    13231323_OUT_FILES += $($(target)_OUTPUT_) $(out)
    1324 _CLEAN_FILES += $($(target)_CLEAN)
    1325 _DIRS += $($(target)_BLDDIRS)
     1324_CLEAN_FILES += $($(target)_CLEAN) $($(target)_CLEAN.$(BUILD_TARGET)) $($(target)_CLEAN.$(BUILD_TYPE))
     1325_DIRS += $($(target)_BLDDIRS) $($(target)_BLDDIRS.$(BUILD_TARGET))
    13261326_OBJS += $($(target)_OBJS_)
    13271327
     
    18511851_OBJS += $($(target)_OBJS_)
    18521852_OUT_FILES += $($(target)_OUTPUT_) $(out)
    1853 _CLEAN_FILES += $($(target)_CLEAN)
    1854 _DIRS += $($(target)_BLDDIRS)
     1853_CLEAN_FILES += $($(target)_CLEAN) $($(target)_CLEAN.$(BUILD_TARGET)) $($(target)_CLEAN.$(BUILD_TYPE))
     1854_DIRS += $($(target)_BLDDIRS) $($(target)_BLDDIRS.$(BUILD_TARGET))
    18551855_INSTALLS_FILES += $(INSTARGET_$(target))
    18561856
     
    22592259_INSTALLS_FILES += $(INSTARGET_$(target))
    22602260_INSTALLS_DIRS += $(INSTARGET_DIRS_$(target))
    2261 _CLEAN_FILES += $($(target)_CLEAN)
    2262 _DIRS += $($(target)_BLDDIRS)
     2261_CLEAN_FILES += $($(target)_CLEAN) $($(target)_CLEAN.$(BUILD_TARGET)) $($(target)_CLEAN.$(BUILD_TYPE))
     2262_DIRS += $($(target)_BLDDIRS) $($(target)_BLDDIRS.$(BUILD_TARGET))
    22632263endef
    22642264
     
    23082308        $(call MSG_CLEAN)
    23092309        $(QUIET)$(RM) -f $(_OUT_FILES) $(_OBJS) $(_DEPFILES) $(_DEPFILES_INCLUDED) $(_CLEAN_FILES) $(OTHER_CLEAN)
     2310ifeq ($(RMDIR),kmk_builtin_rmdir)
     2311 ifeq ($(filter rsort,$(KMK_FEATURES)),rsort) # TODO: Drop this when switching gmake to the gmakenew code!
     2312        $(RMDIR) --ignore-fail-on-non-empty --ignore-fail-on-not-exist $(rsort $(dir $(_OUT_FILES) $(_OBJS) $(_DEPFILES) $(_DEPFILES_INCLUDED) $(_CLEAN_FILES) $(OTHER_CLEAN)))
     2313 endif
     2314endif
    23102315
    23112316
  • trunk/kBuild/header.kmk

    r897 r904  
    612612        INCS CINCS CXXINCX ASINCS RCINCS \
    613613        LIBS LIBPATH \
    614         DIRS BLDDIRS
     614        DIRS BLDDIRS \
     615        CLEAN
    615616
    616617## PROPS_ALL
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette