-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed 'tools/' changes from 46b8265..b220f44
b220f44 cmake: version path typo 1fa2f62 Merge commit '9fc4adef91f7ea18c4cb9a72422165c90e6d09ce' 9fc4ade Squashed 'libmakefile/' changes from c0efce5..23f6a23 b83b10b package version update: cmake 3.12 coreutils 8.30 gcc 8.2.0 32f7671 git-subtree-check update to Bitcoin e3245f2e7b6f98cda38a3806da854f7d513fec2f git-subtree-dir: tools git-subtree-split: b220f441a814ea7bb5906e4c66b71eaaf60fb491
- Loading branch information
Showing
5 changed files
with
44 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,6 +42,8 @@ | |
# 20180123 - add ./ to includes-y and libriries-y by default | ||
# 20180204 - seemless qt .moc, .ui support | ||
# 20180228 - rename distdir to dist.dir | ||
# 20180718 - fix @.cmd | ||
# 20180723 - use file_cflags-y if exists | ||
|
||
# | ||
# Example | ||
|
@@ -418,7 +420,7 @@ disp_distclean = $($(verbose)_disp_distclean) | |
# _CMD | ||
# | ||
_cmd_depend.c = $(CC) $(CFLAGS) $($1_cflags) \ | ||
$($1_includes) -M $$< | $(SED) 's,\($$(basename $$(basename $$(notdir $$@)))\.o\) *:,$$(dir $$@)\1 $$@: ,' > $$@; \ | ||
$($1_includes) $$($1_$$<_cflags-y) -M $$< | $(SED) 's,\($$(basename $$(basename $$(notdir $$@)))\.o\) *:,$$(dir $$@)\1 $$@: ,' > $$@; \ | ||
$(CP) $$@ [email protected]; \ | ||
$(SED) -e 's/\#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$$$//' -e '/^$$$$/ d' -e 's/$$$$/ :/' < $$@ >> [email protected]; \ | ||
$(MV) [email protected] $$@ | ||
|
@@ -511,47 +513,47 @@ _cmd_distclean = $(RM) | |
# | ||
# CMD | ||
# | ||
cmd_depend.c = echo "$(_cmd_depend.c)" > [email protected] ; $(_cmd_depend.c) | ||
cmd_compile.c = echo "$(_cmd_compile.c)" > [email protected] ; $(_cmd_compile.c) | ||
cmd_link.c = echo "$(_cmd_link.c)" > [email protected] ; $(_cmd_link.c) | ||
cmd_link_so.c = echo "$(_cmd_link_so.c)" > [email protected] ; $(_cmd_link_so.c) | ||
cmd_depend.c = echo "$(subst ",\",$(_cmd_depend.c))" > [email protected] ; $(_cmd_depend.c) | ||
cmd_compile.c = echo "$(subst ",\",$(_cmd_compile.c))" > [email protected] ; $(_cmd_compile.c) | ||
cmd_link.c = echo "$(subst ",\",$(_cmd_link.c))" > [email protected] ; $(_cmd_link.c) | ||
cmd_link_so.c = echo "$(subst ",\",$(_cmd_link_so.c))" > [email protected] ; $(_cmd_link_so.c) | ||
|
||
cmd_depend.c.host = echo "$(_cmd_depend.c.host)" > [email protected] ; $(_cmd_depend.c.host) | ||
cmd_compile.c.host = echo "$(_cmd_compile.c.host)" > [email protected] ; $(_cmd_compile.c.host) | ||
cmd_link.c.host = echo "$(_cmd_link.c.host)" > [email protected] ; $(_cmd_link.c.host) | ||
cmd_link_so.c.host = echo "$(_cmd_link_so.c.host)" > [email protected] ; $(_cmd_link_so.c.host) | ||
cmd_depend.c.host = echo "$(subst ",\",$(_cmd_depend.c.host))" > [email protected] ; $(_cmd_depend.c.host) | ||
cmd_compile.c.host = echo "$(subst ",\",$(_cmd_compile.c.host))" > [email protected] ; $(_cmd_compile.c.host) | ||
cmd_link.c.host = echo "$(subst ",\",$(_cmd_link.c.host))" > [email protected] ; $(_cmd_link.c.host) | ||
cmd_link_so.c.host = echo "$(subst ",\",$(_cmd_link_so.c.host))" > [email protected] ; $(_cmd_link_so.c.host) | ||
|
||
cmd_depend.cxx = echo "$(_cmd_depend.cxx)" > [email protected] ; $(_cmd_depend.cxx) | ||
cmd_compile.cxx = echo "$(_cmd_compile.cxx)" > [email protected] ; $(_cmd_compile.cxx) | ||
cmd_link.cxx = echo "$(_cmd_link.cxx)" > [email protected] ; $(_cmd_link.cxx) | ||
cmd_link_so.cxx = echo "$(_cmd_link_so.cxx)" > [email protected] ; $(_cmd_link_so.cxx) | ||
cmd_depend.cxx = echo "$(subst ",\",$(_cmd_depend.cxx))" > [email protected] ; $(_cmd_depend.cxx) | ||
cmd_compile.cxx = echo "$(subst ",\",$(_cmd_compile.cxx))" > [email protected] ; $(_cmd_compile.cxx) | ||
cmd_link.cxx = echo "$(subst ",\",$(_cmd_link.cxx))" > [email protected] ; $(_cmd_link.cxx) | ||
cmd_link_so.cxx = echo "$(subst ",\",$(_cmd_link_so.cxx))" > [email protected] ; $(_cmd_link_so.cxx) | ||
|
||
cmd_depend.cxx.host = echo "$(_cmd_depend.cxx.host)" > [email protected] ; $(_cmd_depend.cxx.host) | ||
cmd_compile.cxx.host = echo "$(_cmd_compile.cxx.host)" > [email protected]; $(_cmd_compile.cxx.host) | ||
cmd_link.cxx.host = echo "$(_cmd_link.cxx.host)" > [email protected] ; $(_cmd_link.cxx.host) | ||
cmd_link_so.cxx.host = echo "$(_cmd_link_so.cxx.host)" > [email protected]; $(_cmd_link_so.cxx.host) | ||
cmd_depend.cxx.host = echo "$(subst ",\",$(_cmd_depend.cxx.host))" > [email protected] ; $(_cmd_depend.cxx.host) | ||
cmd_compile.cxx.host = echo "$(subst ",\",$(_cmd_compile.cxx.host))" > [email protected]; $(_cmd_compile.cxx.host) | ||
cmd_link.cxx.host = echo "$(subst ",\",$(_cmd_link.cxx.host))" > [email protected] ; $(_cmd_link.cxx.host) | ||
cmd_link_so.cxx.host = echo "$(subst ",\",$(_cmd_link_so.cxx.host))" > [email protected]; $(_cmd_link_so.cxx.host) | ||
|
||
cmd_moc.qt = echo "$(_cmd_moc.qt)" > [email protected] ; $(_cmd_moc.qt) | ||
cmd_moc.qt.host = echo "$(_cmd_moc.qt.host)" > [email protected] ; $(_cmd_moc.qt.host) | ||
cmd_moc.qt = echo "$(subst ",\",$(_cmd_moc.qt))" > [email protected] ; $(_cmd_moc.qt) | ||
cmd_moc.qt.host = echo "$(subst ",\",$(_cmd_moc.qt.host))" > [email protected] ; $(_cmd_moc.qt.host) | ||
|
||
cmd_uic.qt = echo "$(_cmd_uic.qt)" > [email protected] ; $(_cmd_uic.qt) | ||
cmd_uic.qt.host = echo "$(_cmd_uic.qt.host)" > [email protected] ; $(_cmd_uic.qt.host) | ||
cmd_uic.qt = echo "$(subst ",\",$(_cmd_uic.qt))" > [email protected] ; $(_cmd_uic.qt) | ||
cmd_uic.qt.host = echo "$(subst ",\",$(_cmd_uic.qt.host))" > [email protected] ; $(_cmd_uic.qt.host) | ||
|
||
cmd_depend.m = echo "$(_cmd_depend.m)" > [email protected] ; $(_cmd_depend.m) | ||
cmd_compile.m = echo "$(_cmd_compile.m)" > [email protected] ; $(_cmd_compile.m) | ||
cmd_link.m = echo "$(_cmd_link.m)" > [email protected] ; $(_cmd_link.m) | ||
cmd_link_so.m = echo "$(_cmd_link_so.m)" > [email protected] ; $(_cmd_link_so.m) | ||
cmd_depend.m = echo "$(subst ",\",$(_cmd_depend.m))" > [email protected] ; $(_cmd_depend.m) | ||
cmd_compile.m = echo "$(subst ",\",$(_cmd_compile.m))" > [email protected] ; $(_cmd_compile.m) | ||
cmd_link.m = echo "$(subst ",\",$(_cmd_link.m))" > [email protected] ; $(_cmd_link.m) | ||
cmd_link_so.m = echo "$(subst ",\",$(_cmd_link_so.m))" > [email protected] ; $(_cmd_link_so.m) | ||
|
||
cmd_depend.m.host = echo "$(_cmd_depend.m.host)" > [email protected] ; $(_cmd_depend.m.host) | ||
cmd_compile.m.host = echo "$(_cmd_compile.m.host)" > [email protected] ; $(_cmd_compile.m.host) | ||
cmd_link.m.host = echo "$(_cmd_link.m.host)" > [email protected] ; $(_cmd_link.m.host) | ||
cmd_link_so.m.host = echo "$(_cmd_link_so.m.host)" > [email protected] ; $(_cmd_link_so.m.host) | ||
cmd_depend.m.host = echo "$(subst ",\",$(_cmd_depend.m.host))" > [email protected] ; $(_cmd_depend.m.host) | ||
cmd_compile.m.host = echo "$(subst ",\",$(_cmd_compile.m.host))" > [email protected] ; $(_cmd_compile.m.host) | ||
cmd_link.m.host = echo "$(subst ",\",$(_cmd_link.m.host))" > [email protected] ; $(_cmd_link.m.host) | ||
cmd_link_so.m.host = echo "$(subst ",\",$(_cmd_link_so.m.host))" > [email protected] ; $(_cmd_link_so.m.host) | ||
|
||
cmd_ar = echo "$(_cmd_ar)" > [email protected] ; $(_cmd_ar) | ||
cmd_ranlib = echo "$(_cmd_ranlib)" >> [email protected] ; $(_cmd_ranlib) | ||
cmd_ld = echo "$(_cmd_ld)" > [email protected] ; $(_cmd_ld) | ||
cmd_ar = echo "$(subst ",\",$(_cmd_ar))" > [email protected] ; $(_cmd_ar) | ||
cmd_ranlib = echo "$(subst ",\",$(_cmd_ranlib))" >> [email protected] ; $(_cmd_ranlib) | ||
cmd_ld = echo "$(subst ",\",$(_cmd_ld))" > [email protected] ; $(_cmd_ld) | ||
|
||
cmd_ld.host = echo "$(_cmd_ld.host)" > [email protected] ; $(_cmd_ld.host) | ||
cmd_ld.host = echo "$(subst ",\",$(_cmd_ld.host))" > [email protected] ; $(_cmd_ld.host) | ||
|
||
cmd_cp = $(_cmd_cp) | ||
cmd_mkdir = $(_cmd_mkdir) | ||
|
@@ -583,11 +585,11 @@ do_compile.cxx.host = @$(disp_compile.cxx.host) ; $(MKDIR) $$(dir $$@); $(cmd_co | |
do_link.cxx.host = @$(disp_link.cxx.host) ; $(MKDIR) $$(dir $$@); $(cmd_link.cxx.host) | ||
do_link_so.cxx.host = @$(disp_link_so.cxx.host) ; $(MKDIR) $$(dir $$@); $(cmd_link_so.cxx.host) | ||
|
||
do_moc.qt = @$(disp_moc.qt) ; $(MKDIR) $$(dir $$@); $(cmd_moc.qt) | ||
do_moc.qt.host = @$(disp_moc.qt.host ; $(MKDIR) $$(dir $$@); $(cmd_moc.qt.host) | ||
do_moc.qt = @$(disp_moc.qt) ; $(MKDIR) $$(dir $$@); $(cmd_moc.qt) | ||
do_moc.qt.host = @$(disp_moc.qt.host ; $(MKDIR) $$(dir $$@); $(cmd_moc.qt.host) | ||
|
||
do_uic.qt = @$(disp_uic.qt) ; $(MKDIR) $$(dir $$@); $(cmd_uic.qt) | ||
do_uic.qt.host = @$(disp_uic.qt.host ; $(MKDIR) $$(dir $$@); $(cmd_uic.qt.host) | ||
do_uic.qt = @$(disp_uic.qt) ; $(MKDIR) $$(dir $$@); $(cmd_uic.qt) | ||
do_uic.qt.host = @$(disp_uic.qt.host ; $(MKDIR) $$(dir $$@); $(cmd_uic.qt.host) | ||
|
||
do_depend.m = @$(disp_depend.m) ; $(MKDIR) $$(dir $$@); $(cmd_depend.m) | ||
do_compile.m = @$(disp_compile.m) ; $(MKDIR) $$(dir $$@); $(cmd_compile.m) | ||
|