From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2201) id 5F5AB385841D; Wed, 19 Jan 2022 17:15:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5F5AB385841D Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Jon TURNEY To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: silence most custom build rules X-Act-Checkin: newlib-cygwin X-Git-Author: Jon Turney X-Git-Refname: refs/heads/master X-Git-Oldrev: 93511d575ed3a838cd4943a4e24c787d5a0c679d X-Git-Newrev: 9c546e0fd257a3d13aad855a4004dba75420b6b9 Message-Id: <20220119171517.5F5AB385841D@sourceware.org> Date: Wed, 19 Jan 2022 17:15:17 +0000 (GMT) X-BeenThere: cygwin-cvs@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin core component git logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2022 17:15:17 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D9c546e0fd25= 7a3d13aad855a4004dba75420b6b9 commit 9c546e0fd257a3d13aad855a4004dba75420b6b9 Author: Jon Turney Date: Tue Jan 18 17:06:15 2022 +0000 Cygwin: silence most custom build rules Diff: --- winsup/cygwin/Makefile.am | 38 +++++++++++++++++++------------------- winsup/doc/Makefile.am | 38 +++++++++++++++++++------------------- 2 files changed, 38 insertions(+), 38 deletions(-) diff --git a/winsup/cygwin/Makefile.am b/winsup/cygwin/Makefile.am index 2b8e87fcd..8d55e1693 100644 --- a/winsup/cygwin/Makefile.am +++ b/winsup/cygwin/Makefile.am @@ -367,16 +367,16 @@ libdll_a_SOURCES=3D \ # =20 shared_info_magic.h: cygmagic shared_info.h - $(srcdir)/cygmagic $@ "$(CC) $(INCLUDES) $(CPPFLAGS) -E -x c++" $(word 2,= $^) SHARED_MAGIC 'class shared_info' USER_MAGIC 'class user_info' + $(AM_V_GEN)$(srcdir)/cygmagic $@ "$(CC) $(INCLUDES) $(CPPFLAGS) -E -x c++= " $(word 2,$^) SHARED_MAGIC 'class shared_info' USER_MAGIC 'class user_info' =20 child_info_magic.h: cygmagic child_info.h - $(srcdir)/cygmagic $@ "$(CC) $(INCLUDES) $(CPPFLAGS) -E -x c++" $(word 2,= $^) CHILD_INFO_MAGIC 'class child_info' + $(AM_V_GEN)$(srcdir)/cygmagic $@ "$(CC) $(INCLUDES) $(CPPFLAGS) -E -x c++= " $(word 2,$^) CHILD_INFO_MAGIC 'class child_info' =20 globals.h: mkglobals_h globals.cc - $^ > $@ + $(AM_V_GEN)$^ > $@ =20 localtime.patched.c: tzcode/localtime.c tzcode/localtime.c.patch - patch -u -o localtime.patched.c \ + $(AM_V_GEN)patch -u -o localtime.patched.c \ $(srcdir)/tzcode/localtime.c \ $(srcdir)/tzcode/localtime.c.patch =20 @@ -620,12 +620,12 @@ $(LIBSERVER): # linker script LDSCRIPT=3Dcygwin.sc $(LDSCRIPT): $(LDSCRIPT).in - $(CC) -E - -P < $^ -o $@ + $(AM_V_GEN)$(CC) -E - -P < $^ -o $@ =20 # cygwin dll $(TEST_DLL_NAME): $(LDSCRIPT) dllfixdbg libdll.a $(VERSION_OFILES) $(LIBSE= RVER)\ $(newlib_build)/libm/libm.a $(newlib_build)/libc/libc.a - $(CXX) $(CXXFLAGS) \ + $(AM_V_CXXLD)$(CXX) $(CXXFLAGS) \ -mno-use-libstdc-wrappers \ -Wl,--gc-sections -nostdlib -Wl,-T$(LDSCRIPT) -static \ -Wl,--heap=3D0 -Wl,--out-implib,cygdll.a -shared -o $@ \ @@ -636,14 +636,14 @@ $(TEST_DLL_NAME): $(LDSCRIPT) dllfixdbg libdll.a $(VE= RSION_OFILES) $(LIBSERVER)\ $(newlib_build)/libm/libm.a \ $(newlib_build)/libc/libc.a \ -lgcc -lkernel32 -lntdll -Wl,-Map,cygwin.map - $(srcdir)/dllfixdbg $(OBJDUMP) $(OBJCOPY) $@ cygwin1.dbg + @$(srcdir)/dllfixdbg $(OBJDUMP) $(OBJCOPY) $@ cygwin1.dbg @ln -f $@ new-cygwin1.dll =20 # cygwin import library toolopts=3D--cpu=3D@target_cpu@ --ar=3D@AR@ --as=3D@AS@ --nm=3D@NM@ --objc= opy=3D@OBJCOPY@ =20 $(DEF_FILE): gendef $(srcdir)/$(TLSOFFSETS_H) $(DIN_FILE) common.din - $(srcdir)/gendef --cpu=3D@target_cpu@ --output-def=3D$(DEF_FILE) --tlsoff= sets=3D$(srcdir)/$(TLSOFFSETS_H) $(srcdir)/$(DIN_FILE) $(srcdir)/common.din + $(AM_V_GEN)$(srcdir)/gendef --cpu=3D@target_cpu@ --output-def=3D$(DEF_FIL= E) --tlsoffsets=3D$(srcdir)/$(TLSOFFSETS_H) $(srcdir)/$(DIN_FILE) $(srcdir)= /common.din =20 sigfe.s: $(DEF_FILE) @[ -s $@ ] || \ @@ -652,11 +652,11 @@ sigfe.s: $(DEF_FILE) =20 LIBCOS=3D$(addsuffix .o,$(basename $(LIB_FILES))) $(LIB_NAME): $(DEF_FILE) $(LIBCOS) | $(TEST_DLL_NAME) - $(srcdir)/mkimport $(toolopts) $(NEW_FUNCTIONS) $@ cygdll.a $(wordlist 2,= 99,$^) + $(AM_V_GEN)$(srcdir)/mkimport $(toolopts) $(NEW_FUNCTIONS) $@ cygdll.a $(= wordlist 2,99,$^) =20 # cygwin import library used by testsuite $(TEST_LIB_NAME): $(LIB_NAME) - perl -p -e 'BEGIN{binmode(STDIN); binmode(STDOUT);}; s/cygwin1/cygwin0/g'= < $? > $@ + $(AM_V_GEN)perl -p -e 'BEGIN{binmode(STDIN); binmode(STDOUT);}; s/cygwin1= /cygwin0/g' < $? > $@ =20 # sublibs # import libraries for some subset of symbols indicated by given objects @@ -669,32 +669,32 @@ speclib=3D\ --exclude=3D'^_main$$' =20 libc.a: $(LIB_NAME) libm.a libpthread.a libutil.a - $(speclib) $^ -v $(@F) + $(AM_V_GEN)$(speclib) $^ -v $(@F) =20 libm.a: $(LIB_NAME) $(newlib_build)/libm/libm.a $(addsuffix .o,$(basename = $(MATH_FILES))) - $(speclib) $^ $(@F) + $(AM_V_GEN)$(speclib) $^ $(@F) =20 libpthread.a: $(LIB_NAME) pthread.o thread.o libc/call_once.o libc/cnd.o \ libc/mtx.o libc/thrd.o libc/tss.o - $(speclib) $^ $(@F) + $(AM_V_GEN)$(speclib) $^ $(@F) =20 libutil.a: $(LIB_NAME) libc/bsdlib.o - $(speclib) $^ $(@F) + $(AM_V_GEN)$(speclib) $^ $(@F) =20 libdl.a: $(LIB_NAME) dlfcn.o - $(speclib) $^ $(@F) + $(AM_V_GEN)$(speclib) $^ $(@F) =20 libresolv.a: $(LIB_NAME) libc/minires.o - $(speclib) $^ $(@F) + $(AM_V_GEN)$(speclib) $^ $(@F) =20 librt.a: $(LIB_NAME) posix_ipc.o - $(speclib) $^ $(@F) + $(AM_V_GEN)$(speclib) $^ $(@F) =20 libacl.a: $(LIB_NAME) sec_posixacl.o - $(speclib) $^ $(@F) + $(AM_V_GEN)$(speclib) $^ $(@F) =20 libssp.a: $(LIB_NAME) $(newlib_build)/libc/ssp/lib.a - $(speclib) $^ $(@F) + $(AM_V_GEN)$(speclib) $^ $(@F) =20 # # all diff --git a/winsup/doc/Makefile.am b/winsup/doc/Makefile.am index 5164c6e0a..44b64babc 100644 --- a/winsup/doc/Makefile.am +++ b/winsup/doc/Makefile.am @@ -107,56 +107,56 @@ uninstall-hook: uninstall-extra-man uninstall-html un= install-info uninstall-etc =20 # nochunks ug html is not installed, but will be deployed to website cygwin-ug-net/cygwin-ug-net-nochunks.html.gz: $(cygwin-ug-net_SOURCES) htm= l.xsl - $(XMLTO) html-nochunks -m $(srcdir)/html.xsl $< + $(AM_V_GEN)$(XMLTO) html-nochunks -m $(srcdir)/html.xsl $< @$(MKDIR_P) cygwin-ug-net - cp cygwin-ug-net.html cygwin-ug-net/cygwin-ug-net-nochunks.html - rm -f cygwin-ug-net/cygwin-ug-net-nochunks.html.gz - gzip cygwin-ug-net/cygwin-ug-net-nochunks.html + @cp cygwin-ug-net.html cygwin-ug-net/cygwin-ug-net-nochunks.html + @rm -f cygwin-ug-net/cygwin-ug-net-nochunks.html.gz + $(AM_V_at)gzip cygwin-ug-net/cygwin-ug-net-nochunks.html =20 cygwin-ug-net/cygwin-ug-net.html: $(cygwin-ug-net_SOURCES) html.xsl - $(XMLTO) html -o cygwin-ug-net/ -m $(srcdir)/html.xsl $< + $(AM_V_GEN)$(XMLTO) html -o cygwin-ug-net/ -m $(srcdir)/html.xsl $< =20 cygwin-ug-net/cygwin-ug-net.pdf: $(cygwin-ug-net_SOURCES) fo.xsl - $(XMLTO) pdf -o cygwin-ug-net/ -m $(srcdir)/fo.xsl $< + $(AM_V_GEN)$(XMLTO) pdf -o cygwin-ug-net/ -m $(srcdir)/fo.xsl $< =20 utils2man.stamp: $(cygwin-ug-net_SOURCES) man.xsl - $(XMLTO) man -m $(srcdir)/man.xsl $< + $(AM_V_GEN)$(XMLTO) man -m $(srcdir)/man.xsl $< @touch $@ =20 cygwin-ug-net.info: $(cygwin-ug-net_SOURCES) charmap - $(DOCBOOK2XTEXI) $(srcdir)/cygwin-ug-net.xml --string-param output-file= =3Dcygwin-ug-net + $(AM_V_GEN)$(DOCBOOK2XTEXI) $(srcdir)/cygwin-ug-net.xml --string-param ou= tput-file=3Dcygwin-ug-net =20 cygwin-api/cygwin-api.html: $(cygwin-api_SOURCES) html.xsl - $(XMLTO) html -o cygwin-api/ -m $(srcdir)/html.xsl $< + $(AM_V_GEN)$(XMLTO) html -o cygwin-api/ -m $(srcdir)/html.xsl $< =20 cygwin-api/cygwin-api.pdf: $(cygwin-api_SOURCES) fo.xsl - $(XMLTO) pdf -o cygwin-api/ -m $(srcdir)/fo.xsl $< + $(AM_V_GEN)$(XMLTO) pdf -o cygwin-api/ -m $(srcdir)/fo.xsl $< =20 api2man.stamp: $(cygwin-api_SOURCES) man.xsl - $(XMLTO) man -m $(srcdir)/man.xsl $< + $(AM_V_GEN)$(XMLTO) man -m $(srcdir)/man.xsl $< @touch $@ =20 cygwin-api.info: $(cygwin-api_SOURCES) charmap - $(DOCBOOK2XTEXI) $(srcdir)/cygwin-api.xml --string-param output-file=3Dcy= gwin-api + $(AM_V_GEN)$(DOCBOOK2XTEXI) $(srcdir)/cygwin-api.xml --string-param outpu= t-file=3Dcygwin-api =20 # this generates a custom charmap for docbook2x-texi which has a mapping f= or ® charmap: - cp /usr/share/docbook2X/charmaps/texi.charmap charmap - echo "ae (R)" >>charmap + $(AM_V_GEN)cp /usr/share/docbook2X/charmaps/texi.charmap charmap + $(AM_V_at)echo "ae (R)" >>charmap =20 intro2man.stamp: intro.xml man.xsl - $(XMLTO) man -m $(srcdir)/man.xsl $< + $(AM_V_GEN)$(XMLTO) man -m $(srcdir)/man.xsl $< @echo ".so intro.1" >cygwin.1 @touch $@ =20 faq/faq.html: $(faq_SOURCES) html.xsl - $(XMLTO) html -o faq -m $(srcdir)/html.xsl $(srcdir)/faq.xml - sed -i 's;;;g' faq/faq.html + $(AM_V_GEN)$(XMLTO) html -o faq -m $(srcdir)/html.xsl $(srcdir)/faq.xml + @sed -i 's;;;g' faq/faq.html =20 # faq body is not installed, but is intended to be deployed to website, wh= ere it # can be SSI included in a framing page faq/faq.body: faq/faq.html - $(srcdir)/bodysnatcher.pl $< + $(AM_V_GEN)$(srcdir)/bodysnatcher.pl $< =20 Makefile.dep: cygwin-ug-net.xml cygwin-api.xml faq.xml intro.xml - cd $(srcdir) && ./xidepend $^ > "$(CURDIR)/$@" + $(AM_V_GEN)cd $(srcdir) && ./xidepend $^ > "$(CURDIR)/$@"