Cygwin: Drop do-nothing install_host target
Drop do-nothing install_host target, which is only used when not cross-compiling.
This commit is contained in:
parent
08f5cc2ef4
commit
c50e0d8ba4
|
@ -596,7 +596,6 @@ LD
|
||||||
RANLIB
|
RANLIB
|
||||||
AS
|
AS
|
||||||
AR
|
AR
|
||||||
install_host
|
|
||||||
all_host
|
all_host
|
||||||
INCLUDES
|
INCLUDES
|
||||||
CPP
|
CPP
|
||||||
|
@ -3391,17 +3390,14 @@ done
|
||||||
case "$with_cross_host" in
|
case "$with_cross_host" in
|
||||||
""|*cygwin*)
|
""|*cygwin*)
|
||||||
all_host="all_host"
|
all_host="all_host"
|
||||||
install_host="install_host"
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
all_host=
|
all_host=
|
||||||
install_host=
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if test -n "$ac_tool_prefix"; then
|
if test -n "$ac_tool_prefix"; then
|
||||||
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
|
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
|
||||||
set dummy ${ac_tool_prefix}ar; ac_word=$2
|
set dummy ${ac_tool_prefix}ar; ac_word=$2
|
||||||
|
|
|
@ -30,16 +30,13 @@ AC_CYGWIN_INCLUDES
|
||||||
case "$with_cross_host" in
|
case "$with_cross_host" in
|
||||||
""|*cygwin*)
|
""|*cygwin*)
|
||||||
all_host="all_host"
|
all_host="all_host"
|
||||||
install_host="install_host"
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
all_host=
|
all_host=
|
||||||
install_host=
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
AC_SUBST(all_host)
|
AC_SUBST(all_host)
|
||||||
AC_SUBST(install_host)
|
|
||||||
|
|
||||||
AC_CHECK_TOOL(AR, ar, ar)
|
AC_CHECK_TOOL(AR, ar, ar)
|
||||||
AC_CHECK_TOOL(AS, as, as)
|
AC_CHECK_TOOL(AS, as, as)
|
||||||
|
|
|
@ -570,11 +570,10 @@ fhandler_proc_CFLAGS+=-DUSERNAME="\"$(USER)\"" -DHOSTNAME="\"$(HOSTNAME)\""
|
||||||
fhandler_proc_CFLAGS+=-DGCC_VERSION="\"`$(CC) -v 2>&1 | tail -n 1`\""
|
fhandler_proc_CFLAGS+=-DGCC_VERSION="\"`$(CC) -v 2>&1 | tail -n 1`\""
|
||||||
|
|
||||||
.PHONY: all force dll_ofiles install all_target install_target all_host \
|
.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
|
clean distclean realclean maintainer-clean
|
||||||
|
|
||||||
all_host=@all_host@
|
all_host=@all_host@
|
||||||
install_host=@install_host@
|
|
||||||
|
|
||||||
all: all_target $(all_host)
|
all: all_target $(all_host)
|
||||||
|
|
||||||
|
@ -585,7 +584,7 @@ all_host: $(TEST_LIB_NAME)
|
||||||
force:
|
force:
|
||||||
|
|
||||||
install: install-libs install-headers install-man install-ldif install_target \
|
install: install-libs install-headers install-man install-ldif install_target \
|
||||||
$(install_host) $(install_target)
|
$(install_target)
|
||||||
|
|
||||||
uninstall: uninstall-libs uninstall-headers uninstall-man
|
uninstall: uninstall-libs uninstall-headers uninstall-man
|
||||||
|
|
||||||
|
@ -628,8 +627,6 @@ install-ldif:
|
||||||
|
|
||||||
install_target:
|
install_target:
|
||||||
|
|
||||||
install_host:
|
|
||||||
|
|
||||||
uninstall-libs: $(TARGET_LIBS)
|
uninstall-libs: $(TARGET_LIBS)
|
||||||
rm -f $(bindir)/$(DLL_NAME); \
|
rm -f $(bindir)/$(DLL_NAME); \
|
||||||
for i in $^; do \
|
for i in $^; do \
|
||||||
|
|
|
@ -604,7 +604,6 @@ LD
|
||||||
DLLTOOL
|
DLLTOOL
|
||||||
AS
|
AS
|
||||||
AR
|
AR
|
||||||
install_host
|
|
||||||
all_host
|
all_host
|
||||||
INCLUDES
|
INCLUDES
|
||||||
CPP
|
CPP
|
||||||
|
@ -3402,17 +3401,14 @@ done
|
||||||
case "$with_cross_host" in
|
case "$with_cross_host" in
|
||||||
""|*cygwin*)
|
""|*cygwin*)
|
||||||
all_host="all_host"
|
all_host="all_host"
|
||||||
install_host="install_host"
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
all_host=
|
all_host=
|
||||||
install_host=
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if test -n "$ac_tool_prefix"; then
|
if test -n "$ac_tool_prefix"; then
|
||||||
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
|
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
|
||||||
set dummy ${ac_tool_prefix}ar; ac_word=$2
|
set dummy ${ac_tool_prefix}ar; ac_word=$2
|
||||||
|
|
|
@ -32,16 +32,13 @@ AC_CYGWIN_INCLUDES
|
||||||
case "$with_cross_host" in
|
case "$with_cross_host" in
|
||||||
""|*cygwin*)
|
""|*cygwin*)
|
||||||
all_host="all_host"
|
all_host="all_host"
|
||||||
install_host="install_host"
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
all_host=
|
all_host=
|
||||||
install_host=
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
AC_SUBST(all_host)
|
AC_SUBST(all_host)
|
||||||
AC_SUBST(install_host)
|
|
||||||
|
|
||||||
AC_CHECK_TOOL(AR, ar, ar)
|
AC_CHECK_TOOL(AR, ar, ar)
|
||||||
AC_CHECK_TOOL(AS, as, as)
|
AC_CHECK_TOOL(AS, as, as)
|
||||||
|
|
|
@ -82,7 +82,7 @@ override COMPILE_CC:=${filter-out -O%,$(COMPILE_CC)}
|
||||||
override CFLAGS:=${filter-out -O%,$(CFLAGS)}
|
override CFLAGS:=${filter-out -O%,$(CFLAGS)}
|
||||||
export 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:
|
||||||
.SUFFIXES: .c .cc .def .a .o .d
|
.SUFFIXES: .c .cc .def .a .o .d
|
||||||
|
@ -93,8 +93,6 @@ force:
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
|
||||||
install_host:
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-rm -f *.o *.dll *.a *.exp junk *.bak *.base *.exe testsuite/* *.d *.dat
|
-rm -f *.o *.dll *.a *.exp junk *.bak *.base *.exe testsuite/* *.d *.dat
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue