Changeset 776 for trunk/kBuild/footer.kmk
- Timestamp:
- Jan 20, 2007, 7:36:40 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer.kmk
r770 r776 624 624 .PRECIOUS: $(out) 625 625 $(out) $($(target)_$(srcname)_FETCH_OUTPUT_): | $($(target)_$(srcname)_FETCH_DEPORD_) 626 $$(call MSG_ L1,Downloading $(source)...)626 $$(call MSG_FETCH_DL,$(target),$(source),$(out)) 627 627 @## @todo do fancy stuff like download continuation. 628 628 $$(QUIET)$$(RM) -f $(out) $(out).md5 … … 635 635 # Intermediate goal for making sure the md5 and size matches. it will (re) fetch the archive if necessary. 636 636 $(out).checked_$(md5)_$(size): $($(target)_$(srcname)_FETCH_DEPEND_) | $($(target)_$(srcname)_FETCH_DEPORD_) 637 $$(call MSG_ L1,Checking $(out),($(source))...)637 $$(call MSG_FETCH_CHK,$(target),$(source),$(out)) 638 638 $$(QUIET)$$(RM) -f $$@ $(out).md5 639 639 @# creates the .md5 we pass to md5sum. … … 658 658 $(out) $($(target)_$(srcname)_UNPACK_OUTPUT_): $($(target)_$(srcname)_UNPACK_DEPEND_) \ 659 659 | $($(target)_$(srcname)_UNPACK_DEPORD_) $(archive).checked_$(md5)_$(size) 660 $$(call MSG_ L1,Unpacking $(archive),into $(inst)...)660 $$(call MSG_FETCH_UP,$(target),$(archive),$(inst)) 661 661 $$(QUIET)$$(RM) -f $(out) 662 662 @# if the source archive doesn't exist fetch it (can have been deleted to save space). … … 854 854 855 855 $(out).lst: $(_TARGET_$(target)_UNPACKED) | $(call DIRDEP,$(inst)) 856 $$(call MSG_ L1,Successfully fetched$(target))856 $$(call MSG_FETCH_OK,$(target)) 857 857 $$(QUIET)$$(RM) -f $$@ $$@.tmp 858 858 $$(QUIET2)$$(APPEND) $$@.tmp "$(notdir $(out))" … … 861 861 862 862 $(out)_unfetched: 863 $$(call MSG_ L1,Unfetching $(target)...)863 $$(call MSG_UNFETCH,$(target)) 864 864 $$(QUIET)$$(RM) -f $$(addprefix $(inst),$$(shell $$(CAT_EXT) $(out).lst 2> /dev/null | $$(SED) -e '/\/$$$$/d')) 865 865 $$(QUIET)$$(RMDIR) -p --ignore-fail-on-non-empty --ignore-fail-on-not-exist $$(dir $$@) \ … … 870 870 $(out): $(comp-vars _TARGET_$(target)_DIGEST_PREV,_TARGET_$(target)_DIGEST,FORCE) | $(call DIRDEP,$(inst)) 871 871 $$(QUIET)$$(RM) -f $$@ 872 $$(call MSG_L1,$$(if $$(_TARGET_$(target)_DIGEST),$$(if $$(wildcard $(out).lst),Re-fetching,Fetching),Removing) $(target)...) 872 $$(if $$(_TARGET_$(target)_DIGEST),$$(if $$(wildcard $(out).lst)\ 873 ,$$(call MSG_REFETCH,$(target)),$$(call MSG_FETCH,$(target))),$$(call MSG_UNFETCH,$(target))) 873 874 $$(QUIET)$$(if $$(wildcard $(out).lst ),$$(MAKE) -f $(MAKEFILE) --no-print-directory $(out)_unfetched) 874 875 $$(QUIET)$$(if $$(_TARGET_$(target)_DIGEST),$$(MAKE) -f $(MAKEFILE) --no-print-directory $(out).lst,$$(RMDIR) -p --ignore-fail-on-non-empty --ignore-fail-on-not-exist $$(dir $$@)) … … 978 979 | \ 979 980 $($(target)_$(source)_DEPORD_) 980 $$(call MSG_ L1,Compiling $(target) - $(source),=> $$@)981 $$(call MSG_COMPILE,$(target),$(source),$$@,$(type)) 981 982 $$(QUIET)$$(RM) -f $(dep) $(obj) $($(target)_$(source)_OUTPUT_) 982 983 $(custom_pre) … … 1024 1025 | \ 1025 1026 $($(target)_DEPORD_) 1026 $$(call MSG_L 1,Linking $$@)1027 $$(call MSG_LINK,$(target),$$@,$(tool_do)) 1027 1028 $$(QUIET)$$(RM) -f $(dep) $(out) $($(target)_OUTPUT_) 1028 1029 $(custom_pre) … … 1053 1054 define def_link_install_rule 1054 1055 $(INSTARGET_$(target)) : $(out) | $(call DIRDEP,$(dir $(INSTARGET_$(target)))) 1055 $$(call MSG_ L1,Installing $(target) =>$$@)1056 $$(call MSG_INST_TRG,$(target),$(out),$$@) 1056 1057 $$(QUIET)$$(INSTALL) $$(if $(mode),-m $(mode)) $(out) $$@ 1057 1058 … … 1263 1264 1264 1265 # Process libraries 1266 tool_do := LINK_LIBRARY 1265 1267 mode := 0644 1266 1268 $(foreach target, $(LIBRARIES) $(LIBRARIES.$(BUILD_TARGET)) $(LIBRARIES.$(BUILD_TARGET).$(BUILD_TARGET_ARCH)), $(eval $(value def_lib))) … … 1630 1632 # the install rule 1631 1633 $(insdst) : $(srcsrc) | $(call DIRDEP,$(dir $(insdst))) 1632 $$(call MSG_ L1,Installing $(insdst),(<= $(srcsrc)))1634 $$(call MSG_INST_FILE,$(srcsrc),$(insdst)) 1633 1635 $$(QUIET)$$(if $$(filter $(INSTALL),$(inscmd)),,$$(RM) -f $$@) 1634 1636 $$(QUIET)$(inscmd) … … 1752 1754 # the install rule 1753 1755 $(insdst) : | $(call DIRDEP,$(dir $(insdst))) 1754 $$(call MSG_ L1,Installing symlink $(insdst),pointing to$(symdst))1756 $$(call MSG_INST_SYM,$(insdst),$(symdst)) 1755 1757 $$(QUIET)$$(RM) -f $$@ 1756 1758 $$(QUIET)$$(LN_SYMLINK) $(symdst) $(insdst) … … 1802 1804 # the install rule 1803 1805 $(insdst): 1804 $$(call MSG_ L1,Installing directory$(insdst))1806 $$(call MSG_INST_DIR,$(insdst)) 1805 1807 $$(QUIET)$$(INSTALL) -d \ 1806 1808 $(if $(uid),-o $(uid))\ … … 1917 1919 define def_mkdir_rule 1918 1920 $(directory): 1919 $$(call MSG_ L2,Creating directory$$@)1921 $$(call MSG_MKDIR,$$@) 1920 1922 $$(QUIET)$$(MKDIR) -p $$@ 1921 1923 endef … … 1928 1930 # 1929 1931 do-nothing: 1930 $(call MSG_ L1,Did nothing in $(CURDIR))1932 $(call MSG_NOTHING) 1931 1933 1932 1934 … … 1935 1937 # 1936 1938 do-clean: 1937 $(call MSG_ L1,Cleaning...)1939 $(call MSG_CLEAN) 1938 1940 $(QUIET)$(RM) -f $(_OUT_FILES) $(_OBJS) $(_DEPFILES) $(_DEPFILES_INCLUDED) $(_CLEAN_FILES) $(OTHER_CLEAN) 1939 1941 … … 2043 2045 .PHONY: pass_$(pass)_order 2044 2046 pass_$(pass)_order: $(pass_prev) 2045 $$(call MSG_ L1,Pass -$$(if $$(PASS_$(PASS)),$$(PASS_$(PASS)),$(pass)))2047 $$(call MSG_PASS,$$(if $$(PASS_$(PASS)),$$(PASS_$(PASS)),$(pass))) 2046 2048 + $$(QUIET)$$(MAKE) -f $$(MAKEFILE) pass_$(pass) 2047 2049 else … … 2049 2051 .PHONY: pass_$(pass)_order pass_$(pass)_banner 2050 2052 pass_$(pass)_banner: 2051 $$(call MSG_ L1,Pass -$$(if $$(PASS_$(PASS)),$$(PASS_$(PASS)),$(pass)))2053 $$(call MSG_PASS,$$(if $$(PASS_$(PASS)),$$(PASS_$(PASS)),$(pass))) 2052 2054 pass_$(pass)_order: \ 2053 2055 $(pass_prev) \
Note:
See TracChangeset
for help on using the changeset viewer.