summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2017-11-30 00:57:22 -0800
committerNoah Misch <noah@leadboat.com>2017-11-30 00:57:22 -0800
commite21a556e136973cea95852b91fe1d72c7626bc34 (patch)
treeb35e5ba4d4a208c763558fa5a0a3c2e4ee7f29ca /Makefile
parent7ca25b7de6aefa5537e0dbe56541bc41c0464f97 (diff)
downloadpostgresql-e21a556e136973cea95852b91fe1d72c7626bc34.tar.gz
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).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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"; \