From e21a556e136973cea95852b91fe1d72c7626bc34 Mon Sep 17 00:00:00 2001 From: Noah Misch Date: Thu, 30 Nov 2017 00:57:22 -0800 Subject: Fix non-GNU makefiles for AIX make. Invoking the Makefile without an explicit target was building every possible target instead of just the "all" target. Back-patch to 9.3 (all supported versions). --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4c68950e90..c400854cd3 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,10 @@ # GNUmakefile won't exist yet, so we catch that case as well. +# AIX make defaults to building *every* target of the first rule. Start with +# a single-target, empty rule to make the other targets non-default. +all: + all check install installdirs installcheck installcheck-parallel uninstall clean distclean maintainer-clean dist distcheck world check-world install-world installcheck-world: @if [ ! -f GNUmakefile ] ; then \ echo "You need to run the 'configure' program first. See the file"; \ -- cgit v1.2.1