public inbox for cygwin-patches@cygwin.com
 help / color / mirror / Atom feed
From: Jon Turney <jon.turney@dronecode.org.uk>
To: cygwin-patches@cygwin.com
Cc: Jon Turney <jon.turney@dronecode.org.uk>
Subject: [PATCH 5/6] Drop do-nothing install_host target
Date: Tue, 20 Oct 2020 14:43:03 +0100	[thread overview]
Message-ID: <20201020134304.11281-6-jon.turney@dronecode.org.uk> (raw)
In-Reply-To: <20201020134304.11281-1-jon.turney@dronecode.org.uk>

Drop do-nothing install_host target, which is only used when not
cross-compiling.
---
 winsup/cygserver/configure.ac | 3 ---
 winsup/cygwin/Makefile.in     | 7 ++-----
 winsup/cygwin/configure.ac    | 3 ---
 winsup/testsuite/Makefile.in  | 4 +---
 4 files changed, 3 insertions(+), 14 deletions(-)

diff --git a/winsup/cygserver/configure.ac b/winsup/cygserver/configure.ac
index 9a6baceb7..4ff784e47 100644
--- a/winsup/cygserver/configure.ac
+++ b/winsup/cygserver/configure.ac
@@ -30,16 +30,13 @@ AC_CYGWIN_INCLUDES
 case "$with_cross_host" in
   ""|*cygwin*)
     all_host="all_host"
-    install_host="install_host"
     ;;
   *)
     all_host=
-    install_host=
     ;;
 esac
 
 AC_SUBST(all_host)
-AC_SUBST(install_host)
 
 AC_CHECK_TOOL(AR, ar, ar)
 AC_CHECK_TOOL(AS, as, as)
diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in
index 0dca13fab..33ee17d1e 100644
--- a/winsup/cygwin/Makefile.in
+++ b/winsup/cygwin/Makefile.in
@@ -570,11 +570,10 @@ fhandler_proc_CFLAGS+=-DUSERNAME="\"$(USER)\"" -DHOSTNAME="\"$(HOSTNAME)\""
 fhandler_proc_CFLAGS+=-DGCC_VERSION="\"`$(CC) -v 2>&1 | tail -n 1`\""
 
 .PHONY: all force dll_ofiles install all_target install_target all_host \
-	install_host install install-libs install-headers \
+	install install-libs install-headers \
 	clean distclean realclean maintainer-clean
 
 all_host=@all_host@
-install_host=@install_host@
 
 all: all_target $(all_host)
 
@@ -585,7 +584,7 @@ all_host: $(TEST_LIB_NAME)
 force:
 
 install: install-libs install-headers install-man install-ldif install_target \
-	$(install_host) $(install_target)
+	$(install_target)
 
 uninstall: uninstall-libs uninstall-headers uninstall-man
 
@@ -628,8 +627,6 @@ install-ldif:
 
 install_target:
 
-install_host:
-
 uninstall-libs: $(TARGET_LIBS)
 	rm -f $(bindir)/$(DLL_NAME); \
 	for i in $^; do \
diff --git a/winsup/cygwin/configure.ac b/winsup/cygwin/configure.ac
index 0e9df29bb..aafc4d925 100644
--- a/winsup/cygwin/configure.ac
+++ b/winsup/cygwin/configure.ac
@@ -32,16 +32,13 @@ AC_CYGWIN_INCLUDES
 case "$with_cross_host" in
   ""|*cygwin*)
     all_host="all_host"
-    install_host="install_host"
     ;;
   *)
     all_host=
-    install_host=
     ;;
 esac
 
 AC_SUBST(all_host)
-AC_SUBST(install_host)
 
 AC_CHECK_TOOL(AR, ar, ar)
 AC_CHECK_TOOL(AS, as, as)
diff --git a/winsup/testsuite/Makefile.in b/winsup/testsuite/Makefile.in
index a86a35b88..050d5b164 100644
--- a/winsup/testsuite/Makefile.in
+++ b/winsup/testsuite/Makefile.in
@@ -82,7 +82,7 @@ override COMPILE_CC:=${filter-out -O%,$(COMPILE_CC)}
 override CFLAGS:=${filter-out -O%,$(CFLAGS)}
 export CFLAGS
 
-.PHONY: all force dll_ofiles install all_target install_target install_host
+.PHONY: all force dll_ofiles install all_target install_target
 
 .SUFFIXES:
 .SUFFIXES: .c .cc .def .a .o .d
@@ -93,8 +93,6 @@ force:
 
 install:
 
-install_host:
-
 clean:
 	-rm -f *.o *.dll *.a *.exp junk *.bak *.base *.exe testsuite/* *.d *.dat
 
-- 
2.28.0


  parent reply	other threads:[~2020-10-20 13:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-20 13:42 [PATCH 0/6] More Makefile/configure cleanups Jon Turney
2020-10-20 13:42 ` [PATCH 1/6] Remove lsaauth Jon Turney
2020-10-20 13:43 ` [PATCH 2/6] Drop cygwin version.o from cygserver Jon Turney
2020-10-20 13:43 ` [PATCH 3/6] gendef generates sigfe.s and cygwin.def Jon Turney
2020-10-21 14:31   ` Jon Turney
2020-10-21 15:07     ` Corinna Vinschen
2020-10-23  8:16       ` marco atzeri
2020-10-23 19:53         ` Jon Turney
2020-10-27 16:09     ` Jon Turney
2020-10-20 13:43 ` [PATCH 4/6] Remove nostdlib Makefile variable Jon Turney
2020-10-20 13:43 ` Jon Turney [this message]
2020-10-20 13:43 ` [PATCH 6/6] Drop do-nothing install_target target Jon Turney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201020134304.11281-6-jon.turney@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-patches@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).