diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-04-28 14:37:32 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-04-28 14:37:32 +0200 |
commit | 70df7168cea806310f84a824c1c9ead42c82a223 (patch) | |
tree | 4be937b2bcc7afd30ee962b2491aced4d8b42034 /nx-X11/config | |
parent | fb0f8c1b77bfb3fd8b44795e09ed0e67acddfb84 (diff) | |
parent | 637a170e7c970e480c1ad6bf131698f0919644c7 (diff) | |
download | nx-libs-70df7168cea806310f84a824c1c9ead42c82a223.tar.gz nx-libs-70df7168cea806310f84a824c1c9ead42c82a223.tar.bz2 nx-libs-70df7168cea806310f84a824c1c9ead42c82a223.zip |
Merge branch 'uli42-pr/silence_imake' into 3.6.x
Attributes GH PR #1038: https://github.com/ArcticaProject/nx-libs/pull/1038
Diffstat (limited to 'nx-X11/config')
-rw-r--r-- | nx-X11/config/cf/Imake.rules | 78 | ||||
-rw-r--r-- | nx-X11/config/cf/X11.tmpl | 14 | ||||
-rw-r--r-- | nx-X11/config/cf/lnxLib.rules | 36 |
3 files changed, 64 insertions, 64 deletions
diff --git a/nx-X11/config/cf/Imake.rules b/nx-X11/config/cf/Imake.rules index 4d522f9e2..ac3b78da2 100644 --- a/nx-X11/config/cf/Imake.rules +++ b/nx-X11/config/cf/Imake.rules @@ -346,7 +346,7 @@ XCOMM special target for clearmake @@\ #if RemoveObsoleteFiles #define RemoveOldFile(new,old,dir) @@\ - @if [ -f new ]; then set -x; \ @@\ + @if [ -f new ]; then test -n "${VERBOSE}" && set -x; \ @@\ RemoveFile($(DESTDIR)dir/old); \ @@\ fi #else @@ -536,9 +536,9 @@ clean cleantc:: @@\ set +x; \ @@\ else \ @@\ if [ -h dir ]; then \ @@\ - (set -x; rm -f dir); \ @@\ + (test -n "${VERBOSE}" && set -x; rm -f dir); \ @@\ fi; \ @@\ - (set -x; $(MKDIRHIER) dir); \ @@\ + (test -n "${VERBOSE}" && set -x; $(MKDIRHIER) dir); \ @@\ fi #endif /* MakeDir */ @@ -547,9 +547,9 @@ clean cleantc:: @@\ :; \ @@\ else \ @@\ if [ -h dir ]; then \ @@\ - (set -x; rm -f dir); \ @@\ + (test -n "${VERBOSE}" && test -n "${VERBOSE}" && set -x; rm -f dir); \ @@\ fi; \ @@\ - (set -x; $(MKDIRHIER) dir); \ @@\ + (test -n "${VERBOSE}" && set -x; $(MKDIRHIER) dir); \ @@\ fi #endif /* MakeDirInline */ @@ -570,7 +570,7 @@ install:: @@\ #define BuildIncludesTop(srclist) @@\ includes:: srclist @@\ MakeDir($(BUILDINCDIR)) @@\ - @(set -x; cd $(BUILDINCDIR) && for i in srclist; do \ @@\ + @(test -n "${VERBOSE}" && set -x; cd $(BUILDINCDIR) && for i in srclist; do \ @@\ RemoveFile(`basename $$i`); \ @@\ $(LN) $(BUILDINCTOP)/$(CURRENT_DIR)/$$i .; \ @@\ done) @@ -580,7 +580,7 @@ includes:: srclist @@\ #define BuildIncludes(srclist,dstsubdir,dstupdir) @@\ includes:: srclist @@\ MakeDir($(BUILDINCDIR)/dstsubdir) @@\ - @(set -x; cd $(BUILDINCDIR)/dstsubdir && for i in srclist; do \ @@\ + @(test -n "${VERBOSE}" && set -x; cd $(BUILDINCDIR)/dstsubdir && for i in srclist; do \ @@\ RemoveFile(`basename $$i`); \ @@\ $(LN) $(BUILDINCTOP)/dstupdir/$(CURRENT_DIR)/$$i .; \ @@\ done) @@ -603,7 +603,7 @@ $(BUILDBINDIR)/binary: binary @@\ #define BuildInterfaces(srclist,dstsubdir,dstupdir) @@\ interfaces:: @@\ MakeDir($(BUILDINCDIR)/dstsubdir) @@\ - @(set -x; cd $(BUILDINCDIR)/dstsubdir && for i in srclist; do \ @@\ + @(test -n "${VERBOSE}" && set -x; cd $(BUILDINCDIR)/dstsubdir && for i in srclist; do \ @@\ RemoveFile($$i); \ @@\ $(LN) $(BUILDINCTOP)/dstupdir/$(CURRENT_DIR)/$$i .; \ @@\ done) @@ -1101,13 +1101,13 @@ CplusplusProgramTargetHelper(program,SRCS10,OBJS10,DEPLIBS10,locallib,syslib) #endif /* ComplexCplusplusProgramTarget_10 */ #ifndef MoveToBakFile -#define MoveToBakFile(file) -@if [ -f file ]; then set -x; \ @@\ - $(MV) file file.bak; else exit 0; fi +#define MoveToBakFile(file) -@if [ -f file ]; then test -n "${VERBOSE}" && set -x; \ @@\ + @$(MV) file file.bak; else exit 0; fi #endif /* MoveToBakFile */ #ifndef RMoveToBakFile -#define RMoveToBakFile(file) -@if [ -f file ]; then set -x; \ @@\ - RemoveFile(file.bak); $(MV) file file.bak; \ @@\ +#define RMoveToBakFile(file) -@if [ -f file ]; then test -n "${VERBOSE}" && set -x; \ @@\ + RemoveFile(file.bak); @$(MV) file file.bak; \ @@\ else exit 0; fi #endif /* RMoveToBakFile */ @@ -1218,7 +1218,7 @@ step:: srcname @@\ MakeDir($(DESTDIR)dest) @@\ @if [ -f $(DESTDIR)dest/dstname ]; then \ @@\ echo "Not overwriting existing" $(DESTDIR)dest/dstname; \ @@\ - else set -x; \ @@\ + else test -n "${VERBOSE}" && set -x; \ @@\ $(INSTALL) $(INSTALLFLAGS) flags srcname $(DESTDIR)dest/dstname; fi #endif /* InstallNamedTargetNoClobber */ @@ -1336,7 +1336,7 @@ install.man:: @@\ @(TMP="#tmp.$$$$"; \ @@\ RemoveFile($${TMP}); \ @@\ echo .so `basename destdir`/file.$(MANSUFFIX) > $${TMP}; \ @@\ - for i in aliases; do (set -x; \ @@\ + for i in aliases; do (test -n "${VERBOSE}" && set -x; \ @@\ $(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) $${TMP} $(DESTDIR)destdir/$$i.$(MANSUFFIX)); \ @@\ done; \ @@\ RemoveFile($${TMP})) @@ -1371,7 +1371,7 @@ install.man:: @@\ @(TMP="#tmp.$$$$"; \ @@\ RemoveFile($${TMP}); \ @@\ echo .so `basename destdir`/file.suffix > $${TMP}; \ @@\ - for i in aliases; do (set -x; \ @@\ + for i in aliases; do (test -n "${VERBOSE}" && set -x; \ @@\ $(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) $${TMP} $(DESTDIR)destdir/$$i.suffix); \ @@\ done; \ @@\ RemoveFile($${TMP})) @@ -1414,7 +1414,7 @@ install.man:: list @@\ @case '${MFLAGS}' in *[i]*) set +e;; esac; \ @@\ for i in list; do \ @@\ (MNAME=`echo $$i | cut -f1 -d.`; \ @@\ - set -x; \ @@\ + test -n "${VERBOSE}" && set -x; \ @@\ $(RM) $(DESTDIR)dest/$${MNAME}*; \ @@\ $(INSTALL) -c $(INSTMANFLAGS) $$i \ @@\ $(DESTDIR)dest/$${MNAME}.$(MANSUFFIX); \ @@\ @@ -1429,7 +1429,7 @@ install.man:: list @@\ #define InstallManPageAliasesBase(file,destdir,aliases) @@\ install.man:: @@\ @(SUFFIX=`echo $(DESTDIR)destdir/file.* | sed -e 's,.*/[^\.]*.,,'`; \ @@\ - for i in aliases; do (set -x; \ @@\ + for i in aliases; do (test -n "${VERBOSE}" && set -x; \ @@\ $(RM) $(DESTDIR)destdir/$$i.*; \ @@\ (cd $(DESTDIR)destdir; $(LN) file.$${SUFFIX} \ @@\ $$i.$${SUFFIX})); \ @@\ @@ -1515,7 +1515,7 @@ dest.suffix.html: file.$(MANNEWSUFFIX) RmanCmdDependency @@\ install.man:: dest.suffix.html @@\ MakeDir($(DESTDIR)$(DOCHTMLDIR)) @@\ @(SUF=`expr suffix \: '\(.\)'`; \ @@\ - set -x; \ @@\ + test -n "${VERBOSE}" && set -x; \ @@\ $(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) dest.suffix.html $(DESTDIR)$(DOCHTMLDIR)/dest.$$SUF.html) @@\ @@\ clean:: @@\ @@ -1531,7 +1531,7 @@ clean:: @@\ install.man:: file.suffix.html @@\ MakeDir($(DESTDIR)$(DOCHTMLDIR)) @@\ @SUF=`expr suffix \: '\(.\)'`; \ @@\ - for i in aliases; do (set -x; \ @@\ + for i in aliases; do (test -n "${VERBOSE}" && set -x; \ @@\ RemoveFile($(DESTDIR)$(DOCHTMLDIR)/$$i.$$SUF.html); \ @@\ (cd $(DESTDIR)$(DOCHTMLDIR); \ @@\ $(LN) file.$$SUF.html $$i.$$SUF.html)); \ @@\ @@ -1738,7 +1738,7 @@ InstallNamedTargetNoClobber(install,srcname,$(INSTBINFLAGS),dest,dstname) step:: @@\ @MakeFlagsToShellFlags(i,set +e); \ @@\ echo " cd" dir; cd dir && \ @@\ - for i in list; do (set -x; $(LN) -f sub/$$i .); done + for i in list; do (test -n "${VERBOSE}" && set -x; $(LN) -f sub/$$i .); done #endif @@ -1855,7 +1855,7 @@ step:: list @@\ MakeDir($(DESTDIR)dest) @@\ @MakeFlagsToShellFlags(i,set +e); \ @@\ for i in list; do \ @@\ - (set -x; $(INSTALL) $(INSTALLFLAGS) flags $$i $(DESTDIR)dest); \ @@\ + (test -n "${VERBOSE}" && set -x; $(INSTALL) $(INSTALLFLAGS) flags $$i $(DESTDIR)dest); \ @@\ done #endif /* InstallMultipleDestFlags */ @@ -1922,7 +1922,7 @@ install.man:: @@\ MakeDir($(DESTDIR)dest) @@\ @MakeFlagsToShellFlags(i,set +e); \ @@\ for i in list; do \ @@\ - (set -x; $(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) $$i.suffix $(DESTDIR)dest/$$i.$(MANSUFFIX)); \ @@\ + (test -n "${VERBOSE}" && set -x; $(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) $$i.suffix $(DESTDIR)dest/$$i.$(MANSUFFIX)); \ @@\ done #endif /* InstallMultipleManSuffix */ @@ -2105,7 +2105,7 @@ BuildMakefileTarget(Imakefile,NullParameter) * LibMkdir - helper for creating library object subdirectories */ #ifndef LibMkdir -#define LibMkdir(dir) DirFailPrefix@if [ -d dir ]; then exit 0; else set -x; mkdir dir; fi +#define LibMkdir(dir) DirFailPrefix@if [ -d dir ]; then exit 0; else test -n "${VERBOSE}" && set -x; mkdir dir; fi #endif #ifndef LibMkdirLinkSubdirs @@ -2129,7 +2129,7 @@ BuildMakefileTarget(Imakefile,NullParameter) */ #ifndef LibCleanDir #define LibCleanDir(dir) -@if [ -d dir ]; then \ @@\ - set -x; $(RM) -r dir; else exit 0; fi + test -n "${VERBOSE}" && set -x; $(RM) -r dir; else exit 0; fi #endif /* @@ -2532,7 +2532,7 @@ file.c: file.y @@\ ClearmakeOSName \ $(YACC) flags file.y @@\ SwitchYYPrefix(y.tab.c,file.c,prefix) @@\ - @if [ -f y.tab.h ]; then set -x; SwitchYYPrefix(y.tab.h,file.h,prefix); \@@\ + @if [ -f y.tab.h ]; then test -n "${VERBOSE}" && set -x; SwitchYYPrefix(y.tab.h,file.h,prefix); \@@\ else exit 0; fi @@\ @@\ clean:: @@\ @@ -2545,7 +2545,7 @@ file.h file.c: file.y @@\ ClearmakeOSName \ $(YACC) flags file.y @@\ SwitchYYPrefix(y.tab.c,file.c,prefix) @@\ - @if [ -f y.tab.h ]; then set -x; SwitchYYPrefix(y.tab.h,file.h,prefix); \ @@\ + @if [ -f y.tab.h ]; then test -n "${VERBOSE}" && set -x; SwitchYYPrefix(y.tab.h,file.h,prefix); \ @@\ else exit 0; fi @@\ @@\ clean:: @@\ @@ -2564,7 +2564,7 @@ file.c: file.y @@\ ClearmakeOSName \ $(YACC) flags file.y @@\ $(MV) y.tab.c file.c @@\ - @if [ -f y.tab.h ]; then set -x; $(MV) y.tab.h file.h; \ @@\ + @if [ -f y.tab.h ]; then test -n "${VERBOSE}" && set -x; $(MV) y.tab.h file.h; \ @@\ else exit 0; fi @@\ @@\ clean:: @@\ @@ -2577,7 +2577,7 @@ file.h file.c: file.y @@\ ClearmakeOSName \ $(YACC) flags file.y @@\ $(MV) y.tab.c file.c @@\ - @if [ -f y.tab.h ]; then set -x; $(MV) y.tab.h file.h; \ @@\ + @if [ -f y.tab.h ]; then test -n "${VERBOSE}" && set -x; $(MV) y.tab.h file.h; \ @@\ else exit 0; fi @@\ @@\ clean:: @@\ @@ -2618,7 +2618,7 @@ clean:: @@\ #define LinkBuildLibraryMaybe(lib,doit) $(_NULLCMD_) #else #define LinkBuildLibraryMaybe(lib,doit) MakeDir($(BUILDLIBDIR)) @@\ - @if doit; then (set -x; \ @@\ + @if doit; then (test -n "${VERBOSE}" && set -x; \ @@\ RemoveFile($(BUILDLIBDIR)/lib); \ @@\ cd $(BUILDLIBDIR) && $(LN) $(BUILDLIBTOP)/$(CURRENT_DIR)/lib .); fi #endif @@ -2633,7 +2633,7 @@ clean:: @@\ #define LinkBuildSonameLibrary(lib) true #else #define LinkBuildSonameLibrary(lib) MakeDirInline($(BUILDLIBDIR));\ @@\ - (set -x; RemoveFile($(BUILDLIBDIR)/lib);\ @@\ + (test -n "${VERBOSE}" && set -x; RemoveFile($(BUILDLIBDIR)/lib);\ @@\ (cd $(BUILDLIBDIR) && $(LN) $(BUILDLIBTOP)/$(CURRENT_DIR)/lib .)) #endif #endif /* LinkBuildSonameLibrary */ @@ -2716,7 +2716,7 @@ AllTarget(LibraryTargetName(libname)) @@\ @@\ LibraryTargetName(libname): objlist $(EXTRALIBRARYDEPS) @@\ RemoveFile($@) @@\ - @(set -x; cd down && MakeLibrary(up/$@,objlist)) || exit 1; @@\ + @(test -n "${VERBOSE}" && set -x; cd down && MakeLibrary(up/$@,objlist)) || exit 1; @@\ RanLibrary($@) @@\ _LinkBuildLibrary($@) #endif /* UnsharedLibraryTarget */ @@ -2969,9 +2969,9 @@ clean:: @@\ #define MakeSubincludesForBuild(step,dir,srclist) @@\ step:: dir srclist @@\ @-(list=`echo srclist | sed -e 's/[^ ]*\///g'`; \ @@\ - set -x; cd dir && RemoveFiles($$list)) @@\ + test -n "${VERBOSE}" && set -x; cd dir && RemoveFiles($$list)) @@\ @for i in srclist; do \ @@\ - (set -x; cd dir && $(LN) ../$$i .); \ @@\ + (test -n "${VERBOSE}" && set -x; cd dir && $(LN) ../$$i .); \ @@\ done @@\ @@\ dir:: @@\ @@ -2980,7 +2980,7 @@ dir:: @@\ clean:: @@\ @-(if [ -d dir ]; then \ @@\ list=`echo srclist | sed -e 's/[^ ]*\///g'`; \ @@\ - set -x; cd dir && RemoveFile($$list); else exit 0; fi) + test -n "${VERBOSE}" && set -x; cd dir && RemoveFile($$list); else exit 0; fi) #endif @@ -3251,7 +3251,7 @@ target:: @@\ esac; \ @@\ RemoveFile($$i/Makefile.bak); \ @@\ if [ -f $$i/Makefile ]; then \ @@\ - echo " $(MV) Makefile Makefile.bak"; \ @@\ + #echo " $(MV) Makefile Makefile.bak"; \ @@\ if [ "$$executeit" != "no" ]; then \ @@\ $(MV) $$i/Makefile $$i/Makefile.bak; \ @@\ fi; \ @@\ @@ -3399,7 +3399,7 @@ clean:: @@\ step:: @@\ DirFailPrefix@MakeFlagsToShellFlags(i,set +e); \ @@\ for i in dirs; do if [ -d $(DESTDIR)$$i ]; then \ @@\ - set +x; else (set -x; $(MKDIRHIER) $(DESTDIR)$$i); fi; \ @@\ + set +x; else (test -n "${VERBOSE}" && set -x; $(MKDIRHIER) $(DESTDIR)$$i); fi; \ @@\ done #endif /* MakeDirectories */ @@ -3441,7 +3441,7 @@ MutexDirective: targets #define LinkBuildModule(module,subdir)\ MakeDir($(BUILDMODULEDIR)/subdir) @@\ RemoveFile($(BUILDMODULEDIR)/subdir/module) @@\ - @(UP="`$(REVPATH) subdir`"; set -x; \ @@\ + @(UP="`$(REVPATH) subdir`"; test -n "${VERBOSE}" && set -x; \ @@\ cd $(BUILDMODULEDIR)/subdir && \ @@\ $(LN) $(BUILDMODULETOP)/$${UP}$(CURRENT_DIR)/module .) #endif @@ -3454,7 +3454,7 @@ MutexDirective: targets #define LinkBuildNamedModule(module,name,subdir)\ MakeDir($(BUILDMODULEDIR)/subdir) @@\ RemoveFile($(BUILDMODULEDIR)/subdir/name) @@\ - @(UP="`$(REVPATH) subdir`"; set -x; \ @@\ + @(UP="`$(REVPATH) subdir`"; test -n "${VERBOSE}" && set -x; \ @@\ cd $(BUILDMODULEDIR)/subdir && \ @@\ $(LN) $(BUILDMODULETOP)/$${UP}$(CURRENT_DIR)/module name) #endif @@ -3586,7 +3586,7 @@ AllTarget(objname.Osuf) @@\ objname.Osuf: Concat3(libpath,/lib,libname.a) @@\ @$(MKDIRHIER) tmp @@\ @$(CP) Concat3(libpath,/lib,libname.a) tmp @@\ - @(cd tmp; set -x; ArExtCmd Concat(lib,libname.a); \ @@\ + @(cd tmp; test -n "${VERBOSE}" && set -x; ArExtCmd Concat(lib,libname.a); \ @@\ $(LD) $(LDCOMBINEFLAGS) *.Osuf -o ../$@; \ @@\ RemoveFiles(*.Osuf)) @@\ @$(RM) -r tmp @@\ diff --git a/nx-X11/config/cf/X11.tmpl b/nx-X11/config/cf/X11.tmpl index e9b6695d0..4bd18aa4e 100644 --- a/nx-X11/config/cf/X11.tmpl +++ b/nx-X11/config/cf/X11.tmpl @@ -1486,28 +1486,28 @@ file.ps: src @@\ #define InstallDoc(name,deps) @@\ install:: deps @@\ MakeDir($(DESTDIR)$(DOCPSDIR)) @@\ - @if [ -f name.ps -a X$(NOPS) = X ]; then set -x; \ @@\ + @if [ -f name.ps -a X$(NOPS) = X ]; then test -n "${VERBOSE}" && set -x; \ @@\ $(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) name.ps \ @@\ $(DESTDIR)$(DOCPSDIR); \ @@\ fi ; RemoveOldFile(name.ps,name.PS,$(DOCPSDIR)) @@\ MakeDir($(DESTDIR)$(DOCDIR)) @@\ - @if [ -f name.txt -a X$(NOTXT) = X ]; then set -x; \ @@\ + @if [ -f name.txt -a X$(NOTXT) = X ]; then test -n "${VERBOSE}" && set -x; \ @@\ $(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) name.txt \ @@\ $(DESTDIR)$(DOCDIR); \ @@\ fi ; RemoveOldFile(name.txt,name.TXT,$(DOCDIR)) @@\ MakeDir($(DESTDIR)$(DOCHTMLDIR)) @@\ - @if [ -f name.html -a X$(NOHTML) = X ]; then (set -x; \ @@\ + @if [ -f name.html -a X$(NOHTML) = X ]; then (test -n "${VERBOSE}" && set -x; \ @@\ $(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) name.html \ @@\ $(DESTDIR)$(DOCHTMLDIR)); \ @@\ for i in name*.png; do \ @@\ - if [ -f $$i ]; then (set -x; \ @@\ + if [ -f $$i ]; then (test -n "${VERBOSE}" && test -n "${VERBOSE}" && set -x; \ @@\ $(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) $$i \ @@\ $(DESTDIR)$(DOCHTMLDIR)); \ @@\ fi; \ @@\ done; \ @@\ fi @@\ MakeDir($(DESTDIR)$(DOCPDFDIR)) @@\ - @if [ -f name.pdf -a X$(NOPDF) = X ]; then set -x; \ @@\ + @if [ -f name.pdf -a X$(NOPDF) = X ]; then test -n "${VERBOSE}" && set -x; \ @@\ $(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) name.pdf \ @@\ $(DESTDIR)$(DOCPDFDIR); \ @@\ fi @@ -1528,7 +1528,7 @@ install:: deps @@\ #ifndef LinkHardcopyPS # if CaseSensitiveFileSystem # define LinkHardcopyPS(name) \ - @if [ -f name.PS ]; then set -x; \ @@\ + @if [ -f name.PS ]; then test -n "${VERBOSE}" && set -x; \ @@\ RemoveFile(name.ps); \ @@\ $(LN) name.PS name.ps; \ @@\ fi @@ -1543,7 +1543,7 @@ install:: deps @@\ all:: name.ps PdfTarget(name) @@\ @@\ name.ps: deps @@\ - @if [ -f name.PS.gz ]; then set -x; \ @@\ + @if [ -f name.PS.gz ]; then test -n "${VERBOSE}" && set -x; \ @@\ RemoveFile(name.ps); \ @@\ gzip -d < name.PS.gz > name.ps; \ @@\ fi @@\ diff --git a/nx-X11/config/cf/lnxLib.rules b/nx-X11/config/cf/lnxLib.rules index 3db2181f1..fc60671ec 100644 --- a/nx-X11/config/cf/lnxLib.rules +++ b/nx-X11/config/cf/lnxLib.rules @@ -118,8 +118,8 @@ install:: Concat(lib,libname.so.rev) @@\ MakeDir($(DESTDIR)dest) @@\ $(INSTALL) $(INSTALLFLAGS) $(INSTBINFLAGS) Concat(lib,libname.so.rev) $(DESTDIR)dest @@\ @T=`echo Concat($(DESTDIR)dest/lib,libname.so.rev) | sed 's/\(lib[^\.]*\.so\.[0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`;\ - set -x; $(RM) $$T && $(LN) Concat(lib,libname.so.rev) $$T @@\ - @if $(SOSYMLINK); then (set -x; \ + test -n "${VERBOSE}" && set -x; $(RM) $$T && $(LN) Concat(lib,libname.so.rev) $$T @@\ + @if $(SOSYMLINK); then (test -n "${VERBOSE}" && set -x; \ $(RM) Concat($(DESTDIR)dest/lib,libname.so); \ @@\ $(LN) Concat(lib,libname.so.rev) Concat($(DESTDIR)dest/lib,libname.so)); fi # endif /* InstallSharedLibrary */ @@ -136,7 +136,7 @@ install:: Concat(lib,libname.so.rev) @@\ install:: Concat(lib,libname.so) @@\ MakeDir($(DESTDIR)dest) @@\ @set +e; SetRevisions(rev); \ @@\ - set -xe; \ @@\ + test -n "${VERBOSE}" && set -xe; \ @@\ $(INSTALL) $(INSTALLFLAGS) $(INSTBINFLAGS) Concat(lib,libname.so.$$MAJ.$$MIN) $(DESTDIR)dest; \ @@\ $(RM) Concat($(DESTDIR)dest/lib,libname.so.$$MAJ); \ @@\ $(LN) Concat(lib,libname.so.$$MAJ.$$MIN) Concat($(DESTDIR)dest/lib,libname.so.$$MAJ); \ @@\ @@ -163,13 +163,13 @@ AllTarget(Concat(lib,libname.so.rev)) @@\ @@\ Concat(lib,libname.so.rev): solist $(EXTRALIBRARYDEPS) @@\ $(RM) $@~ @@\ - @SONAME=`echo $@ | sed 's/\(lib[^\.]*\.so\.[0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`; (set -x; \ @@\ + @SONAME=`echo $@ | sed 's/\(lib[^\.]*\.so\.[0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`; (test -n "${VERBOSE}" && set -x; \ @@\ cd down; $(CC) -o up/$@~ $(SHLIBLDFLAGS) -Wl,-soname,$$SONAME solist $(REQUIREDLIBS) BaseShLibReqs) || exit 1; \ @@\ - (set -x; $(RM) $$SONAME; $(LN) $@ $$SONAME); \ @@\ + (test -n "${VERBOSE}" && set -x; $(RM) $$SONAME; $(LN) $@ $$SONAME); \ @@\ LinkBuildSonameLibrary($$SONAME) @@\ $(RM) $@ @@\ $(MV) $@~ $@ @@\ - @if $(SOSYMLINK); then (set -x; \ @@\ + @if $(SOSYMLINK); then (test -n "${VERBOSE}" && set -x; \ @@\ $(RM) Concat(lib,libname.so); \ @@\ $(LN) $@ Concat(lib,libname.so)); fi @@\ LinkBuildLibrary($@) @@\ @@ -177,7 +177,7 @@ Concat(lib,libname.so.rev): solist $(EXTRALIBRARYDEPS) @@\ @@\ clean:: @@\ @MAJREV=`echo rev | sed 's/\([0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`; \ @@\ - set -x; $(RM) Concat(lib,libname.so.$$MAJREV) @@\ + test -n "${VERBOSE}" && set -x; $(RM) Concat(lib,libname.so.$$MAJREV) @@\ $(RM) Concat(lib,libname.so.rev) Concat(lib,libname.so) # endif /* SharedLibraryTarget */ @@ -191,13 +191,13 @@ Concat(lib,libname.so): solist $(EXTRALIBRARYDEPS) @@\ $(RM) $@~ @@\ @set +e; SetRevisions(rev); set -e; \ @@\ SONAME=$@.$$MAJ; \ @@\ - (set -x; \ @@\ + (test -n "${VERBOSE}" && set -x; \ @@\ $(RM) $@.$$MAJ.$$MIN~; \ @@\ cd down; $(CC) -o up/$@.$$MAJ.$$MIN~ $(SHLIBLDFLAGS) -Wl,-soname,$$SONAME solist $(REQUIREDLIBS) BaseShLibReqs) || exit 1; \ @@\ - (set -x; \ @@\ + (test -n "${VERBOSE}" && set -x; \ @@\ $(RM) $$SONAME; $(LN) $@.$$MAJ.$$MIN $$SONAME); \ @@\ LinkBuildSonameLibrary($$SONAME); \ @@\ - (set -x; \ @@\ + (test -n "${VERBOSE}" && set -x; \ @@\ $(RM) $@.$$MAJ.$$MIN; \ @@\ $(MV) $@.$$MAJ.$$MIN~ $@.$$MAJ.$$MIN; \ @@\ $(RM) $@; \ @@\ @@ -207,7 +207,7 @@ Concat(lib,libname.so): solist $(EXTRALIBRARYDEPS) @@\ @@\ clean:: @@\ @set +e; SetRevisions(rev); \ @@\ - set -xe; \ @@\ + test -n "${VERBOSE}" && set -xe; \ @@\ $(RM) Concat(lib,libname.so.$$MAJ); \ @@\ $(RM) Concat(lib,libname.so.$$MAJ.$$MIN) @@\ $(RM) Concat(lib,libname.so) @@ -223,13 +223,13 @@ AllTarget(Concat(lib,libname.so.rev)) @@\ @@\ Concat(lib,libname.so.rev): deplist $(EXTRALIBRARYDEPS) @@\ $(RM) $@~ @@\ - @SONAME=`echo $@ | sed 's/\(lib[^\.]*\.so\.[0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`; set -x; \ @@\ + @SONAME=`echo $@ | sed 's/\(lib[^\.]*\.so\.[0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`; test -n "${VERBOSE}" && set -x; \ @@\ (cd down; $(CC) -o up/$@~ $(SHLIBLDFLAGS) -Wl,-soname,$$SONAME solist $(REQUIREDLIBS) BaseShLibReqs); \ @@\ $(RM) $$SONAME; $(LN) $@ $$SONAME; \ @@\ LinkBuildSonameLibrary($$SONAME) @@\ $(RM) $@ @@\ $(MV) $@~ $@ @@\ - @if $(SOSYMLINK); then (set -x; \ @@\ + @if $(SOSYMLINK); then (test -n "${VERBOSE}" && set -x; \ @@\ $(RM) Concat(lib,libname.so); \ @@\ $(LN) $@ Concat(lib,libname.so)); fi @@\ LinkBuildLibrary($@) @@\ @@ -237,7 +237,7 @@ Concat(lib,libname.so.rev): deplist $(EXTRALIBRARYDEPS) @@\ @@\ clean:: @@\ @MAJREV=`echo rev | sed 's/\([0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`; \ @@\ - set -x; $(RM) Concat(lib,libname.so.$$MAJREV) @@\ + test -n "${VERBOSE}" && set -x; $(RM) Concat(lib,libname.so.$$MAJREV) @@\ $(RM) Concat(lib,libname.so.rev) Concat(lib,libname.so) #endif /* SharedDepLibraryTarget */ @@ -251,13 +251,13 @@ AllTarget(Concat(lib,libname.so.rev)) @@\ @@\ Concat(lib,libname.so.rev): deplist $(EXTRALIBRARYDEPS) @@\ $(RM) $@~ @@\ - @SONAME=`echo $@ | sed 's/\(lib[^\.]*\.so\.[0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`; set -x; \ @@\ + @SONAME=`echo $@ | sed 's/\(lib[^\.]*\.so\.[0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`; test -n "${VERBOSE}" && set -x; \ @@\ (cd down; $(CXX) -o up/$@~ $(SHLIBLDFLAGS) -Wl,-soname,$$SONAME solist $(REQUIREDLIBS) BaseShLibReqs); \ @@\ $(RM) $$SONAME; $(LN) $@ $$SONAME; \ @@\ LinkBuildSonameLibrary($$SONAME) @@\ $(RM) $@ @@\ $(MV) $@~ $@ @@\ - @if $(SOSYMLINK); then (set -x; \ @@\ + @if $(SOSYMLINK); then (test -n "${VERBOSE}" && set -x; \ @@\ $(RM) Concat(lib,libname.so); \ @@\ $(LN) $@ Concat(lib,libname.so)); fi @@\ LinkBuildLibrary($@) @@\ @@ -265,7 +265,7 @@ Concat(lib,libname.so.rev): deplist $(EXTRALIBRARYDEPS) @@\ @@\ clean:: @@\ @MAJREV=`echo rev | sed 's/\([0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`; \ @@\ - set -x; $(RM) Concat(lib,libname.so.$$MAJREV) @@\ + test -n "${VERBOSE}" && set -x; $(RM) Concat(lib,libname.so.$$MAJREV) @@\ $(RM) Concat(lib,libname.so.rev) Concat(lib,libname.so) #endif /* SharedDepCplusplusLibraryTarget */ @@ -594,7 +594,7 @@ install:: $(JUMP_SA) $(JUMP_SO) @@\ MakeDir($(DESTDIR)dest) @@\ @if [ "$(JUMP_IS_HOST)" = YES ]; then \ (T=$(DESTDIR)dest/`echo $(JUMP_SO)|sed '/\(lib[^\.]*\.so\.[0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/`;\ - set -x; \ + test -n "${VERBOSE}" && set -x; \ $(INSTALL) -s -c $(INSTSOLIBFLAGS) $(JUMP_SO) $(DESTDIR)dest; \ $(RM) $$T && $(LN) $(JUMP_SO) $$T); fi @@\ $(INSTALL) -c $(INSTLIBFLAGS) $(JUMP_SA) $(DESTDIR)dest |